Baike.dev
All toolsOnline toolsAI codingTrendingOpen sourceNewsSubmit
Log in
< Back to tools
M

mern-crud

> 前端框架
Open source

A simple records system using MongoDB, Express.js, React.js, and Node.js with real-time CRUD operations using Socket.io

766 stars0 likes3 views
WebsiteGitHub

About

A simple records system using MongoDB, Express.js, React.js, and Node.js with real-time CRUD operations using Socket.io

MERN CRUD

A simple records system using MongoDB, Express.js, React.js, and Node.js with real-time Create, Read, Update, and Delete operations using Socket.io.

REST API was implemented on the back-end. Semantic UI React was used for the UI in the front-end.

Demo: https://mern-crud-mpfr.onrender.com

Support

Instructions

Fork, then download or clone the repo.

bash
git clone https://github.com//mern-crud.git

Back-end

Install the dependencies via the terminal.

bash
npm install

Create a .env.local file with values like:

env
DB=mongodb://localhost/mern-crud
PORT=3000
CORS=1

Run the server.

bash
node server

View http://localhost:3000 on the browser.

Front-end

If you want to modify the front-end, go to react-src folder via the terminal.

bash
cd react-src

Install the dependencies required by React.

bash
npm install

Create a .env.local file with values like:

env
REACT_APP_API_URL=http://localhost:3000

Run the development server for React.

bash
npm start

View http://localhost:4200 on the browser.

To make a production build, simply run on react-src folder via the terminal.

bash
npm run build

It re-creates a folder named public on the root directory. This is where the production-ready front-end of the web application resides.

Docker

bash
docker-compose up

Contribute

Feel free to help out as I may have other work/life commitments. See CONTRIBUTING.md.

To Do

  • Create
  • Read
  • Update
  • Delete
  • Real-time broadcast using Socket.io
  • Deploy in Heroku
  • Front-end validation (HTML)
  • Unit Tests

License

MERN CRUD is available under the MIT license. See the LICENSE file for more info.

Issues· 0 open

View all issuesOpen on GitHub

No open issues yet, or sync has not completed.

> Tags

JavaScriptexpressmernmongodbnode

No comments yet. Be the first to share.

> Details

PublishedAug 1, 2026
UpdatedSep 17, 2026
Category前端框架
PricingOpen source

> Related tools

R
React
用于构建用户界面的 JavaScript 库
V
Vue.js
渐进式 JavaScript 框架
N
Next.js
基于 React 的全栈 Web 框架