jogging tracker is a RESTful API app made to track jogging times.
Run the server on development mode then go to the link bellow
http://localhost:<port>/docs
$ git clone https://github.com/IslamGoher/jogging-tracker.git
cdto the repository directory
$ cd jogging-tracker
- Install dependencies
$ npm install
- Create
.envfile, and add Environment Variables to it usingnano:
$ nano .env
- Run the server
for development environment
$ npm run dev
for production environment
$ npm run build && npm start
PORT= ${port number that server will running on}, example:3000JWT_SECRET= any string secret, example:my secretPG_USER= username of postgres server, example:postgresPG_PASSWORD= user password of postgres server, example:123456PG_HOST= domain name of postgres server, example:localhostPG_PORT= the port that postgres server running on, example:5432PG_DB= database name that wanted to connect with, example:postgres
