- GET
/-> Renders the home page - User authentication routes
- GET
/user/signup-> Renders the registration view - POST
/user/signup-> Creation of new user account - GET
/user/login-> Renders the login view - POST
/user/login-> User login - GET
/user/logout-> Logs the user out and redirects to/loginroute - GET
/user/profile-> Renders the profile page - POST
/user/profile/upload-> Uploads file to server and redirects to profile page after completion - GET
/user/verify/:id-> Verifies a user as one having a genuine email address from the link in user's inbox
- GET
(Note : These instructions are only for developers/testers for now)
- Open git bash or cmd
- Clone the repo:
git clone https://github.com/knight-18/Medical-Records
- Change to the Medical-Records directory
cd Medical-Records
- Since the operational code is in the
dev, and the current branch ismaster, checkout a tracking branch pointing to thedevof the remote repo (changes will get pulled automatically)
git checkout --track origin/dev
- Obtain the .env file and place it inside the root (Medical-Records) directory
- Open your git bash or cmd again, and cd to the Medical-Records directory. Then
npm install
After all packages have gotten installed,
nodemon src/app.js
Web app will be accessible at localhost:3000