Skip to content

This is a demo project for a fullstack web app containerized with docker

Notifications You must be signed in to change notification settings

KaiWelu/express-next-postgresql-docker-demo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

This is a demo project for a fullstack web app containerized with docker

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published