Toll Management System to manage toll plaza and vehicle passes using bootstrap,Nodejs,MongoDb!!
To run this website run this command on command prompt on root folder.
npm start or node app.js
It will run under the url http://127.0.0.1:3000/
Email and Password for Website:
Admin :
Email :admin@cq.com
Password: admincq
User:
Email : bro@gmail.com
Password: admincq
Email :ajay@cq.com
Password: admincq
- Dynamic Data by mongoose database
- Different Views for Admin and Staff
- Manage Whole Toll Plaza
- Manage Reports and Passes
- Month wise Sales Report
- Responsive Layout
- Mobile Friendly
- Open Source
- Use mongorestore command to add database to your Local Machine.
- Run Mongo Server
- Run Server File app.js
- Run local host on port number 3000
- Node JS (Tested on v12.14.0)
- Mongoose
- Pre-requisites or Dependencies(Below)
- Mongoose
- Express
- Express-Session
- PATH
- EJS
- EJS Mate
- Bcrypt Module
- HTTP
- Express
npm install express
- EJS
npm install ejs
- Express-Session
npm install express-session
- Mongoose
npm install mongoose
- Dotenv
npm install dotenv
- Bcrypt
npm install bcrypt / npm i bcrypt
Name | Type | Required | Unique | Encrpyted |
---|---|---|---|---|
Name | String | Yes | No | No |
String | Yes | Yes | No | |
Password | String | Yes | No | Yes |
Address | String | No | No | No |
City | String | Yes | No | No |
Gender | String | Yes | No | No |
Role | String | Yes | No | No |
Phone | String | No | No | No |
Name | Type |
---|---|
Name | String |
Status | String |
CreateBy | String |
Name | Type |
---|---|
Category | String |
Registration | String |
IssueDate | Date |
Name | String |
Age | String |
Address | String |
Phone | String |
Balance | Number |
Name | Type |
---|---|
Category | String |
vehicleNumber | String |
entryDate | String |
entryTime | String |
receiptdate | Date |
trip | String |
cost | Number |
|___ Root
| |
| |--- Controller
| | |--- Admin.js
| | |--- Login.js
| | |--- Staff.js
| |
| |--- Dump (Mongoose Dump) (Dump)
| |
| |--- Middlewares
| | |--- auth.js
| |
| |--- Models
| | |--- CategorySchema.js
| | |--- PassSchema.js
| | |--- ReceiptSchema.js
| | |--- UserSchema.js
| |
| |--- Public
| | |--- css (Static)
| | |--- images (Staic)
| | |--- js (Static)
| |
| |--- Routes
| | |--- Handlers
| | | |--- Admin.ejs
| | | |--- Login.ejs
| | | |--- Staff.ejs
| | |--- index.js
| |
| |--- Server.js
| |
| |--- Services
| | |--- Admin.js
| | |--- Login.js
| | |--- Staff.js
| |
| |--- Views
| | |--- layout
| | | |--- layout.ejs
| | |
| | |--- partials
| | | |--- footbar.ejs
| | | |--- header.ejs
| | | |--- navbar.ejs
| | |
| | |--- add_pass.ejs
| | |--- add_staff.ejs
| | |--- addReceipt.ejs
| | |--- changePassword.ejs
| | |--- dashboard.ejs
| | |--- login.ejs
| | |--- manage_pass.ejs
| | |--- manage_staff.ejs
| | |--- manageReceipt.ejs
| | |--- passCount.ejs
| | |--- passSales.ejs
| | |--- passUser.ejs
| | |--- receiptCount.ejs
| | |--- receiptSales.ejs