Skip to content

Commit

Permalink
380 backend create endpoint to create bookings (#508)
Browse files Browse the repository at this point in the history
* Used endpoints to fetch the prices set in stripe and display them on the home using the wrapper

* Formatted files properly

* Updated code generation for server

* Regenerated code

* fixed issue

* Code regeneration

* revert unused changes

* regen code

* restore tests

* fix test

* Ensured bookings are being created properly and replaced for loop with promise for better performance.

* Code regeneration

* Added test to check that duplicate users aren't being added to the same booking

---------

Co-authored-by: bcho892 <[email protected]>
  • Loading branch information
Kartik-M24 and choden-dev authored Jun 25, 2024
1 parent 96b0c03 commit 0271217
Show file tree
Hide file tree
Showing 6 changed files with 445 additions and 37 deletions.
40 changes: 33 additions & 7 deletions client/src/models/__generated__/schema.d.ts

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

58 changes: 49 additions & 9 deletions server/src/middleware/__generated__/routes.ts

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

104 changes: 85 additions & 19 deletions server/src/middleware/__generated__/swagger.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 0271217

Please sign in to comment.