Giter VIP home page Giter VIP logo

afstuderenlight's Introduction

Bol.com webshop

Mika Krooswijk, 2111998

Whitney Cheung, 2113440

05-04-2020


Git

Dit project is gehost op [Github](https://github.com/mikakrooswijk/afstuderenlight. Het project kan gedownload worden, of geclonet met het volgense command:

git clone https://github.com/mikakrooswijk/afstuderenlight.git

Project starten

Om het project te starten moet Docker desktop geinstaleerd zijn op de machine. Als dit het geval is kan het volgende command in de root map van de repository worden uitgevoerd om het project op te starten.

docker-compose up

Dit bouwt de projecten en download de benodigde images. vervolgens zijn de services beschikbaar op de volgende porten:

Bestellingen localhost:5006/api/bestellingen
Webshop localhost:5007/api/bestellingen

Op deze endpoints kan een POST of GET request worden gebruikt op de volgende manier:

Webshop Service

bestelling object in json:

{
    "klant": "klantnaam"
    "product": "productnaam"
}
Method Endpoint JSON body Response type
GET /api/bestellingen - JSON array
POST /api/bestellingen bestelling 200 OK

Bestelling Service

Method Endpoint JSON body Response type
GET /api/besetllingen - JSON array

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.