Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MERN CRUD

A basic MERN CRUD app with an Express/MongoDB backend and a Vite React frontend.

Setup

  1. Install dependencies:
npm run setup
  1. Create backend/.env:
PORT=5000
MONGO_URI=mongodb://127.0.0.1:27017/mern_crud
CLIENT_URL=http://localhost:5173
  1. Start the app:
npm run dev

Backend: http://localhost:5000

Frontend: http://localhost:5173

API

  • GET /api/items
  • GET /api/items/:id
  • POST /api/items
  • PUT /api/items/:id
  • DELETE /api/items/:id

About

A full-stack CRUD application built using the MERN stack (MongoDB, Express.js, React.js, and Node.js). The project demonstrates RESTful API development, database integration, state management, responsive UI design, and complete Create, Read, Update, and Delete functionality.

Resources

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages