In this case study Keep Note Step 6, we will implement JWT (JSON Web Token) on top of Keep Note Step 5 Assignment. JSON Web Token (JWT) is an open standard (RFC 7519) that defines a compact and self-contained way for securely transmitting information between parties as a JSON object. This information can be verified and trusted because it is digitally signed.
In this step, we will create this application in five parts
1. AuthenticationService
2. UserService
3. NoteService
4. CategoryService
5. ReminderService
Step 1: Clone the boilerplate in a specific folder on your local machine and import the same in your eclipse STS.
Step 2: Go thru the readme.md file and implement the code for AuthenticationService and run the test cases.
Step 3: Go thru the readme.md file and implement the code for UserService and run the test cases.
Step 4: Go thru the readme.md file and implement the code for NoteService and run the test cases.
Step 5: Go thru the readme.md file and implement the code for CategoryService and run the test cases.
Step 6: Go thru the readme.md file and implement the code for ReminderService and run the test cases.
The folders and files you see in this repositories, is how it is expected to be in projects, which are submitted for automated evaluation by Hobbes
Project
|
├── NoteService // This is the microservice of Note
├── CategoryService // This is the microservice of Category
├── ReminderService // This is the microservice of Reminder
├── UserService // This is the microservice of User Profile
├── AuthenticationService // This is the microservice of User Authentication
├── .gitignore // This file contains a list of file name that are supposed to be ignored by git
-
Clone the base boilerplate in the folder assignment-solution-step6 of your local machine
git clone https://gitlab-nht.stackroute.in/stack_dotnet_keep/keepnote-step6-boilerplate.git assignment-solution-step6
-
Navigate to assignment-solution-step6 folder
cd assignment-solution-step6
-
Remove its remote or original reference
git remote rm origin
-
Create a new repo in gitlab named
assignment-solution-step6
as private repo -
Add your new repository reference as remote
git remote add origin https://gitlab-nht.stackroute.in/{{yourusername}}/aspnetcore_assignment-solution-step6
Note: {{yourusername}} should be replaced by your username from gitlab
-
Check the status of your repo
git status
-
Use the following command to update the index using the current content found in the working tree, to prepare the content staged for the next commit.
git add .
-
Commit and Push the project to git
git commit -a -m "Initial commit | or place your comments according to your need"
git push -u origin master
-
Check on the git repo online, if the files have been pushed
- We expect you to write the assignment on your own by following through the guidelines, learning plan, and the practice exercises
- The code must not be plagirized, the mentors will randomly pick the submissions and may ask you to explain the solution
- The code must be properly indented, code structure maintained as per the boilerplate and properly commented
- Follow through the problem statement shared with you