Modern MERN stack application for CRUD operations, authentication, and responsive design.
- User Authentication
- Employee CRUD Operations
- Responsive Design
- Real-time Updates
- Search & Filter
- Dark/Light Mode
- MongoDB
- Express.js
- React + Vite
- Node.js
- Tailwind CSS
- Clone repository
git clone https://github.com/nikpatil2123/MERN-CRUD.git
cd MERN-CRUD
- Install dependencies
# Root directory
npm install
# Client directory
cd client
npm install
Create .env in server directory:
PORT=8000
MONGODB_URI=your_mongodb_connection_string
JWT_SECRET=your_secret_key
# Development mode
npm run dev
# Server only
npm run start
Auth Endpoints
POST /api/auth/register - Register new user
POST /api/auth/login - User login
Employee Endpoints
GET /api/employees - Fetch all employees
POST /api/employees - Create employee
PUT /api/employees/:id - Update employee
DELETE /api/employees/:id - Delete employee
1.Fork Repository 2.Create feature branch
git checkout -b feature/YourFeature
3.Commit Chnages
git commit -m 'Add YourFeature'
4.Push to Branch
git push origin feature/YourFeature
5.Open Pull Request
NIKHIL VIJAY PATIL
Email: nikpatil2123@gmail.com