This application is designed with functionality that would make virtual baseball bat shopping much simpler! Customers can sign up for an account, place orders, view their order history, and specific location inventory. It also comes with an additional interface for managing your business. Managers can view and replenish location inventory, add new products, and view the order history of specific locations. This application used Entity Framework Core to connect to a PostgreSQL database, ASP.NET Core API to create a RESTful API, and HTML, CSS, BootstrapJS, and Javascript to create the front end.
- C#
- PostgreSQL DB
- ElephantSQL
- EF Core
- ASP.NET Core
- HTML
- CSS
- JS
- HTTPClient
- BootstrapJS
- ASP.NET MVC
- Xunit
- Serilog
- The customers and managers are able to sign up for an account
- The customers are able to view their order history
- The customers are able to view location inventory
- The customers know how much of a product is remaining
- The managers are able to view a location’s order history
- The manager are able to replenish inventory
- The managera are able to add a new product to a location’s inventory
- Order histories can be sorted by date or cost
- Install .NET Core SDK
- Install EF Core
- Install PostgreSQL
- Create Elephant SQL Server
Git clone https://github.com/201019-UiPath/TejadaAnthony-P1.git
- Create appsettings.json and set PostgreSQL credentials
- After installing the necessary tech stack and setting up the server credentials in your appsetting.json run the following in the StoreApp DB project directory from the command line:
Dotnet ef dbcontext scaffold -c <connection-string-in-quotes> Npgsql.EntityFrameworkCore.PostgreSQL --startup-project <path to project folder> --force --output-dir Entities
- To start using run StoreApp project first which is the API. Then run StoreAppWeb project.
- Navigate to your localhost:/home/login