It's working fine but the new heroku policies made it impossible to deploy so i migrated everything to use aws lambda https://github.com/diasandre/which-episode-to-watch-again-lambda
- Spring Boot
- Mongo DB
- MONGO_LOGIN
- MONGO_PASSWORD
- MONGO_URL = xxx.mongodb.net\
- -Djdk.tls.client.protocols=TLSv1.2
GET /random/{tvShowId}
{ "id": Long, "tvShow": Long, "title": String? }
GET /tv-shows/
[{ "id": Long, "title": String }]
GET /episodes/{tvShowId}
[{ "id": Long, "tvShow": Long, "title": String? }]
POST /episodes/{tvShowId}
[{ "id": Long, "tvShow": Long?, "title": String }]
POST /tv-shows/save
{ "id": Long, "title": String }
POST /user/
{ "id": String, "email": String, "password: String, "role": String (ROLE_ADMIN, ROLE_USER) }