cefjoeii/mern-crud
À propos
Un système simple de gestion d’enregistrements utilisant MongoDB, Express.js, React.js et Node.js, avec des opérations CRUD en temps réel via Socket.io.
Développement web et applicatifProgression mesurée des étoiles
- in 24h
- 0
- in 7 days
- +1
- in 15 days
- 0
- in 1 month
- Historique en cours
Variations nettes sur des périodes qui se chevauchent, pas des totaux quotidiens. Les mesures absentes restent vides. Les étoiles indiquent l’intérêt, pas la qualité.
README.md
OriginalMERN 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.
git clone https://github.com/<your-user-name>/mern-crud.git
Back-end
Install the dependencies via the terminal.
npm install
Create a .env.local file with values like:
DB=mongodb://localhost/mern-crud
PORT=3000
CORS=1
Run the server.
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.
cd react-src
Install the dependencies required by React.
npm install
Create a .env.local file with values like:
REACT_APP_API_URL=http://localhost:3000
Run the development server for React.
npm start
View http://localhost:4200 on the browser.
To make a production build, simply run on react-src folder via the terminal.
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
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.
Explorer des projets similaires
Chargement…