Skip to content

An automatic stopwatch run tracker that users used to track their running or jogging. Built with JavaScript, Node.js, Express.js, and PostgreSQL. Worked with JWT for authorization. Wrote the API documentation using Apiary and deployed it on render.com

Notifications You must be signed in to change notification settings

MahmoudSerag/Jogging-tracker-app

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

joggingtracker-APP

An automatic stopwatch run tracker that users used to track their running or jogging. Built with JavaScript, Node.js, Express.js, and PostgreSQL. Worked with JWT for authorization. Wrote the API documentation using Apiary and deployed it on render.com

Database && APIs

DESCRIPTION

API Documentation

Here

Local Setup

  1. Install Node.js
  2. Install postgres
  3. Install git

Clone the repository

git clone https://github.com/MahmoudSerag/jogging-tracker-app.git

  1. cd to the repository directory cd joggingtracker-APP

  2. Install dependencies npm install

  3. Create env.js file cd config/env.js

  4. Run server npm run dev

Environment Variables


exports.config = {
  serverPort: int, { example: 3000 },
  JWT_privateKey: string, { example: ' hdasjkdhksajdhska4565@#@$!' },
  JwtExpire: string, { example: '30d' },
  user: string, { example: 'serag' },
  host: string, { example: 'localhost' },
  defaultDatabase: string, { should be: 'postgres' },
  currentDatabase: string, { example: 'joggingtracker' },
  password: number, { 123456 },
  databasePort: number, { 5432 },
  cookieExpireIn: string, { '30' },
};

About

An automatic stopwatch run tracker that users used to track their running or jogging. Built with JavaScript, Node.js, Express.js, and PostgreSQL. Worked with JWT for authorization. Wrote the API documentation using Apiary and deployed it on render.com

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published