https://github.com/netgusto/demo-api
Demo REST API, based on express
https://github.com/netgusto/demo-api
Last synced: 10 months ago
JSON representation
Demo REST API, based on express
- Host: GitHub
- URL: https://github.com/netgusto/demo-api
- Owner: netgusto
- Created: 2015-05-28T21:37:51.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2015-05-28T21:38:10.000Z (over 10 years ago)
- Last Synced: 2025-01-29T02:45:23.518Z (12 months ago)
- Language: JavaScript
- Size: 97.7 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Install
```
$ git clone path/to/repository
$ npm install
$ npm install -g babel // or sudo npm install -g babel
$ babel-node --harmony app.js
```
# Use
```bash
$ curl -H "Content-Type: application/json" -X POST -d '{"todo":"Acheter du lait"}' http://localhost:4000/api/todos
```
# License
MIT
# Author
@netgusto