dragonrossa / api

API-s in ExpressJS

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

API-s in ExpressJS

Check routes on localhost:3000 with Nodemon

APIs

http://localhost:3000/kitchen

http://localhost:3000/users

http://localhost:3000/phones

Client

http://localhost:5000/

http://localhost:5000/client/iphone

http://localhost:5000/client/kitchen

http://localhost:5000/client/users

or

http://localhost:5000/

http://localhost:5000/iphone

http://localhost:5000/kitchen

http://localhost:5000/users

When using serve

For example

GET, POST, PUT, DELETE

(download)

/routes/kitchen

POST (to get picture of this kitchen)

http://localhost:3000/kitchen/1

GET (info about kitchen)

http://localhost:3000/kitchen/14

DELETE (picture of some kitchen)

http://localhost:3000/kitchen/5

GET (download kitchens picture)

http://localhost:3000/kitchen/download/4

Tested with Postman

About

API-s in ExpressJS


Languages

Language:JavaScript 71.4%Language:HTML 16.2%Language:TSQL 11.8%Language:CSS 0.6%