Skip to content

Conversation

@Sherlemious
Copy link
Collaborator

No description provided.

Sherlemious and others added 30 commits October 4, 2024 19:14
- add attribute name to activities
- rename endpoints /created_by/:id to /mine in itinerary/activity/museum routes
…yasser/authentication

Feat/Authentication
* feat: Create complaint schema

* feat: add filing complaints endpoint

* feat: add view complaints endpoints

- Get all complaints
- Get all my complaints
- Get complaint by id

* feat: add update complaint endpoint
* feat: add endpoints for adding/getting reviews

- modify schemas for activity, itinerary, complaint, user to have an array of reviews
- create endpoint for adding review on a specific model
- create endpoint for getting reviews for a specific model

* feat: add avg_rating attribute to models

- modify schemas for itinerary, activity, complaint, user to have attribute average_rating

- update average_rating of document upon adding new review
…s to activate/deactivate

- TODO: Check special cases
* feat: implement login endpoint

- make username and account type both unique
- make wallet default to 0

* fix: itinerary tests
* change user password

* flag itinerary and reject user

* Terms and Conditions

* Available quantity and sales

* Archive Product

* refactor: run prettier

---------

Co-authored-by: Mohamed Ahmed El Sawy <m.elsawy2003@gmail.com>
- also dob is not unchangeable
…mious/dev

feat: loyalty points and wallet redemption
* feat: implement book itinerary endpoint

- create booking schema
- add itinerary_bookings attribute to user schema

* feat: implement book activities endpoint
yousefyasser and others added 29 commits December 1, 2024 14:33
* feat: add endpoints for tourist adding/getting addresses

* style: run prettier formatter
* build: install stripe

- add endpoint for creating session id and customizing metadata for stripe payments

- modify orderCheckout endpoint to allow paying by card or wallet

- modify order statuses to be paid/delivered/cancelled

- save address id along with order

* feat: add different payment methods at checkoutOrder

- refactor checkout order
- update user's wallet if payment method is wallet at checkout

* feat: add payment methods to bookings
- converted price is now rounded to 2 decimal places, to nearest 5 or 0
@Sherlemious Sherlemious closed this Dec 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants