Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/clairefro/mern-todo-app-backend
backend for use with client https://github.com/clairefro/mern-todo-app
https://github.com/clairefro/mern-todo-app-backend
Last synced: 3 days ago
JSON representation
backend for use with client https://github.com/clairefro/mern-todo-app
- Host: GitHub
- URL: https://github.com/clairefro/mern-todo-app-backend
- Owner: clairefro
- Created: 2020-06-13T18:12:34.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2022-12-13T01:45:01.000Z (about 2 years ago)
- Last Synced: 2025-01-10T02:18:03.670Z (6 days ago)
- Language: JavaScript
- Homepage:
- Size: 2.65 MB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 7
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Backend for MERN stack todo app (localhost).
client: https://github.com/clairefro/mern-todo-app
## Setup
### General
`npm install``nodemon server`
### DB Setup
Get mongodb
`brew install mongodb`Create a data folder for mongodb to use
`sudo mkdir -p /data/db`Start mongo with
`mongod`in other terminal tab, create 'todos' db in mongo
```
mongo
use todos
```server should show success message once db is connected.
Serves from PORT 4000
( for my future reference: npm install express body-parser cors mongoose nodemon )