Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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

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