Shopping cart REST API.
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes.
Shopping cart API built using json-server.
There are 2 ways to run the API on your computer, natively using Node or using Docker.
Install node modules
npm install
Run development server
npm run dev
Build image
docker build -t socialnerds/shopping-cart .
Run image
docker run -p 3001:3001 -d socialnerds/shopping-cart
Shoppping cart API exposes 1 resource:
products
JSON-Server provides some additional functionallity like filtering, pagination and more. Read the JSON-Server documentation for more.
WIP
This project is licensed under the MIT License - see the LICENSE file for details.