kolynzb / node-shop-api-trial

Simple pure node api to demostrate how an api can be made with pure node

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Simple Pure Node API

  • This is a very simplistic api built in node to build an understanding around how http library works

Files included

Intructions

  • To start application run with nodemon
yarn dev
#or
npm dev
  • To start application
yarn start
#or
npm start

API Docs

  • To get home Page localhost:8000/users

  • To get users localhost:8000/users

  • To get product localhost:8000/products

  • To get product by id localhost:8000/products?id=0

  • Next Tutorial

About

Simple pure node api to demostrate how an api can be made with pure node


Languages

Language:JavaScript 100.0%