Squadio-App is a Users-Accounts financial system. exposes Rest APIs with JWT authentication/Authorization process .

Overview

squadio-app

Description Squadio-App is a Users-Accounts financial system. exposes Rest APIs with JWT authentication/Authorization process .


How to Run : The system is built on top of Spring Boot framework and Java programming language .

All you need is to open the project in IntelliJ or Netbeans as a maven project .


Project Anatomy : Spring Boot H2 database : http://localhost:8080/h2/login.jsp (username : sa , password : password ) Java 8 or higher .

Authentication & Authorization : localhost:8080/api/auth/signin( To get the access token and put it as Authorization header)

POST : { "username":"Admin", "password":"admin"

}

The response : { "id": "qbnKoolq", "username": "Admin", "email": "[email protected]", "roles": [ "admin" ], "accessToken": "eyJhbGciOiJIUzUxMiJ9.eyJzdWIiOiJBZG1pbiIsImlhdCI6MTY0MzQ2NDk4OCwiZXhwIjoxNjQzNTUxMzg4fQ.ZQJSkaHcX8J_MjEQV8ekUajTwsxvF-jryzz7Ab4adY1mbdP0Ii069e61QHSDCh8-hUlYStdCCqdQIyT6cZE2Cw", "tokenType": "Bearer" }

or { "username":"Muhamed", "password":"user"

}

APIs useage : Authorization : Bearer eyJhbGciOiJIUzUxMiJ9.eyJzdWIiOiJBZG1pbiIsImlhdCI6MTY0MzQ2NDk4OCwiZXhwIjoxNjQzNTUxMzg4fQ.ZQJSkaHcX8J_MjEQV8ekUajTwsxvF-jryzz7Ab4adY1mbdP0Ii069e61QHSDCh8-hUlYStdCCqdQIyT6cZE2Cw

GET : localhost:8080/api/v1/users

by default . the system will create table at runtime with desired users and credentials .

CREATE TABLE ACCOUNTS (


);

CREATE TABLE STATEMENTS(


);

ALTER TABLE ACCOUNTS ADD FOREIGN KEY (USER_ID) REFERENCES USERS(id);

ALTER TABLE STATEMENTS ADD FOREIGN KEY (account_id) REFERENCES ACCOUNTS(id);

INSERT INTO roles(id,name) VALUES(1,'user');

INSERT INTO roles(id,name) VALUES(2,'admin');

INSERT INTO USERS (id,password, username, email)


INSERT INTO USER_ROLES (user_id,role_id) VALUES***********************

INSERT INTO ACCOUNTS (id,account_type,account_number, user_id, iban,balance,currency) VALUES ******************************

INSERT INTO STATEMENTS (id,account_id,account_number,description,amount,date_of_trs,currency) VALUES ******************************************


Application configuration :

check application.properties

You might also like...

Create your Java crypto trading bot in minutes. Our Spring boot starter takes care of exchange connections, accounts, orders, trades, and positions so you can focus on building your strategies.

Create your Java crypto trading bot in minutes. Our Spring boot starter takes care of exchange connections, accounts, orders, trades, and positions so you can focus on building your strategies.

Quick Start | Documentation | Discord | Twitter Create and run your java crypto trading bot in minutes Our Spring boot starter takes care of exchange

Jan 3, 2023

Spring Boot Login and Registration example with MySQL, JWT, Rest Api - Spring Boot Spring Security Login example

Spring Boot Login and Registration example with MySQL, JWT, Rest Api - Spring Boot Spring Security Login example

Spring Boot Login example with Spring Security, MySQL and JWT Appropriate Flow for User Login and Registration with JWT Spring Boot Rest Api Architect

Jan 5, 2023

Rate limiting private REST APIs using Java Spring-boot, spring-security and bucket4j

Rate limiting REST APIs using Spring-security filter and Bucket4J Deployed Application (Swagger-ui on heroku) Inspired from: Baeldung Article Applicat

Jul 18, 2022

Source code of course - Building Real-Time REST APIs with Spring Boot

