https://bistecglobal.github.io/blockchain-certificates-issuer/
- VS code
- dotnet cli
- Node js
- Visual studio (optional)
- Azure Cosmos DB Emulator
- Clone this repository.
- Open a new terminal
- Navigate to the portals:
cd blockchain-certificates-issuer\src\portals\blockchain-frontend
- Install dependencies:
npm install
- Open folder
src\portals\blockchain-frontend
in vs code. - open a terminal in the
src\portals\blockchain-frontend
folder.
nx run blockchain-frontend:serve:development
- Read more on nx.dev and next guide
The backend is located under src\backend\BlockchainCertificatesIssuer
- Install the Cosmos DB Emulator emulator
- Rename the file
src\backend\BlockchainCertificatesIssuer\local.settings-copy.json
to "local.settings.json" - Replace following keys with active values in local.settings.json .
"RepositoryOptions:CosmosConnectionString": "AccountEndpoint=https://localhost:8081/;AccountKey=C2y6yDjf5/R+ob0N8A7Cgv30VRDJIWEHLM+4QDU5DE2nQ9nDuVTqobD4b8mGGyPMbIZnqyMsEcaGQy67XIw/Jw==",
"RepositoryOptions:DatabaseId": "CertificatesDB"
- Open the solution from Visual studio and run