Skip to content

dvcvms/myservice_backend

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

myservice_backend

Features

  • User registration with email verification
  • Authentication with JSON Web Token (JWT)
  • Role-based authorization
  • Password encryption using BCrypt
  • Email sending mechanism

Technologies

  • Spring Boot 3
  • Spring Security 6
  • JSON Web Token (JWT)
  • BCrypt
  • Spring JavaMail API
  • Email verification with expiry
  • Spring Data JPA
  • Maven

Getting Started

You need to set your database setting in application.properties:

spring.datasource.driver-class-name=
spring.datasource.url=
spring.jpa.hibernate.ddl-auto=
spring.datasource.username=
spring.datasource.password=

Another way you can use these properties. Replace application.properties setting with these:

spring.datasource.driverClassName=org.h2.Driver
spring.datasource.url=jdbc:h2:file:./myservice_db
spring.jpa.database-platform=org.hibernate.dialect.H2Dialect
spring.jpa.hibernate.ddl-auto=update
spring.jpa.generate-ddl=true

To build and run this project, follow these steps:

  • Clone the repository: git clone https://github.com/dvcvms/myservice_backend.git
  • Navigate to the project directory: cd myservice
  • Build the project: mvn clean install
  • Run the project: mvn spring-boot:run

The application will be available at http://localhost:8080/

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages