Skip to content

A full-stack web application built using the MERN stack (MongoDB, Express.js, React.js, Node.js). This repository demonstrates CRUD operations, user authentication, and state management. The project integrates a responsive frontend with a robust backend, featuring RESTful APIs, database interactions, and deployment readiness.

Notifications You must be signed in to change notification settings

nikpatil2123/MERN-CRUD

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 

Repository files navigation

BASIC CRUD OPERATION USING MERN STACK

Overview

Modern MERN stack application for CRUD operations, authentication, and responsive design.

🚀 Features

  • User Authentication
  • Employee CRUD Operations
  • Responsive Design
  • Real-time Updates
  • Search & Filter
  • Dark/Light Mode

🛠️ Tech Stack

  • MongoDB
  • Express.js
  • React + Vite
  • Node.js
  • Tailwind CSS

⚙️ Installation

  1. Clone repository
git clone https://github.com/nikpatil2123/MERN-CRUD.git
cd MERN-CRUD
  1. Install dependencies
# Root directory
npm install

# Client directory
cd client
npm install

🔧 Environment Setup

Create .env in server directory:

PORT=8000
MONGODB_URI=your_mongodb_connection_string
JWT_SECRET=your_secret_key

🏃‍♂️ Running the Application

# Development mode
npm run dev

# Server only
npm run start

📚 API Documentation

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

👥 Contributing

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

👤 Author

NIKHIL VIJAY PATIL

💬 Support

Email: nikpatil2123@gmail.com

About

A full-stack web application built using the MERN stack (MongoDB, Express.js, React.js, Node.js). This repository demonstrates CRUD operations, user authentication, and state management. The project integrates a responsive frontend with a robust backend, featuring RESTful APIs, database interactions, and deployment readiness.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published