Small Full Stack Todo App using MERN Stack:
- MongoDB
- Express
- React - using Hooks
- Node.js
Have the following installed before proceeding:
- Install Node.js Link
- Have nodemon installed globally: npm i -g nodemon
- Install mongoDB Link and have service running, see docs
- Have mongo running locally
- Start mongodb terminal
$ mongo
- Create todos table in mongodb terminal
> use todos
- Enter backend folder, install node modules, start server server
$ cd backend
$ npm i
$ nodemon server
- Enter frontend folder install node modules, run npm start
$ cd frontend
$ npm i
$ npm start
-
The frontend should open in favorite browser or visit: http://localhost:3000
-
Create Todos!