- Fork and clone this repository.
- Run
npm install
to install all dependencies. - Use
npm run server
to spin up the local server on default port 4741.
-
Link to client-site repository: https://github.com/chardbres/smash-factor-client
-
Link to deployed client site: https://chardbres.github.io/smash-factor-client/#/
-
Link to deployed API site: https://warm-waters-93478.herokuapp.com/
This is the repository for the back-end of the Smash Factor client site, built with Expres and hosted on Herokut. Smash factor is an application built with React, for users to track their golf clubs by type, brand, loft, and stiffness, and the quality of their strokes with each.
- Express/MongoDB (JavaScript): all back-end API functionality
- Git/Github: version control
- cURL/Postman: testing of API routes independent of front-end client functionality
- Node.js/npm: necessary dependency packages for functionality
- Markdown: README and/or other documentation
- (2019-12-02): successfully deployed basic API template to heroku for testing purposes.
- (2019-12-03): created models for golf clubs and shots, and routes for clubs. Confirmed index, create, delete, and update functionality with Postman.
- (2019-12-04): completed all routes in club_routes.js.
- (2019-12-05): created a model and routes for shots related to each club, but could not properly deploy.
- Complete all functionality to add shot-tracking functionality to each club: models and routes
Verb | Action | URI Pattern |
---|---|---|
POST | Sign-up new user | /sign-up |
POST | Sign-in user | /sign-in |
PATCH | Change user password | /change-password |
DELETE | Sign-out user | /sign-out |
GET | Index list of clubs | /clubs |
GET | Read a single club | /clubs/:id |
POST | Create a new club | /clubs |
PATCH | Update a club | /clubs/:id |
DELETE | Delete a club | /clubs/:id |