Git Product home page Git Product logo

4ss3ssm3n7's Introduction

Introduction

The project is made of an api and a front end:

  • api (can be found in the src/ directory)
  • ui (can be found in the ui/ directory)

Execution

It is recommanded to have the api running before starting the ui.

Set up

api

The api is backed by a Msql database. To setup, please modify the database connection string (located at src/SalesApi/Contexts/SalesContext.cs) to specify the appropriate "user" and "password" (e.g. server=localhost;database=sales;user=user;password=password). Thereafter:

  • Start the api to ensure database and its object are created.
  • Run the sql script to populate the "materials", "clients", "items", "orders", "orderlines" tables.

ui

With the api running, open the ui/orders.html in a browser. At first, the list of orders in the system are displayed. The following actions can be performed on each order:

  • Edit: make changes to the order, by either changing some of the existing order lines or by adding new ones.
  • Delete: removes the order from the system.

As for adding a new order, one needs to select the appropriate client id and item ids.

4ss3ssm3n7's People

Contributors

ayaovi avatar

Watchers

James Cloos avatar  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.