Giter VIP home page Giter VIP logo

motostock-api's Introduction

Hey Folks ๐Ÿ‘‹, I'm Hamdan!

Final year Computer Science student at Universitas Pembangunan Nasional "Veteran" Jawa Timur.
A Frontend Engineer who have interests on Backend.

๐Ÿ› ๏ธ My Wrenches and Hammers
TypeScript, Golang;
Still using PHP; and
Learns dart, swift and anything that I interested in.

๐Ÿ“ซ Reach me up

Gmail Badge Linkedin Badge Twitter Badge

motostock-api's People

Contributors

thisham avatar

Watchers

 avatar

motostock-api's Issues

Create a feature for transaction input

Overview

image

The transaction feature was used as input the stock of vehicles. The feature will affect these endpoints:

  • POST /transaction/in/motor
  • POST /transaction/in/car

Structure

Motor

image

Input:

  • Production Year : integer
  • Color : string
  • Price : float
  • Machine : string
  • Suspension Type : string
  • Transmission Type : string

Output (expected):

  • id : string // use uuid v4

Car

image

Input:

  • Production Year : integer
  • Color : string
  • Price : float
  • Machine : string
  • Passenger Capacity : integer
  • Type : string

Output (expected):

  • id : string // use uuid v4

Create vehicle selling report feature

Overview

Create a report which contains selling total, selling revenue. These endpoint will be affected:

  • GET /report

Expectation

Output:

{
  "sold": 0000,
  "total_revenue": 0000.00,
  "car_selling": {
    "sold": 0000,
    "revenue": 0000.00
  },
  "motor_selling": {
    "sold": 0000,
    "revenue": 0000.00
  }
}

Create stock check

Overview

After input flow in transaction, the stock must be able to be checked. This issue will affect these endpoints:

  • GET /stock
    This endpoint will be used to count and present the current value of car and motor. Expected output:

    • Motor : integer
    • Car : integer
  • GET /stock/motor
    This endpoint simply view all data of the stock of motor. Expected output:

    • Data : []Motor
  • GET /stock/car
    This endpoint simply view all data of the stock of car. Expected output:

    • Data : []Car
  • GET /stock/:id
    This endpoint simply show the selected data of a vehicle. Expected output:

    • Data : Car / Motor

Create a proper documentation of the whole project

Overview

The ideal project must has an proper documentation, such as:

  • API Spec;
  • Basic specification; and
  • Installation guides.

Even on going project is on going, at least, a minimum API Spec must be created.

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.