GithubHelp home page GithubHelp logo

fulfilment's Introduction

Fulfilment

This is a do testing from [MyCloudFulfillment] Backend Developer(Node.js) Test

Usage

Start Service

There are 2 containers to run up. One for warehouse service and another one for database.

$ docker-compose up warehouse

Down Service

$ docker-compose down

API Access

http://localhost:9000/api/0.0.1/

API

GET   /deposit-receipts
GET   /dispatch-receipts
POST  /inventory/deposit
POST  /inventory/dispatch/price
POST  /inventory/dispatch
PUT   /inventory/dispatch
GET   /deposit-receipt/{id}/inventories
GET   /dispatch-receipt/{id}/inventories
GET   /inventory/{id}
GET   /inventory/{id}/audit
GET   /inventoryType/{id}
POST  /payment/deposit
GET   /report/profit

Tip: Check it out the payload at online API document here

Tip: Or you can use postman script from here

Database Access

POSTGRES_USER: 'api'
POSTGRES_PASSWORD: 'api'
POSTGRES_DB: 'fulfilment'
POSTGRES_HOST: localhost
POSTGRES_PORT: 5001

Unit test

$ npm run unit-test

ER Diagram

Image

Note:

  • Designed from microservices concept.
  • Currently, payment service didn't implement yet. Because I want to focus on warehouse service as following requirement. However, payment service are place in warehouse service just for temporary.

Roadmap

As my concept there are many thing todo. You can see pending features from trello board

fulfilment's People

Contributors

ekaweepoolchu avatar kwanpat avatar

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.