Skip to content

Latest commit

 

History

History
42 lines (29 loc) · 1.21 KB

File metadata and controls

42 lines (29 loc) · 1.21 KB

About

This is a quick and dirty setup for a fullstack web app. It just as a proof of concept on how to deploy a database, backend and frontend in docker containers.

How to run the project

You need to have docker installed to run this repository.

Setup an .env file for the database url like this:

DATABASE_URL="postgresql://postgres:postgres@localhost:5432/postgres?schema=public"

Run the docker containers:

docker compose up db -d
docker compose up backend -d
docker compose up frontend -d

You can check if the containers are running with:

docker ps -a

The project frontend runs on port 3000 by default :)

Tech used