Skip to content

wwarodom/csw

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CRUD Bear (array storage)

Demo Restful API with NodeJS and Angular HTTP / Resource controller

Bear Restful Example

  • restfulBearAPI (Manipulate FormUrlEncoded)
  • restfulBearJSON (Manipulate JSON with bear*.html)

All 2 files are the same except restfulBearAPI is for API testing with PostMan and restfulBearAngular is manipulate the JSON ( Extract: res.json(bears); ) with 2 html example files:

  • /public/bearHttp.html (Angular http get/post)

  • /public/bearResource.html (Anugular Resource controller)

Installation

$ git clone https://github.com/wwarodom/csw.git 
$ cd csw  
$ npm init  
$ npm install express body-parser --save  
$ node restfulBearJSON.js 

Open Web Browser:

Go to: http://localhost/

About

Nodejs Examples in CSW 2/2559

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published