The code structure and conventions inspired by tutorialedge.net
- Docker (required)
- VSCode with devContainer extension installed (optional, recommended)
- Optional - If you wish to use VSCode devContainer, install the plugin first
- Optional - Re-open the project inside a devcontainer (if you open the project in VSCode with devcontainer plugin installed, you should see a pop-up asking you to open the project inside a devcontainer)
- Create a .env file at the root level of the project with the following environment variables.
POSTGRES_HOST=db
POSTGRES_PORT=5432
POSTGRES_DB=mypostgresdb
POSTGRES_USER=mypostgresuser
POSTGRES_PASSWORD=mypostgrespassword
SSL_MODE=disable
AUTH_SECRET=yourauthsecretkey
- You should be able to run the server with the following command
docker-compose up --build