Skip to content

REST API project for Spring Boot and Angular application, creating a clone of the famous reddit website using JWT and a fake SMTP test server to sign up.

Notifications You must be signed in to change notification settings

Ayoub-BL/Reddit_Clone_Backend_Spring

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Reddit Clone

Backend project with J2EE (Spring Boot)
Auto-formation
Projet Reddit_Clone_Backend_Spring (v.0.0.1)

Features

REST API project for Spring Boot and Angular application, creating a clone of the famous reddit website using JWT and a fake SMTP test server to sign up.

Tech

  • Spring Boot - REST API ( backend )
  • Java Mail with Mailtrap ( Dummy SMTP email )
  • Asynchronous send mails
  • Bcrypt Hashing Algorithm ( BCryptPasswordEncoder )
  • JWT ( JSON Web Tokens )
  • Spring Security
  • Spring JPA (Hibernate)
  • MySQL Database
  • Angular - HTML & ✨Bootstrap✨ ( frontend ) - coming soon...

Installation

  • In this commit, I made some major changes. The application now uses JWT and it responds with the KeyStore reddit_clone_backend_spring.jks but this file in .gitignore has been ignored and, in consequence, you must add your own KeyStore to your project. So it is highly recommended that you take a look at how to create a KeyStore on link-1 and link-2.
  • When it is done, you can re-configure your KeyStore Alias, Password and file path in the class JwtProvider.
  • After that, you need to run phpMyAdmin (your MySQL database manager system), then run the application with Elipse IDE. 💡 You don't need to create the database manually, it will be created automatically.
  • Enjoy 😉

Tests - Screenshots

Sign up

Postman test - Sign Up

Received email validation

Postman test - Account Verification Email

Account verification with token

Postman test - Account Verification

Login and get response token and username

Postman test - Login

Contact

[email protected]

[email protected]

License

Free Software, Hell Yeah!

About

REST API project for Spring Boot and Angular application, creating a clone of the famous reddit website using JWT and a fake SMTP test server to sign up.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published