This repo is the starting code for the Loncotes County Library client chapter in the NSS .NET curriculum.
- Use this template to create a new repo in your own account, and clone the new repo locally.
- Run
npm install
to get all of the project dependencies. - This client assumes that the .NET API is running locally on port
5001
for HTTPS. It is likely that your own API is using a different port. To edit your app's port, editlaunchSettings.json
in theProperties
folder of your API repo so that thehttps
profile looks like this:
"https": {
"commandName": "Project",
"dotnetRunMessages": true,
"launchBrowser": true,
"launchUrl": "swagger",
"applicationUrl": "https://localhost:5001;http://localhost:5000",
"environmentVariables": {
"ASPNETCORE_ENVIRONMENT": "Development"
}
},
- Shut down and restart your API if it is running, otherwise start the API
- Then run
npm run dev
to start the application.