Skip to content

tigi44/NodeJS_MockJsonAPI_server

Repository files navigation

Image Image

NodeJS_MockJsonAPI_server

Node.js CI

Install & Start

$ npm run test
  • ENV development (default PORT : 13000)
$ npm ci
$ npm run dev
or
$ npm ci
$ npm run dev-start
  • ENV production (default PORT : 80)
$ npm ci
$ npm run start
or
$ npm run deploy

RESTful API

  • Content-Type : application/json
  • GET : Read
  • DELETE : Delete
  • POST : Create , Read
  • PUT : Update, Create

Image