Capstone Program Immersive Alterra Academy
| Open API Documentation |
Bengcall is an inovation software that very useful when someone need mechanic to repair their motorcycle fast and no waitng too long. In order to make sure Bengcall works well and following the requirements, We as a backend engginer build efficient and tested systems. In this repository, it is based on restfull APIs that use several frameworks in the go language, besides that bengcall also integrates several APIs such as midtans and google calendar
If you're interested in using our Open Api, this is an example of how to do so.
Final Project Capstone Program Immersive Alterra Academy
Go to Open API »
👶 Users
This is an explanation of the Users section's CRUD method, in bengcall there are 2 roles admin and costumer. in this section admin only can login, and for admin registration is done by developer / superadmin
Feature User | Endpoint | Role | JWT Token | Function |
---|---|---|---|---|
POST | /login | - | NO | This is how users log in. |
POST | /register | - | NO | This is how users register their account. |
GET | /users | - | YES | Users obtain their account information in this form. |
PUT | /users | - | YES | This is how users Update their profile. |
DELETE | /users | - | YES | This is how users Delete their profile. |
🏘️ Transaction
Service transaction in Bengcall
Feature Groups | Endpoint | Param | JWT Token | Function |
---|---|---|---|---|
POST | /transaction | - | YES | Create a new booking. |
GET | /transaction/me | - | YES | on going booking on customer |
GET | /transaction/{id} | id Transaction | YES | detail transaction |
GET | /admin//transaction | - | YES | Get all booking on admin |
PUT | /admin//transaction/{id} | id Transaction | YES | Edit transaction by admin |
DELETE | /admin//transaction/{id} | id Transaction | YES | Delete transaction by admin. |
🏎️ Vehicle
Everything about vehicle type
Feature Groups | Endpoint | Param | JWT Token | Function |
---|---|---|---|---|
POST | /admin/vehicle | - | YES | Add Vehicle type on admin. |
GET | /vehicle | - | YES | Displaying Group detail by id. |
DELETE | /admin/vehicle/{id} | id vehicle | YES | Delete vehicle type on admin |
🛠 Service
Everything about service type in bengcall
Feature Groups | Endpoint | Param | JWT Token | Function |
---|---|---|---|---|
POST | /admin/vehicle | - | YES | Add service for vehicle on admin. |
GET | /service | - | YES | Get spesific service type. |
DELETE | /admin/vehicle/{id} | id vehicle | YES | Delete service type on admin |
🛠 Vehicle Service
This endpoint for show all service by vehicle type on bengcall
Feature Groups | Endpoint | Param | JWT Token | Function |
---|---|---|---|---|
GET | /admin/vehicleservice | - | YES | get all service on admin. |
👑 History
Show history transaction on customer
Feature Groups | Endpoint | Param | JWT Token | Function |
---|---|---|---|---|
GET | /history | - | YES | get history transaction on customer. |
💬 Comment
For costumer
Feature Groups | Endpoint | Param | JWT Token | Function |
---|---|---|---|---|
GET | /history | - | YES | get history transaction on customer. |
Clone the project
git clone https://github.com/ProjectBengcall/BackEndWork
Go to the project directory
cd bengcall
Run the project
go run server.go