Code Monkey home page Code Monkey logo

tyres-shop-rest-api's Introduction

tyres-shop-rest-api's People

Contributors

jakubstankowski avatar

Watchers

 avatar

tyres-shop-rest-api's Issues

Add new order and cart

Wee need implement some basic entities for our shop: orders

There's some requirment like a cart entity, with calculate total sum of order

Think about it required to have Cart column in database

there's example how order should like:

public int Id { get; set; } public string CustomerEmail { get; set; } public string CustomerId { get; set; } public decimal SubTotal { get; set; } public DateTimeOffset OrderDate { get; set; } = DateTimeOffset.Now; public IReadOnlyList<OrderItem> OrderItems { get; set; } public OrderStatus Status { get; set; } = OrderStatus.Pending;

Acceptance criteria:

  • add order entity with order cart, which include tyre id, price
  • important - int order entity should be totalOrder value

Add filter query handle to tyres

Acceptance criteria:

  • add filter query handler to tyres (filter by column model, price (range), and production year (also range))

Add producer model and connect to tyres

There's need to add maker model and connect to tyres with relathionship many to one

Acceptance criteria:

  • add tyres producent model (name, localization)
  • connect to tyres

Add new model order

There's need to add new model Order and connect to Tyres

Acceptance criteria:

  • add model order and connect to tyres

Get tyres only available

Theres need to get tyres only if is available

Acceptance criteria:

  • return tires which is available

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.