Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/kirandash/mycoffeeappserver
Server for MyCoffeeApp
https://github.com/kirandash/mycoffeeappserver
cors expressjs nedb rest restful-api
Last synced: 4 days ago
JSON representation
Server for MyCoffeeApp
- Host: GitHub
- URL: https://github.com/kirandash/mycoffeeappserver
- Owner: kirandash
- Created: 2018-01-17T11:53:33.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2018-01-17T11:53:51.000Z (almost 7 years ago)
- Last Synced: 2024-11-10T04:56:00.801Z (about 1 month ago)
- Topics: cors, expressjs, nedb, rest, restful-api
- Language: JavaScript
- Size: 1000 Bytes
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
1. RESTful API
cd .., mkdir server, cd server, npm init, or npm init -y if it hangs
npm install express-nedb-rest --save(nedb is a db and uses express js)
npm install cors --save (cors is to render our API to third party server)
node index
And then open http://localhost:3000/ which will show the coffee object but with no data. So the API is up and running. Now it must link with mycoffeeapp