Skip to content

shonie2xx/hobbybook-backend

Repository files navigation

Hobbybook

Table of Contents
  1. About The Project
  2. Project assignment
  3. Tools used
  4. Design document
  5. Testing strategy
  6. Process of work
  7. App journey
  8. License
  9. Contact
  10. Acknowledgements

About The Project

I did a tinder-clone for my first full-stack web application. I am not actual constant user of dating websites but the idea behind it, how it brings together is great. The application is based on common interests between people and the possibility for them to match between each other. My inspiration of doing a tinder clone is that I found the complexivity very interesting and suitable for the project assignment given from Fontys University.

Project assignment

  • Authorization, authentication
  • 2 kind of user roles. ADMIN/USER.
  • CRUD operations.

Tools used

  • Spring Boot
  • MySql
  • JSON Web Token

Design document

  • APA style
  • C4 Architeture

Testing strategy

  • Integration tests
  • Unit tests
  • CI/CD pipelines
  • Sonarqube

Agile

  • Scrum

App journey

  • Login/Register
  • User cards(like,dislike,view hobbies)
  • Profile page
  • If admin is logged in he has rights to CRUD users.

Highlights

When two user 'like' they match with each other. Return the users you match with ->

@Repository
public interface MatchRepository extends JpaRepository<Match,Long> {
@Query("SELECT B.fromUser FROM Match A JOIN Match B ON A.fromUser = B.toUser AND A.toUser = B.fromUser " +
"WHERE A.like_pass = true AND A.fromUser.username = :username AND B.like_pass = TRUE")
List<Account> findAllUserMatches(@Param("username") String username);
}

License

Distributed by me.

Contact

Aleksandar Lekov

Acknowledgements

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published