Frontend | https://employee-management-portal.vercel.app/ |
Backend | https://employee-management-backend.vercel.app |
Backend Repository for the solution: https://github.com/LuckyMadu/employee-management-backend
This is a frontend application built using Next.js. It also uses an .env file to handle environment variables.
To get started with this project, clone the repository to your local machine:
git clone https://github.com/LuckyMadu/employee-management-frontend.git
After cloning the repository, navigate to the project directory and install the dependencies:
cd employee-management-frontend
npm install
This project uses an .env file to handle environment variables. You can create an .env file in the root of the project and add your variables to it. For example:
NEXT_PUBLIC_BASE_URL=https://api.example.com
To use the variables in your code, you can use the process.env object. For example:
const apiUrl = process.env.NEXT_PUBLIC_BASE_URL;
To start the development server, run:
npm run dev
This will start the Next.js development server at http://localhost:3000. Any changes you make to the code will be automatically reloaded.
You can start editing the page by modifying src/app/page.tsx
. The page auto-updates as you edit the file
To build the production-ready version of the application, run:
npm run build
This will create a production build of the application in the .next directory.
To run the production build of the application, run:
npm start
This will start the production server at http://localhost:3000.
Home - List View | Home - Table View |
![]() |
![]() |
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!