A full-stack Employee Management System built with modern web technologies.
- React - UI library for building user interfaces
- Vite - Fast build tool and dev server
- Tailwind CSS - Utility-first CSS framework
- ESLint - Code linting and quality
- Node.js - JavaScript runtime environment
- Express - Web application framework
- Prisma - Modern ORM for database management
- PostgreSQL - Relational database (Neon)
- JWT - Authentication and authorization
- bcryptjs - Password hashing
- Multer - File upload handling
EmployeeManagementSystem/
βββ frontend/ # React frontend application
β βββ src/ # Source files
β βββ public/ # Static assets
β βββ package.json # Frontend dependencies
βββ backend/ # Backend application
- Node.js (v14 or higher)
- npm or yarn
- PostgreSQL database (or use a cloud provider like Neon)
- Navigate to the frontend directory:
cd frontend- Install dependencies:
npm install- Start the development server:
npm run dev- Build for production:
npm run build- Navigate to the backend directory:
cd backend- Install dependencies:
npm install-
Set up environment variables:
- Create a
.envfile in the backend directory - Add the following variables:
DATABASE_URL="your_postgresql_connection_string" JWT_SECRET="your_secret_key" PORT=3000
- Create a
-
Set up the database:
npx prisma generate
npx prisma migrate dev- (Optional) Seed the database:
node userSeed.js- Start the development server:
npm startThe backend server will run on port 3000 by default.
- Employee data management
- Modern and responsive UI
- Fast development experience with Vite
- Styled with Tailwind CSS
Contributions are welcome! Please feel free to submit a Pull Request.
This project is open source and available under the MIT License.
Govind Mehta
- GitHub: @govindmehta
β Star this repository if you find it helpful!