An open API service indexing awesome lists of open source software.

https://github.com/tpiros/easy-api


https://github.com/tpiros/easy-api

Last synced: about 2 months ago
JSON representation

Awesome Lists containing this project

README

        

# Easy API

An API that you can fire up anytime to do quick tests.

## Routes
* `/api/products` - [GET] - lists all products
* `/api/products/:id` - [GET] - list one specific prdocut
* `/api/products` - [POST] - add new product
* `/api/products/:id` - [PUT] - updates a product
* `/api/products/:id` - [DELETE] - deletes a product

## Setup
`npm i`

## Run
`npm run`

By default the API starts up on port 3000. Edit `app.js` to change this.