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/
- Clone this repository
- install Node and npm
- run command "npm install"
- Create a MangoDB Cluster
- set up mangodb cluster for your local ip
- Save credentials in your env file accordingly .env file
DB_URI=
.env.local file
NEXT_PUBLIC_JWT_SECRET=
NEXT_PUBLIC_DB_URI=
- run command "npm start" to start server
- run command "npm run dev" before editing any react file
- Done !!
- Clone this repository
- Install Docker in your
- Create a MangoDB Cluster
- set up mangodb cluster for your local ip
- Save credentials in your env file accordingly .env file
DB_URI=
.env.local file
NEXT_PUBLIC_JWT_SECRET=
NEXT_PUBLIC_DB_URI=
- run command sudo chmod +x exec.sh
- run ./exec.sh
- Open script.js in root directory
- change the variables adminName, adminEmail, adminPassword and save
- Run command npm run script (automatically done if using docker)
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.
To learn more about Next.js, take a look at the following resources:
- Next.js Documentation - learn about Next.js features and API.
- Learn Next.js - an interactive Next.js tutorial.
You can check out the Next.js GitHub repository - your feedback and contributions are welcome!
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.