This application allows us to create and save quotes which are saved to a mongo database. We can from there toggle a quotes "favorite" status by click on the star, or delete a quote entirely by click on the trashcan icon.
https://quotes-mern.herokuapp.com/
- NodeJs
- CSS3
- Javascript
- React
- Webpack
- Babel
- MongoDB
- NPM packages
NPM packages
body-parser
(Node.js body parsing middleware)express
(Web framework)mongoose
(Mongoose MongoDB ODM)bluebird
(Fully featured promise library )axios
(Promise based HTTP client)react
(JavaScript library for building user interfaces)react-dom
(React package for working with the DOM.)react-router
(Declarative routing for React)react-notification-system
(A React Notification System)
- Git Clone the repository to your local machine.
- Go to the config directory and change development environment properties.
- Navigate to the folder where the repository in Terminal.
- Run the command
npm install
to download the required dependencies. - Run webpack
webpack -w
and mongodbmongod
commands to initialize the connections and update bundle.js. - Then type
node server.js
in terminal inside the directory. - Then run below address on browser. localhost:3000