It consists all the features of the app. If there's some feature missing in any module please add it. Please also mark features as one of: done, incomplete, doing, unsure
Modules
User
/user
- ‘/‘register: done
/resend-emailtoken
: resend-email-token: done/verify-email-token
: verify-email-token: done/complete-registration
: complete-registration: done/verifyphone
: verify-phone:done/confirmphone
: checkPhone: done/edit
: update-profile: done: done/login
: login: done/verifypassword
: verify-change-password (confirm current password, send phone token):/forgot-password
forgot-password(send token to email): done/changepassword
changePassword(forgot-password-process): done/
: getuser: done/balance
: getUserBalance : todo/balance/history?:from:to
: Get User Balance History: todo/search/:text
: Search Plates and Restaurants: done/messages/users
: List User messages: unsure/messages/users/:to_userID
: Create User Messages: unsure/messages/users/:to_userID
: Messages from user: unsure- Social Login Facebook: ongoing
- Social Login Google: ongoing
Driver
/driver
/position
: Update Driver Position: done/get-position
: Get Driver Position: done/bank-account
: Create Driver Bank Account: done- Delete Driver Bank Account: incomplete | No API route in cheff app but there’s api in driver app
Shipping
/shipping
/
: Create User shipping Address: done/
: Get Users Shipping Addresses: done/edit/:id
: Edit User Shipping Address: done
Documents
/docs
/
: Create User Doc: done/
Update Doc: done/my
: My Doc: done/chefLicense
Upload Chef License photo: done/chefCertificate
: Upload Chef Certificate photo: done/kitchenPhoto
Upload Plate Kitchen photo: done/nidFrontSide
Upload User NID photo: done/profilePhoto
Upload User Profile Picture: done/socialSecurityNumber
Add user Social Security Number: done/driverLicense
Upload Driver License photo: done/vehicleRegistration
Upload Driver Vehicle Registration: done/
List User Docs List User Docs: done | if a user has only one doc do we need this?
Category
/category
/
: Add Category: done/edit/:id
: Edit Category: done/
: List Categories: done/
: List Category Plates: done- Search Plates By category: incomplete | it seems incomplete
Plates
/plate
/
: Create Plate: done/
: List Plates: done/images/:id
: Upload Plate Images: done/images/:type_image/:id
Delete Plate Image: done/edit/:id
: Edit Plate: done/:id
: Delete Plate: done/search/:text
: Search Plates: done/show/:id
: Get Plate: done/:id/kitchen
: Plate Kitchen Images: done/:id/review
: Plate Reviews:/:id/related
: Plate Related: done/near
: Near Plate: done/latest/:amount
: Search Plate by amount: done/chef/:id
: Specific Chef Plates: done/:id/receipt
: Plate Receipts: done
Custom Plate
/custom-plate
/
Add Custom Plate: done/
Get Custom Plates: done/:customPlateId
: Get one custom plate: done/bid
Chef Bid to CustomPlate: done/accept/bid/:auctionBidId
User Accept Custom Bid From Chef: done/pay
Pay User Custom Order: ongoing | issue in post payment/order/list/:userId
: List User Custom Orders: done
Favourites
/favourites
- Add plate/custom plate to favourites: done
- Remove plate/custom plate from favourites: done
- List User Favourites: todo
Basket
/basket
/
: Add plate to user basket. Also handles plate quantity update to basket item: done/
Get user basket items: done/subtract/:basketItemId
: Subtract basket item quantity by 1: done/delete/:basketItemId
: Delete basket item: done/add/:basketItemId
: Add 1 to basket item quantity : done- User also bought API: ongoing
- Shipping fee calculation: todo | i don't see any field to store shipping fee for plate, custom_plate.
Card
/card
/
: List User Cards from stripe: done/
: Add new Card to stripe: done
Order
/order
/
: Create Order: ongoing | Issue in post payment | database design issue/ready-delivery
: Orders Ready for Delivery: todo/list
: List Orders: todo/list/tracking
: List Order tracking: todo/get/:id
: Get Order By Id: done/:id/review
: Create Order review:- ``: Get Order Reviews:
Delivery
/delivery
/
: Get All Deliveries of an authenticated user: done/complete
: Get Completed Deliveries of an auth user: done/:id
: Get Delivery By Id: done/edit/:id
: Edit Delivery By Id: done/accept/:id
: Accept Delivery by Driver/Chef: done/decline/:id
: Decline Delivery by Driver/Chef: done/createdelivery/:id
: Create Driver/Chef: done/pickup/:id
: Pickup Delivery By Driver/Chef: done/complete/:id
: Complete Delivery By Driver/Chef: done
Admin
/admin
- List User Docs: unsure
- Edit Docs: unsure