https://github.com/autumnchris/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.
https://github.com/autumnchris/exercise-tracker-api
api css3 ejs ejs-express exercise-tracker exercise-tracker-api exercise-tracker-challenge express expressjs freecodecamp javascript momentjs mongodb mongoose mongoosejs nodejs
Last synced: 3 months ago
JSON representation
An Express.js API that creates a username and gets a list of exercises for that unique username as well as logs new exercises.
- Host: GitHub
- URL: https://github.com/autumnchris/exercise-tracker-api
- Owner: autumnchris
- Created: 2018-10-12T04:23:44.000Z (over 7 years ago)
- Default Branch: main
- Last Pushed: 2025-03-21T16:53:56.000Z (over 1 year ago)
- Last Synced: 2025-04-10T14:17:02.759Z (about 1 year ago)
- Topics: api, css3, ejs, ejs-express, exercise-tracker, exercise-tracker-api, exercise-tracker-challenge, express, expressjs, freecodecamp, javascript, momentjs, mongodb, mongoose, mongoosejs, nodejs
- Language: EJS
- Homepage: https://autumnchris-exercise-tracker-api.onrender.com/api
- Size: 329 KB
- Stars: 0
- Watchers: 1
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# 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](https://www.freecodecamp.org/learn/apis-and-microservices/apis-and-microservices-projects/exercise-tracker) as part of the curriculum for the [Back End Development and APIs Certification](https://www.freecodecamp.org/learn/back-end-development-and-apis) on [freeCodeCamp](https://www.freecodecamp.org).
---
## Built With
* [Express.js](https://expressjs.com)
* [Node.js](https://nodejs.org/en)
* [Mongoose](https://mongoosejs.com)
* [MongoDB](https://www.mongodb.com)
* [EJS](https://ejs.co)
* HTML5
* CSS3
* JavaScript
* Vanilla JS
* [Moment.js](https://momentjs.com)
* [validator.js](https://github.com/validatorjs/validator.js)
* [dotenv](https://github.com/motdotla/dotenv)
* [Normalize.css](https://necolas.github.io/normalize.css)
* [Google Fonts](https://fonts.google.com)
* [FontAwesome](https://fontawesome.com)
* [nodemon](https://nodemon.io)
## Demo
View project demo at [https://autumnchris-exercise-tracker-api.onrender.com/api](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=
```
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.