Authentication

Authentication is always an important part in web application, you will never want users to access resources without your control. Therefore, adding authentication function in our system is the first thing we should do.

There are many ways to authenticate users, find your favorite one in the following list and learn how to implement it. Or if you are not sure which one to choose, we recommend you to try Json Web Token(JWT) first. The CRUD part is also using JWT by default.

Besides, if you want to control access to your resources more precisely or based on user roles, you may also check the following content: