Skip to content

Employers can keep a check on their employees’ work done every particular day. • Graphical representation of each employees’ work with pie charts (daily) and bar graph (weekly).

License

Notifications You must be signed in to change notification settings

aryaraj132/EmployeeManagementNextApp

Repository files navigation

Employee Management App

An app where employers can keep a check on their employees’ work done every particular day. Graphical representation of each employees’ work with pie charts (daily) and bar graph (weekly).

Live @ https://employee-manage.heyaryan.in/

Build Process

Using npm only

  1. Clone this repository
  2. install Node and npm
  3. run command "npm install"
  4. Create a MangoDB Cluster
  5. set up mangodb cluster for your local ip
  6. Save credentials in your env file accordingly .env file
DB_URI=

.env.local file

NEXT_PUBLIC_JWT_SECRET=
NEXT_PUBLIC_DB_URI=
  1. run command "npm start" to start server
  2. run command "npm run dev" before editing any react file
  3. Done !!

Using Docker

  1. Clone this repository
  2. Install Docker in your
  3. Create a MangoDB Cluster
  4. set up mangodb cluster for your local ip
  5. Save credentials in your env file accordingly .env file
DB_URI=

.env.local file

NEXT_PUBLIC_JWT_SECRET=
NEXT_PUBLIC_DB_URI=
  1. run command sudo chmod +x exec.sh
  2. run ./exec.sh

Setup Admin Account

  1. Open script.js in root directory
  2. change the variables adminName, adminEmail, adminPassword and save
  3. Run command npm run script (automatically done if using docker)

Getting Started

First, run the development server:

npm run dev
# or
yarn dev

Open http://localhost:3000 with your browser to see the result.

You can start editing the page by modifying pages/index.js. The page auto-updates as you edit the file.

API routes can be accessed on http://localhost:3000/api/. These endpoints can be edited in pages/api/.

The pages/api directory is mapped to /api/*. Files in this directory are treated as API routes instead of React pages.

Learn More

To learn more about Next.js, take a look at the following resources:

You can check out the Next.js GitHub repository - your feedback and contributions are welcome!

Deploy on Vercel

The easiest way to deploy your Next.js app is to use the Vercel Platform from the creators of Next.js.

Check out our Next.js deployment documentation for more details.

About

Employers can keep a check on their employees’ work done every particular day. • Graphical representation of each employees’ work with pie charts (daily) and bar graph (weekly).

Topics

Resources

License

Stars

Watchers

Forks

Languages