helgesander / your-bunny-backend

Dating site

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Your Bunny - Dating site API

How to run

Dev version

./mvnw -Dspring.profiles.active=dev

Prod version

export ADMIN_USERNAME=*username* \ 
ADMIN_PASSWORD=*password* \
ADMIN_EMAIL=*email* \ 
ADMIN_PHONE=*phone* \ 
DB_USERNAME=*username* \ 
DB_PASSWORD=*password* \
JWT_SECRET=*secret* \
JWT_LIFETIME=*lifetime*
&& ./mvnw -Dspring.profiles.active=prod

Testing

You can test API with Postman collection or on the endpoint /swagger-ui.html

TODO:

  • Registration
    • Save user to database
    • Generate and return token with DTO
    • Fix exception handling with some issues
  • Fix obtaining a token for user
  • Chat API
    • Implement interaction via Websockets
    • Fix exception handling with some issues
  • Messages API
    • Fix sending a message, updating message
    • Fix exception handling with some issues
  • Admin Panel API
    • Fix CRUD operations with users and profiles
    • Fix exception handling with some issues
  • Profile API
    • Fix CRUD operations (update profile, delete profile, )
    • Fix exception handling
  • Fix roles and roles hierarchy
  • Fix problem with roles and privileges
  • Fix exception handling with bad JWT token (PRIORITY)
  • Docker file (VERY OPTIONAL)
  • Fix error with getting user from DB (return null when user is exists)
  • Fix prod and dev profiles' properties
  • Fix logging
  • Uploading avatars
  • Fix validator which check good password, email and phone number
  • Fix finding a place to meat nearby

Authors

DashaGorodilova
DmitriyVx
helgesander

About

Dating site


Languages

Language:Java 100.0%