* init router endpoint for v2 * fixup fixup * resolve merge conflicts * update libraries * update router controller * make router endpoint public * chore: refactor router endpoint and add team/org id * cleanup * chore: Only import Sentry when needed (#18882) * perf: prerender routes in main navigation (#18883) * chore: migrate /apps/categories pages (#18871) * migrate apps/categories pages * remove pages dir * chore: app router - /payment pages (#18152) * remove Head from payment page comp * remove route from pages router * move out of future folder * add to config.matcher * remove unneeded code * update middleware * fix * fix * perf: replace `getServerSessionForAppDir` usages with our original `getServerSession` function (#18897) * chore: migrate /apps/installation pages (#18870) * migrate apps/installation pages * fix test * chore: migrate `/auth/logout` (#18901) * migrate /auth/verify-email page * update middleware * migrate /auth/logout page * expose router endpoint * small refactor pageprops not necessary * sentry is already tracking performance * reuse logic * fixup! reuse logic * fixup! fixup! reuse logic * fixup! fixup! fixup! reuse logic --------- Co-authored-by: Morgan Vernay <morgan@cal.com> Co-authored-by: Alex van Andel <me@alexvanandel.com> Co-authored-by: Benny Joo <sldisek783@gmail.com> Co-authored-by: Morgan <33722304+ThyMinimalDev@users.noreply.github.com>
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.