Skip to content

prajjwalpathak/Employee-Management-System

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

98 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Employee Management System

  1. Clone the repository.
  2. Change the directory to EMS-Backend using $ cd EMS-Backend.
  3. Create a .env file using the format given below.
  4. On the terminal, run $ npm i to install all the dependencies.
  5. Now change the directory to EMS-Frontend using $ cd EMS-Frontend, and on the terminal, run $ npm i to install all the dependencies.
  6. Open SSMS and run the Database.sql script to create the database along with all the tables and stored procedures.

Note: Create your own .env file in the root directory. Here's the format:

PORT = 5000
SECRET_KEY = "Any secret key"
DB_NAME = "EMSDatabase"
DB_HOST = "localhost"
DB_USERNAME = "database username"
DB_PASSWORD = "database password"
DB_PORT = "1433"

To start the backend server

  1. Change the directory to EMS-Backend.
  2. Run $ npm run dev on the terminal to start the server on port 5000.

To start the frontend server

  1. Change the directory to EMS-Frontend.
  2. Run $ npm start on the terminal to start the server on port 3000.

About

A web app for employee management

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •