We're going to build a simple web application where people can manage products they want to sell.
We are going to build 3 projects. The FrontEnd project will be a Progressive Web Application built using Vuejs, Vue Router and Vuetify, while server side we are going to build two .NET Core 3.0 Web Applications using Visual Studio 2019: one will expose a REST API while the second will take care of Authentication, using Identity Server 4.
This project will interact with the user through a browser by dinamically constructing an HTML user interface and will talk to the server by using javascript and json.
This project will be responsible to store the data on the server and respond to the client requests through http and json.
This project will take care of the authentication part. It will issue JWT tokens that will be used by the client application to gain access to the server.
Make sure you installed the workload ".NET Core cross-platform development". You can check and install workloads by launching the Visual Studio Installer.
Please see https://www.microsoft.com/net/download/windows
We are going to split our projects into simple steps. Each step will focus on one task and will build on top of the previous step. We will start with simple projects that will become more and more complex along the way. For example, we will not focus on authentication and authorization at first. We will add it at a later step.
This folder contains different subfolder. Each subfolder represents a phase in our project. "Start" folders are the starting points of each step. "Solution" folders are the final versions of each step, given to you just in case you want to check what your project is supposed to become at the end of each lab.
What you have to do is to open a start folder corresponding to the lab you want to try (for example Lab01/Start
in order to begin) and follow the instructions you find on the readme.md
file. When you are done, feel free to compare your work with the solution provided in the Solution folder.
Lab08SolutionMarketPlaceIdentityServerIdentityServer.sln
in Visual StudioLab08SolutionMarketPlaceIdentityServer
folderdotnet run /seed
http://localhost:5002
and ensure that the project is up and runningLab08SolutionMarketPlaceMarketplaceMarketPlace.sln
in Visual StudioLab08SolutionMarketPlacespaclient
in Visual Studio Codenpm install
npm run serve