This is a project to learn what is MERN Stack and how to get data from MongoDB.
- M -> MongoDB
- E -> Express
- R -> React
- N -> Node.js
React is a JavaScript library for building user interfaces.
You can find more about here -> https://facebook.github.io/create-react-app/docs/getting-started
This is a library that allows us to make HTTP Requests. I used this library to get my data from database.
You can find more about here -> https://www.npmjs.com/package/axios
The Promise object represents the eventual completion (or failure) of an asynchronous operation, and its resulting value.
You can find more about here -> https://www.npmjs.com/package/react-promise
Fast, unopinionated, minimalist web framework for Node.js
You can find more about here -> https://expressjs.com
MongoDB is a general purpose, document-based, distributed database built for modern application developers and for the cloud era.
You can find more about here -> https://www.mongodb.com
Mongoose provides a straight-forward, schema-based solution to model your application data.
You can find more about here -> https://mongoosejs.com
I learned how to write a MERN Stack application. And also what Express and MongoDB are. I learned how to use them and how they work.
You will need Node.js and MongoDB installed on your computer. Once you install them open ...MongoDB/Server/"Version"/bin on a command prompt and write "mongod" to start server.
In the project directory, you can run:
Runs the app and mongo-connector in the development mode.
Open http://localhost:3000 to view app in the browser.
Open http://localhost:5000 to view database in the browser.
The page will reload if you make edits.
You will also see any lint errors in the console.