prajjwalpathak / Employee-Management-System

A web app for employee management

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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


Languages

Language:JavaScript 80.9%Language:CSS 10.7%Language:TSQL 8.1%Language:HTML 0.3%