Skip to content

Commit e3a0289

Browse files
authored
fix: remove user stories (#42)
* fix: remove user stories * fix: remove assets + add sample.env, dotenv, gitignore * fix: update package-lock * fix: add dotenv + update package-lock * feat: remove error handling * fix: remove mlab env var * fix: remove bashrc * remove express body parser + organize code * fix: remove gitconfig
1 parent bc38f78 commit e3a0289

11 files changed

+14
-401
lines changed

.bashrc

-114
This file was deleted.

.gitconfig

-2
This file was deleted.

.gitignore

+2
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
.env
2+
node_modules

.hyperdev-assets

-3
This file was deleted.

README.md

+1-13
Original file line numberDiff line numberDiff line change
@@ -1,13 +1 @@
1-
# Exercise Tracker REST API
2-
3-
#### A microservice project, part of Free Code Camp's curriculum
4-
5-
### User Stories
6-
7-
[![Run on Repl.it](https://repl.it/badge/github/freeCodeCamp/boilerplate-project-exercisetracker)](https://repl.it/github/freeCodeCamp/boilerplate-project-exercisetracker)
8-
9-
1. I can create a user by posting form data username to /api/exercise/new-user and returned will be an object with username and _id.
10-
2. I can get an array of all users by getting api/exercise/users with the same info as when creating a user.
11-
3. I can add an exercise to any user by posting form data userId(_id), description, duration, and optionally date to /api/exercise/add. If no date supplied it will use current date. Returned will be the user object with also with the exercise fields added.
12-
4. I can retrieve a full exercise log of any user by getting /api/exercise/log with a parameter of userId(_id). Return will be the user object with added array log and count (total exercise count).
13-
5. I can retrieve part of the log of any user by also passing along optional parameters of from & to or limit. (Date format yyyy-mm-dd, limit = int)
1+
# [Exercise Tracker](https://www.freecodecamp.org/learn/apis-and-microservices/apis-and-microservices-projects/exercise-tracker)

0 commit comments

Comments
 (0)