LuckyMadu / employee-management-frontend

Home Page:https://employee-management-portal.vercel.app/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

employee_management_diagram drawio

Frontend https://employee-management-portal.vercel.app/
Backend https://employee-management-backend.vercel.app

Getting Started

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

Configuration

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;

Development

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

Building

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.

Running

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

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!

About

https://employee-management-portal.vercel.app/


Languages

Language:TypeScript 79.3%Language:JavaScript 17.0%Language:CSS 3.7%