Time reservation solution. User registration is not in scope, since it's assumed that user is already registered.
Requires MongoDB
Styling done with styled-components
To run this project, you will need to add the following environment variables to your .env file
- Backend :
DATABASE_URL
=mongodb://
localhost/ whatever else/appointments
- Frontend :
REACT_APP_BASE_URL
To clone the project:
git clone https://github.com/callmegin/appointments
npm install
npm install mongodb
Don't forget to set .env variables :)
To start the server
nodemon start
To start frontend
npm start
npm run seed
"dependencies": {
"body-parser": "^1.19.0",
"cors": "^2.8.5",
"dotenv": "^10.0.0",
"express": "^4.17.1",
"moment": "^2.29.1",
"mongoose": "^5.13.7",
"nodemon": "^2.0.12"
}
"dependencies": {
"@material-ui/icons": "^4.11.2",
"@reduxjs/toolkit": "^1.6.1",
"@testing-library/jest-dom": "^5.14.1",
"@testing-library/react": "^11.2.7",
"@testing-library/user-event": "^12.8.3",
"axios": "^0.21.1",
"create-react-app-rewire-styled-components": "^3.0.5",
"date-fns": "^2.23.0",
"moment": "^2.29.1",
"react": "^17.0.2",
"react-dom": "^17.0.2",
"react-redux": "^7.2.4",
"react-router": "^5.2.0",
"react-scripts": "4.0.3",
"styled-components": "^5.3.0",
"web-vitals": "^1.1.2"
},
"devDependencies": {
"babel-plugin-styled-components": "^1.13.2",
"react-app-rewired": "^2.1.8"
}