Giter Club home page Giter Club logo

onlinestore's Introduction

Online Store API

Introduction This project is a C# ASP.NET Code API for an online store. It utilizes Entity Framework and middleware to provide functionality for browsing products, managing a shopping cart, and checking out orders.

Models Product: A product consists of a name, description, price, and a URL for a product image. Cart: A shopping cart contains a list of products and the total price. Order: An order includes a list of products, a total price, and a delivery address.

Endpoints GET /api/products: Retrieves a list of products. GET /api/products/{id}: Retrieves a single product by its ID. POST /api/cart: Adds a product to the shopping cart. GET /api/cart: Retrieves the customer's shopping cart. POST /api/checkout: Processes the checkout for a customer and creates an order.

Middleware Authentication: Requires user authentication to use the API (utilizes Microsoft Entra Id). Logging: Logs all requests and responses.

"TEST webhook"

onlinestore's People

Contributors

hanne-sandbakken avatar

Watchers

 avatar

Forkers

rune-pune

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.