Node Js · Typescript · Firebase · Express
API URL (Deployed on Google App Engine)
https://angkotin-352405.et.r.appspot.com
Authentication (Login)
- Method : POST
- Endpoint :
/auth
- Body :
{ "phoneNumber": "user phone number", "password": "user password" }
- Response :
{ "success": true, "data": { "token": "user token", "id": "user id", "endPoint": "user endpoint" } }
Register
- Method : POST
- Endpoint (passanger) :
/register/passengers
- Endpoint (driver) :
/register/drivers
(Driver must register angkotNumber and angkotLabel) - Endpoint (admin) :
/register/admins
- Body :
{ "name": "user name", "nik": "user nik", "phoneNumber": "user phone number", "password": "user password" }
- Response :
{ "success": true, "data": { "user data" } }
- Design the infrastructure
- Create firestore collection and document model
- Build user API
- Build authentication and authorization using JWT
- Enable Google Map, Direction, and Place API
- Deploy backend to Google App Engine
- Build admin dashboard