The server side project of I Love Animals App is Ktor Server project.
Go to I Love Animals Android Application
The I Love Animals Android Mobile Application has made it easier and faster to reach and help more stray animals. Users who register in the system can easily find stray animals in need of help near their location and provide health, food support, and adoption services. Additionally, screens have been developed to inform users about First Aid support, which is as important for animals as it is for us. And the application also includes many other features.
- Kotlin
- Ktor Server
- Firebase Admin - Push Notification
- PostgreSQL
- Exposed for database integration. ORM Framework
- Authentication
- Kotlinx.Serialization for serialization/deserialization.
Method | URL | Description |
---|---|---|
POST |
/register |
User register. |
POST |
/login |
User login. |
Method | URL | Description |
---|---|---|
GET |
/user/{userId} |
Get user with userId params |
PUT |
/user/{userId} |
Update user. |
Method | URL | Description |
---|---|---|
GET |
/advertisement-list |
Get advertisement list. |
GET |
/advertisement-list/postalCode/{postalCode} |
Get advertisement list by postal code. This way user can see nearby advertisements |
GET |
/advertisement-list/filter |
Get filtered advertisement list by category. |
POST |
/add-advertisement |
Add new advertisement. |
GET |
/advertisement/{id} |
Get advertisement by its id. |
PUT |
/advertisement/{id} |
Update advertisement. |
DELETE |
/advertisement/{id} |
Delete advertisement. |
GET |
/user-advertisement/{userId} |
Advertisements that belongs to user given by id. |
Method | URL | Description |
---|---|---|
GET |
/advertisement/{id}/comments |
Get advertisement comments. |
POST |
/advertisement/{id}/comment |
Add a new comment to the advertisement. |
PUT |
/comment/{commentId} |
Update the comment. |
DELETE |
/comment/{commentId} |
Delete the comment. |
Method | URL | Description |
---|---|---|
GET |
/search |
Search advertisements by query parameters. |
Method | URL | Description |
---|---|---|
GET |
/clinics |
Get all clinics |
GET |
/clinics/{postalCode} |
Get clinics by postal code. For nearby clinics. |
POST |
/clinics |
Add new clinics. |
Method | URL | Description |
---|---|---|
GET |
/charity-score |
Get charity scores. |
PUT |
/charity-score |
Update charity scores. |
Method | URL | Description |
---|---|---|
POST |
/complete-advertisement |
Complete advertisement. Users earn points when they complete the advertisement. |
Method | URL | Description |
---|---|---|
POST |
/push-notification-device/{deviceToken} |
Save the user's registeration token. This token is given from Firebase and we use to send push notification. |