This project is a web application that facilitates authentication, leave requests, CRUD operations for employees for a particular small/medium organization, handled by an authoritative HR role in the same organization.
Additional modules used: axios, bcrypt, cors, dotenv, jsonwebtoken, mongoose
- Clone this project and install all the dependancies using the
npm i
ornpm install
command. - Create a config.env file in the root directory and specify PORT, MONGO_URI and JWT_TOKEN.
JWT_TOKEN - 50 char alpha numeric
PORT - 4000 (backend)
if changed PORT is not 4000, make appropriate changes to api request calls, in client files. - Start the project with
npm start
command. Open http://localhost:3000 to view it in the browser.