fullstackhero / dotnet-microservices-boilerplate

The Ultimate Microservices Starter Kit for .NET Developers!
https://fullstackhero.net/dotnet-microservices-boilerplate/
502 stars 120 forks source link

which project should we set as startup project while running the application and also when can we expect the proper documentation of the this repo #67

Closed devdgupta closed 1 year ago

devdgupta commented 1 year ago

I am simple using tye run --dashboard to run the application. Is this correct way of running the microservices application. from where I need to generate the token so that i can use while calling the api

iammukeshm commented 1 year ago

If you check the current Readme of the repo, you can find the instructions,

However, here is the CURL command to generate tokens, in case

curl -X POST \
  'https://localhost:7001/connect/token' \
  --header 'Accept: */*' \
  --header 'User-Agent: Thunder Client (https://www.thunderclient.com)' \
  --header 'Content-Type: application/x-www-form-urlencoded' \
  --data-urlencode 'grant_type=client_credentials' \
  --data-urlencode 'client_id=console' \
  --data-urlencode 'client_secret=858b39fd-3908-45cb-ab14-aa58220f6d69' \
  --data-urlencode 'scope=catalog:read cart:read'

Another approach by using the docker-compose is also mentioned in the Readme.md file.

The project is currently at its early stage, where I am trying to build a framework and use it in a real-world application (fluentpos). However, the project is taking good shape now. I still have to cover a couple of topics/concepts like

Once these are done, documentations will be started along with a walkthrough video.