Skip to content

Latest commit

 

History

History
45 lines (31 loc) · 620 Bytes

README.md

File metadata and controls

45 lines (31 loc) · 620 Bytes

Calorify

This is the backend API for Calorify a simple application to track your calory intakes.

Dependencies

  • Node.js
  • TypeScript
  • PostgreSQL

Dev Environment

Environment variables

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

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