An open API service indexing awesome lists of open source software.

https://github.com/kmaleesha/todoapplication

This is a ToDo Appliaction with JWT token Authentication, JUnit unit testing to create , read, update, and delete todo items
https://github.com/kmaleesha/todoapplication

crud-application exception-handling junit jwt-authentication spring-boot spring-security sql

Last synced: about 1 month ago
JSON representation

This is a ToDo Appliaction with JWT token Authentication, JUnit unit testing to create , read, update, and delete todo items

Awesome Lists containing this project

README

          

# Todo Application
A Spring Boot-based Todo application with JWT authentication, CRUD operations, pagination, and search functionality. The application is built with JUnit test cases to ensure robustness and reliability.

Technologies : SpringBoot, JWT Authentication, Spring Security, JUnit, MySQL

## Features
* JWT Authentication: Secures the API using JSON Web Tokens.
* CRUD Operations: Supports Create, Read, Update, and Delete operations on todos.
* Pagination: Allows paginated retrieval of todos for efficient data management.
* Search: Enables keyword-based search functionality.
* JUnit Test Cases: Unit and integration tests to ensure API functionality.
* Spring Data JPA: Efficient database access with easy-to-use repository abstractions.

## How to Run
1. clone the repository
2. Install dependencies and build the project -> mvn clean install
3. Add your username and password to DB configurations in application.properties file.
4. First add the users 'USER', 'ADMIN' to the DB
5. Then you can register the user registration.
6. LogIn -> using email and password then generate the token.