Giter Club home page Giter Club logo

backend-1's Introduction

Buddy Matcher
Class Buddy Matcher

Group project for SOFTENG 701 Team 1 (Backend)


Class Buddy Matcher - Group project for SOFTENG 701 Team 1 (Backend).

This project comprises the backend segment (API + database) of the Buddymatcher application. It was created using Spring Boot and uses H2 for its database system.

How to run the app

The run configuration should look like the image below. The API can be accessed at localhost:8080/api/

image

Credentials

The app's login system is done through Sign In With Google, and hence this project's API is associated with a google account. For the credentials for this account, please refer to one of the original team members.

Authentication

Details on the authentication flow and use of tokens can be found in the frontend wiki here.

Testing the app

Integration testing

Before creating a pull request, you should make sure your backend still passes all the tests with your changes. You can do this with Intellij by opening the Maven popup on the right side of the IDE and running "test" under Lifecycle. You don't need to have the app running before this step - the testing will take care of it.

image

If successful, the output should look like this:

image

Note, while all requests to endpoints are normally prehandled, this is bypassed in the endpoint tests so no need to worry about authentication.

Manual testing

If you would like to manually test the app, you can hit any endpoint you'd like using Postman or Swagger. To test the API this way, you will need to pass in a custom JWT in your request. See Authentication above for how it works.

Project structure

Information about the backend project structure can be found here.

backend-1's People

Contributors

f-fromont avatar jafarmaash avatar scorpionknifes avatar kimslor avatar yuliapechorina avatar r055a avatar thomasholsteruoa avatar arathibiju avatar dogeliness avatar shreyasingaraju avatar shreytailor avatar uoa-ppat965 avatar ejstuart avatar alexmiao7 avatar nicholasbatesnz avatar dlee432 avatar rayaway2020 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.