Rest APIs are used all over the place. If you are learning the Spring Boot Java-based framework, you will need to know how to create one. We've released a full video course that will teach you how to create a Rest API using Spring Boot.
Rest API在各处使用。 如果您正在学习基于Spring Boot Java的框架,那么您将需要知道如何创建一个框架。 我们已经发布了完整的视频课程,该课程将教您如何使用Spring Boot创建Rest API。
This course from Pair Learning will also demonstrate how to use PostgreSQL as the relational database and Spring JdbcTemplate for interacting with that. You will learn how to add authentication using JWT (JSON Web Tokens).
Pair Learning的本课程还将演示如何使用PostgreSQL作为关系数据库以及Spring JdbcTemplate与之交互。 您将学习如何使用JWT(JSON Web令牌)添加身份验证。
Here are the sections in this course:
这是本课程中的各个部分:
- Project Setup & Creating Database Objects 项目设置和创建数据库对象
- Persisting User Information on Register 在注册时保留用户信息
- Login and Hashing Password 登录和哈希密码
- JWT Authentication JWT认证
- Adding New Categories 添加新类别
- Category - Find & Update Functionality 类别-查找和更新功能
- Adding Category Transactions 添加类别交易
- Transaction - Find and Update 交易-查找和更新
- Deleting - Category & Transactions 删除-类别和交易
- CORS & Testing from Web Client Web客户端的CORS和测试
- Summary and Code 摘要和代码
You can watch the full course on the freeCodeCamp.org YouTube channel (2 hour watch).
您可以在freeCodeCamp.org YouTube频道上观看完整的课程(观看2小时)。
翻译自: https://www.freecodecamp.org/news/use-spring-boot-and-java-to-create-a-rest-api-tutorial/