Giter Site home page Giter Site logo

damianpurgal / 2022_tab_s11_pakosz_backend Goto Github PK

View Code? Open in Web Editor NEW
3.0 3.0 2.0 1.02 MB

Part of the University Project. REST API, backend written in java for a project supporting a ski resort.

Java 98.04% HTML 1.96%
google-authentication hibernate java lombok mysql paypal-payment rest-api spring spring-boot spring-security

2022_tab_s11_pakosz_backend's Introduction

REST API of the student project responsible for operating the ski station..

Project description

The project enables the operation of a ski station by providing the necessary functionalities. The functionalities are provided by three applications:

  • website (ReactJS),
  • mobile application (Flutter),
  • QR code scanner - ski gate (Unity). All components are connected to each other via REST API included in this repository.

Key functionalities of the project

  • Login and user registration,
  • Authentication with Google account,
  • Ability to purchase a tickets using the payment system,
  • Scanning of tickets,
  • Generating reports.

Use case diagram

Diagram showing the use cases necessary for the project to work. The backend also implements functionality that is not shown in the diagram below.

Database schema (MySQL)

A database schema created in MySQL.

Endpoints

Endpoints of the application shown based on a screenshot from the Postman application.

Sample payment API documentation: link

Description of the implementation of the most important functionalities - Backend

Authorization and authentication of local users

User authentication is done through JWTs that the user obtains during the authentication process. During authentication, the user also obtains a refresh token to extend the life of the access token.

Google Authentication

Google user authentication is done through Spring Security. The flow of the user login process through Google is shown below.

Connection to the payment system

Payments for tickets and passes are made entirely through payPal.

Generating reports

Reports are generated using JasperReport. There are two types - reports for clients and administrators. An example of a report generated for a client:

Technologies used to create the Backend:

  • Java,
  • Spring Boot,
  • Spring Security,
  • Spring Data,
  • Hibernate,
  • Lombok,
  • MySQL,
  • PayPal API,
  • JasperReport.

Useful applications for creating Backend:

  • Postman,
  • Github,
  • Swagger,
  • Trello.

2022_tab_s11_pakosz_backend's People

Contributors

aleksandratlalka avatar damianpurgal avatar dannelysbeth avatar julimer228 avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.