* fix: rely on booking uid instead of id from handleNewBooking * docs: managed user create input timeZone * fix: make bookingResponsesSchema nullable * Revert "fix: make bookingResponsesSchema nullable" This reverts commit f3127b31dd259d23cae520c994d8e712fc0fa17e. * refactor: define inputs * refactor: define outputs * refactor: bookings controller * test: first seated event test * test: recurring seated event booking * test: multiple bookings for seated event * test: fetching individual seated bookings * test: fetch all bookings * test: make reschedule seated work and test it * wip: cancel seated booking * test: cancel seated booking * refactor: dont return attendee email in seat booking responses * refactor: order of properties in response * refactor: test cleanup * refactor: simplify output booking service * refactor: flaky test * refactor: try to fix test by splitting them * try to fix test * try to fix tests
A progressive Node.js framework for building efficient and scalable server-side applications.
Description
Cal.com is using the Nest framework TypeScript starter repository.
Installation
$ yarn install
Prisma setup
$ yarn prisma generate
Env setup
Copy .env.example to .env and fill values.
Add license Key to deployments table in DB
id, logo theme licenseKey agreedLicenseAt 1, null, null, 'c4234812-12ab-42s6-a1e3-55bedd4a5bb7', '2023-05-15 21:39:47.611'
your CALCOM_LICENSE_KEY env var need to contain the same value
.env CALCOM_LICENSE_KEY=c4234812-12ab-42s6-a1e3-55bedd4a5bb
Running the app
# development
$ yarn run start
# watch mode
$ yarn run start:dev
# production mode
$ yarn run start:prod
Test
# unit tests
$ yarn run test
# e2e tests
$ yarn run test:e2e
# test coverage
$ yarn run test:cov
Support
Nest is an MIT-licensed open source project. It can grow thanks to the sponsors and support by the amazing backers. If you'd like to join them, please read more here.
Stay in touch
- Author - Kamil Myśliwiec
- Website - https://nestjs.com
- Twitter - @nestframework
License
Nest is MIT licensed.