Skip to content

autumnchris/exercise-tracker-api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

84 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Exercise Tracker API

An Express.js API that creates a username and gets a list of exercises for that unique username as well as logs new exercises.

Inspired by the Exercise Tracker challenge as part of the curriculum for the Back End Development and APIs Certification on freeCodeCamp.


Built With

Demo

View project demo at https://autumnchris-exercise-tracker-api.onrender.com/api.

Instructions

After forking and cloning, navigate to the repository in your command line and install the NPM packages:

npm install

Create a .env file in the root of the repository and add the following environment variables:

MONGO_URI=<your-mongodb-uri>

Run the following script in your command line if starting the repository in development mode:

npm run dev

Run the following script in your command line if starting the repository in production mode:

npm start

Once the server is running, go to http://localhost:3000 in your browser.

Releases

No releases published

Packages

No packages published