This repo is the back-end functionality for our DaoBook Clinic Management application.
Visit the live site here.
Client: Vite, React, ReactRouter, TailwindCSS (repo here)
Server: Node, Express, Mongo, Mongoose.
- Bcrypt for encryption.
- Cors for managing CORS requests.
- Express for route management, request serving and running middleware.
- Express-Async-Handler for easily managing async errors.
- jsonwebtoken for issuing and validating JWTs.
- Moment-Timezone for date parsing.
- MongoDB Memory Server for testing DB interaction.
- Mongoose as an ORM for validation & CRUD functionality.
- Nodemailer for emailing prescription info.
Install with npm
git clone https://github.com/danwillcoder/dao-book_backend
cd dao-book_backend
npm install
# Set up your .env file with correct values
npm run devTo run tests, run the following command
npm run test