Hostel Backend is created with the help of Express.js and Node-Schedule. Basically it manage the mailing and complaint system.
- Node.js
- MongoDB
- Nodemailer for mailing
- Role base authentication system.
- Sending the mail on every second day for Snail Mail.
- Auto close complaints within 24 to 48 hours.
Create .env
file at root folder and provide environment variables
# Gmail Email and Password
EMAIL=
PASSWORD=
# JWT Secret key
SECRET_KEY=
# Website Login page
LOGIN_PAGE=
# Mongodb database string
DATABASE_STRING=
# Install dependencies for server
yarn
# Run the server on nodemon
yarn dev
# Run the Express server only
yarn start
# Server runs on http://localhost:5000