We welcome all the female contibutors!!! EasyExit is a full stack web development project which aims to simplify the process of issuing, approval and verification of GatePass for college students.
Experience campus convenience in style with EasyExit—where swift issue approval and gatepass verification meet effortlessly! EasyExit revolutionizes the entire experience by seamlessly simplifying the complex stages involved in the issuance, approval, and meticulous verification of Gate Passes, ensuring a swift and hassle-free process for college students.
- Nodejs (v16.18.0)
- ExpressJS
- MongoDB
- React.JS
You need npm/yarn installed in your local machine in order to run this app.
npm install
npm run dev
npm install
npm start
- Make sure your machine is having internet connection.
- Fork the repository.
- Open shell (which ever your OS support) on your PC.
- Change drive to the location where you want your project to be copied.
- Clone it to your local setup by using command git clone
<repo link>
. - Once cloned, Run the following command in the root directory of the project
npm install
. - Make sure you have required enviornment variables saved in the
.env
file in the root of the project. - After the process is completed, run the command
npm start
for backend andnpm start
for frontend. - The website will be live on
localhost:4000
for backend andlocalhost:8080
for frontend.
- Download and install the latest version of Git.
- Set your username in Git.
- Set your commit email address in Git.
- Setup Nodejs
- Docs for passport-local
- Docs for passport-jwt
/
|-- src/
|-- config/
|-- db.config.js #Contains configuration for mongoDB NoSQL Database
|
|-- controllers/
|-- auth.controller.js #Contains http request controllers for user authentication
|-- student.controller.js #Contains http request controllers for student methods
|-- warden.controller.js #Contains http request controllers for warden methods
|-- guard.controller.js #Contains http request controllers for guard methods
|
|-- middlewares/
|-- student.middleware.js #Contains student Authentication middleware
|-- warden.middleware.js #Contains warden Authentication middleware
|-- guard.middleware.js #Contains guard Authentication middleware
|
|-- models/
|-- user.model.js #Contains user model
|-- form.model.js #Contains form model
|
|-- routes/
|-- user.routes.js #Contains all user routes
|-- form.routes.js #Contains all form routes
|-- public/ #Contains all the static files
|
|-- app.js
- name: String
- email : String
- passwordHash: String
- role: String
- name: String
- roll : String
- sem: String
- where: String
- purpose: String
- transport: String
- outtime: String
- data: String
- ownResponsibility: Boolean
- isUsed: Boolean
- isAccepted: Boolean
- otp: String
- rejectReason: String
Comment on the issue. In case of no activity on the issue even after 2 days, the issue will be reassigned. If you have difficulty approaching the issue, feel free to ask on our discord channel.
Whether you are working on a new feature or facing a doubt please feel free to ask us on our discord channel. We will be happy to help you out.
Please help us follow the best practice to make it easy for the reviewer as well as the contributor. We want to focus on the code quality more than on managing pull request ethics.
-
People before code: If any of the following rules are violated, the pull-requests must not be rejected. This is to create an easy and joyful onboarding process for new programmers and first-time contributors.
-
Single commit per pull request and name the commit as something meaningful, example: Adding <-your-name-> in students/mentors section.
-
Reference the issue numbers in the commit message if it resolves an open issue. Follow the PR Template Issue: < ISSUE NUMBER >
-
Provide the link to live gh-pages from your forked repository or relevant screenshot for easier review.
-
Pull Request older than 3 days with no response from the contributor shall be marked closed.
-
Do not make PR which is not related to any issues. You can create an issue and solve it once we approve them.
-
Avoid duplicate PRs, if need be comment on the older PR with the PR number of the follow-up (new PR) and close the obsolete PR yourself.
-
Be polite: Be polite to other community members.