8000 GitHub - badinnergy/mern-todo-app: An attempt to learn the MERN stack
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

badinnergy/mern-todo-app

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

mern-todo-app

An attempt to learn the MERN stack by following this tutorial: https://codingthesmartway.com/the-mern-stack-tutorial-building-a-react-crud-application-from-start-to-finish-part-1/

Usage

To run this on your machine, you will need 4 terminals

(Assuming you have all of these installed on your machines...)

  1. For react (front-end)
  2. For nodemon (back-end)
  3. For mongod
  4. For mongo

On your react terminal, make sure you are in the mern-todo-app directory and run npm start

On your nodemon terminal, go to the backend directory and run nodemon server

On your mongod terminal, go to the backend directory and run mongod --dbpath=datadb

On your mongo terminal, go to the backend directory and run mongo first and then the MongoDB Shell will appear. Run: use todos

You're all set! Just to the port that npm has assigned your frontend to and start using the app! =)

About

An attempt to learn the MERN stack

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published
0