https://github.com/edixonalberto/api-dicabeg
Api RESTful to the application mobile Dicabeg
https://github.com/edixonalberto/api-dicabeg
api-restful blade blade-template-engine css framework-php laravel mvc-architecture onesignal pdo php portfolio postgresql sendgrid stylus
Last synced: 2 months ago
JSON representation
Api RESTful to the application mobile Dicabeg
- Host: GitHub
- URL: https://github.com/edixonalberto/api-dicabeg
- Owner: EdixonAlberto
- License: gpl-3.0
- Created: 2018-12-10T03:44:46.000Z (over 6 years ago)
- Default Branch: v2
- Last Pushed: 2023-04-19T19:04:02.000Z (about 2 years ago)
- Last Synced: 2025-02-02T01:24:51.780Z (3 months ago)
- Topics: api-restful, blade, blade-template-engine, css, framework-php, laravel, mvc-architecture, onesignal, pdo, php, portfolio, postgresql, sendgrid, stylus
- Language: PHP
- Homepage:
- Size: 2.15 MB
- Stars: 3
- Watchers: 3
- Forks: 1
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# api-dicabeg
[](https://linkedin.com/in/edixonalberto)
[](./LICENSE.md)

Api RESTful to the application mobile **[Dicabeg](https://instagram.com/dicabeg/)**
### Technologies Used
- Programming language `PHP` **7.3.4**
- Templates engine `Laravel/Blade`.
- Styles language `Stylus` **0.54.5**
- Design pattern **MVC**.
- Sending **email transactional** through `SendGrid`.
- Sending **push notification** through `OneSignal`.
- Administrarion of sessions using `JWT` and `OAuth`.
- Login with **Facebook**.
- Custom query constructor made in flat **PDO**.
- **DataBase** language `PostgreSQL` **10.7**
- **PaaS** to deploy the api `Heroku`.
- Automatic generation of `Email Templates` using `Laravel/Blade`.
- **Minificación** HTML code manual for acceleration of view loading and generation of email templates. Thanks to the bookstore [tiny-html-minifier](https://github.com/jenstornell/tiny-html-minifier.git) realized by [Jens Törnell](mailto:[email protected]).---
## End Points
>USERS
GET | api/users/page/{nro}/date-order/{order}
GET | api/users
POST | api/users
PACTH | api/users
DELETE | api/users
--->ACCOUNTS
POST | api/accounts/login
POST | api/accounts/login/refresh
POST | api/accounts/login/oauth2 [NO DISPONIBLE]
POST | api/accounts/activation
POST | api/accounts/recovery
POST | api/accounts/resend_email
PUT | api/update/email
PUT | api/update/password
--->REFERREDS
GET | api/referreds/page/{nro}/date-order/{order}
GET | api/referreds/{id}
DELETE | api/referreds/{id}
--->TRANSFERS
GET | api/transfers/page/{nro}/date-order/{order}
GET | api/transfers/{code}
POST | api/transfers
POST | api/transfers/send_report
--->HISTORY
GET | api/history/page/{nro}/date-order/{order}
GET | api/history/{video_id}
POST | api/history/{video_id}
DELETE | api/history/{video_id}
DELETE | api/history
--->VIDEOS
GET | api/videos/page/{nro}/date-order/{order}
GET | api/videos/{id}
--->ADVERTS
PUT | api/adverts/bonus/pay [NO DISPONIBLE]
PUT | api/adverts/enterprise/pay [NO DISPONIBLE]
GET | api/adverts/grant/user-id/{userId}/rewards/{rewards}/event-id/{eventId}
--->APP
GET | api/app/roles
GET | api/app/ranking
GET | api/app/balances
GET | api/app/commissions
---## Entity Relation Diagram

### **[ERD Lucidchart](https://app.lucidchart.com/documents/view/5f826222-d799-4334-8196-18680ddd0ca7) ➜**
---
## Email Templates
To view all the email templates, **[go to this route](./.github/img/email-templates) ➜**