POST /cartype: Create a new car type.GET /cartype: Retrieve all car types.PUT /cartype: Update a car type.DELETE /cartype: Delete a car type.POST /order: Create a new order.GET /orders: Retrieve all orders.POST /payment/verify: Endpoint for verifying payment status.tests/ folder, and the live API can be accessed at: https://us-central1-dev-femi-badmus.cloudfunctions.net/carwash.POST /admin/google: Authenticates an admin using Google OAuth 2.0 token.POST /admin/logout: Logs out the current admin session.GET /admin/check: Checks if an admin is logged in and their session status.POST /cartype): Allows the admin to create a new car type.GET /cartype): Allows the admin to retrieve all available car types.PUT /cartype): Allows the admin to update an existing car type.DELETE /cartype): Allows the admin to delete a car type.GET /orders): Allows the admin to retrieve all orders placed by users.POST /order: Create an order.GET /orders: Retrieve all orders.POST /payment/verify: Verify payment for an order.Posted Feb 1, 2025
this is a task project to use Google Cloud Functions, Google Identity Services, RESTful API(crud), Cloud Database(firestore), Google Maps API, Payment(stripe),…