Skip to content

TomWia9/HoneyStore-ASP.NET-CORE

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

37 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

HoneyStore - API

This repository conatins API for HoneyStore - Web application for honeys shopping.

Description

This project is an ASP.NET Core 3.1 implemented Web API for communication with HoneyStore - Angular 9 application.

HoneyStore - API enables communication with the frontend application consisting of sending and receiving data regarding orders, warehouse staff, statistics etc.

It uses Entity Framework Core to communicate with a Sql database, which contains required data tables like:

  • Clients - where informations about clients and their login data are stored
  • Addresses - where client addresses are stored
  • HoneysInTheWarehouse - where are stored informations about honeys like pirce, amount etc.
  • Orders - where informations about ordered honeys are stored

This API uses also basic authentication provided by JwtBearer and API documentation provided by Swagger.

Screenshots of API requests from Swagger

Click to expand!

Installation

Make sure you have the .NET Core 3.1 SDK installed on your machine. Then do:

git clone https://github.com/TomWia9/iWorker-ASP.NET-CORE.git
cd iWorker-ASP.NET-CORE\IWorker\
dotnet run

Configuration

This will need to be perfored before running the application for the first time

  1. You have to change ConnectionString in appsettings.json for ConnectionString that allow you to connect with database in your computer.
  2. Issue the Entity Framework command to update the database
    dotnet ef database update

License

MIT

About

API for HoneyStore - Angular web application

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages