This repo for storefront backend udacity project.
npm install
- ENV
- POSTGRES_HOST
- POSTGRES_DB
- POSTGRES_USER
- POSTGRES_PASSWORD
- AUTH_SECRET
- SALT_ROUNDS
- PEPPER
docker compose up -d
npm run testDB
npm run test
Run npm start
to start the backend API
db-migrate up
then
npm run watch
The backend API will run on port 3000
and postgres database will run on port 5432