This repository contains simple RESTfull API written in ES6 on node.js with hapi.js framework.
I am using it during my HTTP and RESTfull APIs classes, probably you're here because of that 😄 Feel free to use it and play with as you'd like 🚂
nodejs
>= 8.xnpm
>= 5.x oryarn
>= 1.3.x
- Install dependencies: run
npm install
oryarn install
- Run
npm start
- Server should be available under
localhost:5050
by default.
All endpoints are documented in Swagger, lunch your server and visit http://localhost:5050/api/documentation
No problem, try json-server, npm package which will setup you local fake REST API within a minute without any code (rly 🐼).