Technologies used:
asp dotnet core 5
angular 9
sql server
Setup:
Install nodejs from https://nodejs.org/en/download/
Install dotnet from https://dotnet.microsoft.com/download/dotnet/5.0
In the client\ssl folder there is a server.crt file which you will need to run and put it in trusted to make it run on https.
- Double click server.crt
- Click Install Certificate
- Select current user and click next
- Select place all certificates in the following store and click Browse
- Select "Trusted Root Certification and Authorities" and click ok.
- Click Next
- Click Finish
How to run:
1. create a new database on sql server
2. update appsettings.development.config and set DefaultConnection with the connection string.
3. Open terminal on the demoapp folder.
4. run -> cd api
5. run -> dotnet ef database update
6. run -> dotnet run
7. Open another terminal on the demoapp folder.
8. run -> cd client
9. run -> npm install
10. run -> ng serve
Output: