A simple records system using MongoDB Atlas, Express.js, React.js, and Node.js with real-time Create, Read, Update, and Delete operations. REST API was implemented on the back-end. Semantic React and Bootstrap.
Fork, then download or clone the repo.
git clone https://github.com/sdelafuente2013/MERN-CRUD.git
For the back-end, install the dependencies once via the terminal.
npm install
Run the main server. It listens on port 9000.
npm start
View it on the browser.
If you want to configure the front-end, go to react-src folder via the terminal.
cd react
Install the dependencies required by React once.
npm install
Run the development server for React. It listens on port 3000.
npm start
Regarding the Database you don't need to do anything.
The .env is public (on purpose) as it contains the credentials to connect to MongoDB Atlas. So you don't have to create a DB or configure it.
- Create
- Read
- Update
- Delete