forked from burakorkmez/mern-advanced-auth
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
46e235c
commit 2fc15a0
Showing
2 changed files
with
59 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,59 @@ | ||
<h1 align="center">Advanced Auth Tutorial π </h1> | ||
|
||
![Demo App](/frontend/public/screenshot-for-readme.png) | ||
|
||
[Video Tutorial on Youtube](https://youtu.be/0Kzd4k1YuCA) | ||
|
||
About This Course: | ||
|
||
- π§ Backend Setup | ||
- ποΈ Database Setup | ||
- π Signup Endpoint | ||
- π§ Sending Verify Account Email | ||
- π Verify Email Endpoint | ||
- π Building a Welcome Email Template | ||
- πͺ Logout Endpoint | ||
- π Login Endpoint | ||
- π Forgot Password Endpoint | ||
- π Reset Password Endpoint | ||
- βοΈ Check Auth Endpoint | ||
- π Frontend Setup | ||
- π Signup Page UI | ||
- π Login Page UI | ||
- β Email Verification Page UI | ||
- π€ Implementing Signup | ||
- π§ Implementing Email Verification | ||
- π Protecting Our Routes | ||
- π Implementing Login | ||
- π Dashboard Page | ||
- π Implementing Forgot Password | ||
- π Super Detailed Deployment | ||
- β This is a lot of work. Support my work by subscribing to the [Channel](https://www.youtube.com/@asaprogrammer_) | ||
|
||
### Setup .env file | ||
|
||
```bash | ||
MONGO_URI=your_mongo_uri | ||
PORT=5000 | ||
JWT_SECRET=your_secret_key | ||
NODE_ENV=development | ||
|
||
MAILTRAP_TOKEN=your_mailtrap_token | ||
MAILTRAP_ENDPOINT=https://send.api.mailtrap.io/ | ||
|
||
CLIENT_URL= http://localhost:5173 | ||
``` | ||
|
||
### Run this app locally | ||
|
||
```shell | ||
npm run build | ||
``` | ||
|
||
### Start the app | ||
|
||
```shell | ||
npm run start | ||
``` | ||
|
||
### I'll see you in the next one! π |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.