Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit50c9938

Browse files
authored
Update readMe.md
1 parent831541f commit50c9938

File tree

1 file changed

+23
-1
lines changed

1 file changed

+23
-1
lines changed

‎readMe.md

Lines changed: 23 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,26 @@
1-
#Build Golang RESTful API with Gorm, Gin and Postgres
1+
#Forgot/Reset Passwords in Golang with SMTP HTML Email
2+
3+
![Forgot/Reset Passwords in Golang with SMTP HTML Email](https://codevoweb.com/wp-content/uploads/2022/08/Forgot-Reset-Passwords-in-Golang-with-SMTP-HTML-Email.webp)
4+
5+
This article will teach you how to add a secure forgot/reset password feature to a Golang RESTful API application. We will generate the HTML Email templates with the standard Golang template package and send them via SMTP with the Gomail package.
6+
7+
##Topics Covered
8+
9+
- Forgot Password and Password Reset Flow
10+
- Create the Database Models with GORM
11+
- Create an SMTP Account
12+
- Setup the HTML Templates
13+
- Add the Email Template CSS
14+
- Add the Password Reset HTML Template
15+
- Encoding/Decoding the Password Reset Code
16+
- Create a Utility Function to Send the Emails
17+
- Add the Forgot Password Route Handler
18+
- Add the Reset Password Route Handler
19+
- Add the API Routes to the Gin Middleware Stack
20+
21+
Read the entire article here:[https://codevoweb.com/forgot-reset-passwords-in-golang-with-html-email](https://codevoweb.com/forgot-reset-passwords-in-golang-with-html-email)
22+
23+
Articles in this series:
224

325
###1. How to Setup Golang GORM RESTful API Project with Postgres
426

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp