Skip to content

Cross-platform .Net sample microservice that build with IdentityServer4 as OAuth module, mass transit and RabbitMQ for event base connections & Angular for frontend guest panel.

Notifications You must be signed in to change notification settings

jourmand/BookStore-Microservice-Angular

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

BookStore MicroService Angular

Sample .NET Core application, powered by Microsoft, based on a simplified microservices architecture.

Getting Started

Basic requirements to start projects:

  • .Net 5
  • SqlServer
  • RabbitMq
  • NodeJs

To run solution, Projects Endpoints.HttpGateway, Endpoints.Oauth & Endpoints.WebApi should be config to start together.
To do that, select properties on BookStore solution, then under Multiple startup projects, select start action for that project's name.
Before start projects, setting up connection strings in appsetting file of each project. Also, there is need to config rabbitMq port connection, username & passwords.
To view the guest angular panel, start that separately. To do that, in root of book-seller directory, run ng serve -o in command line. for login use this credentials:

Password: admin@123
Username: admin@live.com

Third-Party Sellers

For simplicity, added book to shop developed as a single API. Seller can user this API to add its new books. Access to this book should be done through client_credentials authentication flow. to use this api, use information bellow to ge new token:

grant_type: client_credentials
client_id: seller-client
client_secret: seller-secret
password: admin@123
username: admin@live.com

Technologies

  • .Net 5.0
  • Identity Server 4
  • Swagger
  • MassTransit
  • Ocelot Gateway
  • .NET Framework
  • Angular

About

Cross-platform .Net sample microservice that build with IdentityServer4 as OAuth module, mass transit and RabbitMQ for event base connections & Angular for frontend guest panel.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published