Skip to content

ArPhil/wtmbjsa

This branch is 12 commits behind dashersw/wtmbjsa:master.

Folders and files

NameName
Last commit message
Last commit date

Latest commit

b2843a6 · Mar 20, 2018

History

25 Commits
Mar 20, 2018
Dec 1, 2017
Mar 20, 2018
Dec 1, 2017
Nov 1, 2017
Nov 2, 2017
Nov 2, 2017
Dec 1, 2017
Nov 30, 2017
Nov 30, 2017
Dec 1, 2017
Mar 20, 2018
Mar 20, 2018

Repository files navigation

REST API example with Express.js

Clone the repository:

git clone git@github.com:dashersw/wtmbjs-4.git

Enter the project folder and install dependencies:

cd wtmbjs-4
npm install

Run the project:

node index.js

Final step

Check out the final branch to see the whole project in action.

git checkout final

And run the code again.

You can visit the following URLs;

URL Description
http://localhost:3000 Index page
http://localhost:3000/person People JSON
http://localhost:3000/person/all People list
http://localhost:3000/person/:personId Person detail page with personId

http://localhost:3000/person also supports POST and DELETE actions to create new records or delete given records.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 74.0%
  • HTML 26.0%