Skip to content
This repository has been archived by the owner on May 8, 2019. It is now read-only.

Mock API for create app Little Heureka

License

Notifications You must be signed in to change notification settings

kohlicekjan/little-heureka-mock-api

Repository files navigation

little-heureka-mock-api

This is an Mock API for rapid for create app Little Heureka.

Quick Start

To start it needs to have Node.js and npm.

Clone the little-heureka-mock-api repository using git:

$ git clone https://github.com/kohlicekjan/little-heureka-mock-api.git
$ cd little-heureka-mock-api

Install dependencies:

$ npm install

Start the server:

$ npm start

Server running on [http://localhost:3003].

To regenerate data for for Mock API:

$ npm run regenerate 

API Reference

This API is based on the original API.

GET /categories/
GET /category/{categoryId}/ 
GET /products/{categoryId}/{offset}/{limit}/
GET /products/{categoryId}/ 
GET /offers/{categoryId}/count/
GET /product/{productId}/
GET /offers/{productId}/{offset}/{limit}/
GET /offers/{productId}/
GET /offer/{offerId}/

About

Mock API for create app Little Heureka

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published