Giter VIP home page Giter VIP logo

stellarcoffee's People

Contributors

kompiangg avatar ngakanwidyasprana avatar nmluci avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar

stellarcoffee's Issues

[Ordering] get all orders

As an engineer, I want to be able to retrieve all or some order based the criteria I give, so I can get a precise list of what to get

[Platform] listen to HTTP Request

as a backend engineer, I want to listen HTTP Request so I can process the request

Acceptance Criteria:

  • has a persistent route
  • being able to listen to HTTP Request

[Inventory] Inventory Class

As an engineer, I want Inventory to have its own separated module, and some class based on the type of object it holds, so I can access anything related to Inventory from its own class

Acceptance Criteria:

  • being a separated module
  • accessible from the rest of the project
  • being a precise and separate object

[Customer] Customer Class

As an engineer, I want to have a separate class for Customer and Member, so each type of object can only do certain stuff

[Customer] update member's data

As a engineer, I want to update member's data, so I don't need to delete and insert a new data when a member's data changed

[Platform] Success Response

As an engineer, I want to give a consistent payload on Success Response, so a consistent payload can be sent on each request

[Platform] Failed Response

As an engineer, I want to give a consistent payload on Failed Response, so a consistent payload can be sent on each request

[Migrate DB] Fix the right DB migration order

When i want to run the backend, errors appear

sqlalchemy.exc.OperationalError: (pymysql.err.OperationalError) (1005, 'Can\'t create table `stellarCoffee`.`Events` (errno: 150 "Foreign key constraint is incorrectly formed")')   
CREATE TABLE Events (
        id INTEGER NOT NULL AUTO_INCREMENT,
        name TEXT,
        item_name TEXT,
        date_end DATE NOT NULL,
        amount INTEGER NOT NULL,
        amount_type TEXT NOT NULL,
        PRIMARY KEY (id),
        UNIQUE (id),
        UNIQUE (name),
        FOREIGN KEY(item_name) REFERENCES Inventory (name) ON DELETE SET NULL ON UPDATE CASCADE
)

I think that error tells us to create the right order for migrating DB. I don't know how to create the right order, sad :(

[Ordering] Database Connection

As an engineer, I want to be able to do an operation to database, and do all action related to the database through a function, so other module don't need to directly access the database

[Ordering] cancel order

As an engineer, I want to be able to cancel an order, so I know which order is cancelled, and which order is done

[Ordering] make new order

As an engineer, I want to be able to insert a new order, so I don't need to send the data to each module

[Ordering] Order Class

As an engineer, I want Ordering has its separate class, so all thing related to it, can only be done through its instance alone

[Inventory] Database Connection

As an engineer, I want to have a way to interact the database indirectly, so all of the action to the database can be checked before executed

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.