Skip to content

taalhaataahir0102/Campus-Access-Management-System

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 

Repository files navigation

Campus-Access-Management-System

This is a complete client server web application for a university management to keep record of their campus access system.
This application is build using node js, express js, mysql, react, css etc.

Modules

Download all the node modules inside client and server directories
The modules can be download using the command "npm i modulename".
The server modules are mysql, cors, express,bcrypt, dotenv and jsonwebtoken. Download these modules inside the server directory.
For client modules type "npm i react-scripts" inside the client directory.

dotenv file

Create .env file inside the server directory. This file will contain the sensitive information about the database which you do not want others to know. Add password, host, user and database inside it.

Database

Create the database tables using "node createtables.js" command inside the server directory.
Manually add admins record inside your user table. Keep the occupation to admin and hash the password using the bcrypt library.
The adding.js file will add some random student, faculty members and staff employs to the database.

Run the application

Run the server using the command "node server.js" inside server directory.
Run the client side using the command "npm start" inside client directory. You'll be redirected to the signup page.

Main functionalities

The clients i.e., students,faculty or staff members can view their access status, can request visitor access, vehicle access etc.
Admin can block and allow the access of all other actors.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published