An Employee Management System application built with React and Next.js to help businesses in keeping track of employee data.
To get the project up and running on your local machine, follow these steps:
-
Clone the repository:
git clone https://github.com/BorhanSaflo/Employee-Management-System.git cd Employee-Management-System
-
Install dependencies:
npm install
-
Set up environment variables:
Create a
.env
file in the root directory and add the necessary environment variables:# Prisma DATABASE_URL= # Next Auth NEXTAUTH_SECRET= NEXTAUTH_URL= # Next Auth Google Provider GOOGLE_CLIENT_ID= GOOGLE_CLIENT_SECRET=
-
Run the development server:
npm run dev
Open http://localhost:3000 to view it in the browser. The page will reload if you make edits.
Here are some of the commands you can use in this project:
npm run dev
: Starts the development server.npm run build
: Builds the application for production usage.npm run start
: Runs the built app in production mode.npm run lint
: Runs ESLint to check for lint errors.
Distributed under the GPL-3.0 License. See LICENSE
for more information.