Gym Play Node - https://github.com/KevFan/gymPlaySolution_Node
The project uses the glitch template 1 as a base, and attempts to convert the play web assignment solution to node.
There are several differences between the two but the overall functionality should remain the same.
To run the project locally, clone or download the project. Unzip the project, and browse to project root directory using a terminal. Enter the npm install
command to install the project dependencies.
Following the dependency installation, enter the npm start
which would host the project on http://localhost:4000/
After hosting the project locally, users can signup or login using the preloaded accounts provided:
User Accounts:
email: [email protected]
password: secret
email: [email protected]
password: secret
There is also a preloaded trainer account, which serves as an admin that can delete users and add comments to user assessments:
Trainer Account:
email: [email protected]
password: secret
Alternative for the deployed version, you can visit https://gym-node.glitch.me/
The above user and trainer accounts should also work for the deployed version, assuming none of the preloaded user accounts has been deleted.
- Session information
- Assessments - sorted by date
- Member - registration
- Member - add assessments
- Member - delete assessments
- Member - update account details
- Trainer - update assessment comment
- Trainer - delete member
- There is no sign up available for a Trainer. Trainers must be preloaded from the trainer-store.json
- Node.js
- Express - Node.js Web Framework
- Glitch - Deployment platform
- Lowdb - JSon database for persistence
- WebStorm - JavaScript IDE
Kevin Fan (KevFan)
12th July 2017