Thanks to visit codestin.com
Credit goes to github.com

Skip to content

benrbryant/tracker-api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

51 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Tracker API

API powering Tracker Client applications.

Getting Started

If you want to work on this project, you need to run through a few setup steps. Although I will only highlight them here, you can message Ben Bryant for more information.

  1. Fork and clone the project from Github
  2. Install the project dependencies using npm or yarn
  3. Create a .env file in your root directory, and copy the contents from .env.template into that file
  4. Next, you will replace the environment variable values with real values. Part of this will include you having a MongoDB Atlas account. Then you will be able to:
    • create a new database for this project
    • locate your MongoDB connection string
    • locate your MongoDB user and password
  5. For BASE_URL and PORT, just make sure they match. In development, they can be http://localhost:8080 and 8080 respectively.
  6. For AUTH_SECRET, ACCESS_TOKEN_SECRET, and REFRESH_TOKEN_SECRET, this can be any string, but make sure it is at least 32 bytes long for security purposes.
  7. (Optional) Lastly, have Postman downloaded, and import the project collection located at data/Express-Testing-All.postman_collection.json

At this point you should be up and running for development! All contributions are welcome.

Scripts

  • npm start runs the Express application
  • npm run dev runs the development server
  • npm run build compiles the project using Babel
  • npm run test runs the Jest test runner

Resources

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published