springboot-blog-rest-api Learn how to build real-time REST APIs with Spring Boot by building a complete Blog App. Source code of Popular Building Real

Jan 6, 2023

Zero-Dependency RFC 8252 OAuth 2.0 Authorization Flow

Tiny OAuth2 Client This is a minimal zero-dependency implementation of the RFC 8252 OAuth 2.0 for Native Apps, relying on Loopback Interface Redirecti

Jun 17, 2022

A fast, light and cloud native OAuth 2.0 authorization microservices based on light-4j

A fast, light weight and cloud native OAuth 2.0 Server based on microservices architecture built on top of light-4j and light-rest-4j frameworks. Stac

Dec 17, 2022

It is a Basic Comment App for different users.

It is a Basic Comment App for different users.

Zoho-comments It is a Basic Comment App for different users. Technology Used : JAVA Swing, Mysql. Tools Used : Eclipse , WampServer. Mysql Table : sig

Feb 12, 2022

Weatherapp is a simple weather forecast app that uses some APIs to retrieve forecast data from OpenWeatherMap.

WeatherMobileApp Weatherapp is a simple weather forecast app that uses some APIs to retrieve forecast data from OpenWeatherMap. Table of Contents Tech

Jan 17, 2022

With react-native-update-in-app library you can easily implement in-app updates in your React Native app using CDN or any other file server

React Native In-App update With react-native-update-in-app library you can easily implement in-app updates in your React Native app using CDN or any o

Dec 21, 2022
Owner
Bashar Othman
Bashar Othman
Spring Boot REST API authentication best practices using JWT

Spring Boot REST API authentication best practices using JWT Token based API authentication with Spring Security and JWT (JSON web Token) Overview Thi

Prafful Lachhwani 34 Dec 22, 2022
Authentication and authorization for application, api and user

多树AUTH / MT-AUTH 用户,应用,API管理中心 MT-AUTH是一款基于Spring Boot, OAuth2与事件驱动的角色的权限管理(RBAC)系统,通过集成Spring Cloud Gateway实现了API鉴权,缓存,跨域,CSRF防护,特殊字符过滤等常用功能 项目特点 基于事

null 23 Dec 14, 2022
Build your own Minecraft authentication system with Mojang authentication server support.

Build your own Minecraft authentication system with Mojang authentication server support. A fork of yushijinhun/authlib-injector.

Ethan Zuo 15 Dec 17, 2022
A compact and highly efficient workflow and Business Process Management (BPM) platform for developers, system admins and business users.

Flowable (V6) Maven Central: Docker Images: License: Homepage: https://www.flowable.org/ flowable / flowəb(ə)l / a compact and highly efficient workfl

Flowable 6k Jan 7, 2023
Implementing JWT authentication with spring boot.

Jwt-SpringBoot Implementing JWT authentication with spring boot. Normally you would create an endpoint to create the credentials(token), then this tok

@#aeyarm 2 May 7, 2022
Vaadin Flow example with JWT authentication

Example how to enable JWT based authentication with Vaadin Flow and Spring Security

Matti Tahvonen 7 Sep 12, 2022
Spring Boot JWT Authentication example with Spring Security & Spring Data JPA

Spring Boot JWT Authentication example with Spring Security & Spring Data JPA

null 1 Jan 26, 2022
ReactJS, Spring Boot JWT Authentication Example

springboot-reactjs-jwt-authentication ReactJS - SpringBoot - JWT - Flow Local setup Step 1: Download or clone the source code from GitHub to a local m

Sibin Rasiya 16 Dec 2, 2022
Spring Boot Refresh Token using JWT example - Expire and Renew JWT Token

Spring Boot Refresh Token with JWT example Build JWT Refresh Token in the Java Spring Boot Application. You can know how to expire the JWT, then renew

null 152 Dec 28, 2022
Kyrestia, named after Kyrestia the Firstborne, is a process engine supporting mainstream process definition standards.

Kyrestia Kyrestia, named after Kyrestia the Firstborne, is a process engine supporting mainstream process definition standards. It is not only lightwe

Weiran Wu 32 Feb 22, 2022