This Api is For Restaurant Application With The Following Apis and the Frontend of this Api here Link this application is just for Test Vortex-io Vortex Link
- Auth Api (Register, Login, UpdatePassword, GetUserById)
- Recipes Api (getRecipeByID, GetCommentsByRecipeId, Create Comment, RecipesByCategoryId)
- Notifications (Offers Topic) With Firebase
- Categories Api (GetAll, GetCategoryById, Create Category)
- Cities Api
- Offers Api
- Places Api
- User Places Api
- Jwt Tokens
- Spring Security
- Firebase Configuration
- Firebase User Register With Realtime Database
- Token Filter
- Firebase Notifications
- Error Handler For Any Exception
- Heroku Base Url : https://destiny98.herokuapp.com/v1/**
- Docker Image : https://hub.docker.com/repository/docker/yt98/destiny_api/general
{
"code": 201,
"message": "Account Created",
"status": "Success",
"data": {
"token": "Bearer eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJ5YXphbiIsIm5hbWUiOiJ5YXphbiIsImlkIjo0MiwiZXhwIjoxNTgwMTUzMzk1LCJpYXQiOjE1ODAxMzUzOTUsInN0YXR1cyI6Ik5PVF9BQ1RJVkFURUQifQ.CqYZcVhotMgOqSFDFDPCLU8YmQ82A2cLMzXN1BxJyIA",
"user": {
"id": 42,
"username": "yazan",
"email": "yazan@yahoo.com",
"phoneNumber": "123456789",
"image": "image url",
"enabled": false,
"accountStatus": "NOT_ACTIVATED",
"location": {
"latitude": 0.0,
"longitude": 0.0,
"name": "Amman"
}
}
}
}
{
"code": 400,
"message": "User Username Required",
"status": "Failed",
"error": {
"type": "Invalid Or Missing Value",
"details": {
"name": "Username",
"reason": "Attribute Missing"
},
"stacktrace": [...]
}
}
(Yazan Tarifi) - Author -> yazantarifi1@hotmail.com
Copyright (C) 2019 Destiny Android Application is An Open Source Library (Licensed under the Apache License, Version 2.0)