To start the server locally:
npm run dev
# or
yarn dev
Build the backend into js files and put them into the dist directory
npm run build
# or
yarn build
This will run the js files in dist
npm start
# or
yarn start
To run docker image:
- Install docker desktop and run
- In your terminal run:
docker build .
- Then run:
docker-compose up
In the .env.local file:
DB_USER=<postgres user>
DB_PASSWORD=<password>
DB_NAME=planout