This is the backend API for Calorify a simple application to track your calory intakes.
- Node.js
- TypeScript
- PostgreSQL
Create a .env
file in your frontend root directly and include this environment variables.
PORT=
DATABASE_URL=
DB_USER=
DB_HOST=
DB_PASSWORD=
DB_NAME=
DB_PORT=
Run the app in development mode. (Make sure your PostgreSQL instance is up and running)
yarn dev
Builds the app for production
yarn build
Run the application in production
yarn start