https://github.com/eswat2/faux-base
a simple notes server to support the Github Note Taker app from the egghead.io course...
https://github.com/eswat2/faux-base
Last synced: 3 months ago
JSON representation
a simple notes server to support the Github Note Taker app from the egghead.io course...
- Host: GitHub
- URL: https://github.com/eswat2/faux-base
- Owner: eswat2
- License: mit
- Created: 2016-07-25T21:25:04.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2016-07-26T21:40:51.000Z (almost 9 years ago)
- Last Synced: 2025-01-12T22:43:43.988Z (5 months ago)
- Language: JavaScript
- Size: 16.6 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# faux-base
[](https://dependencyci.com/github/eswat2/faux-base)
[](https://faux-base.herokuapp.com)a simple notes server to support the Github Note Taker app from the egghead.io course...
```
npm install -g foreman
npm install -g nodemonnpm install
sh demon
```### Features:
- simple notes api built on [**mongoose**](http://mongoosejs.com/)
- api supports CORS
- notes are persisted to [**mlab**](https://mlab.com/)
- code to enforce SSL, leveraging heroku's certs
- default response is JSON describing the server api### Deployed:
the server has been deployed and is running here: [faux-base](https://faux-base.herokuapp.com/)
```json
{
"what": "a simple notes server for the Github Note Taker app built in an egghead.io class",
"why": "wanted a simple solution that was not tied to firebase",
"who": "Richard Hess (aka. eswat2)",
"repo": "https://github.com/eswat2/faux-base",
"api": [
{
"url": "/keys",
"verb": "GET",
"what": "list of keys"
},
{
"url": "/notes",
"verb": "POST",
"what": "creates/updates a new note container"
},
{
"url": "/notes/:key",
"verb": "GET",
"what": "fetch the note container for this key"
}
]
}
```### Reference:
- [foreman](https://www.npmjs.com/package/foreman)
- [nodemon](https://www.npmjs.com/package/nodemon)