Calendly clone for scheduling meetings professionally and efficiently, eliminating the hassle of back-and-forth emails so you can get back to work.
- Node.js installed on your system
- A text editor of your choice
- An existing Next.js project
-
Install dependencies Run the following command in your terminal to install all the necessary dependencies:
npm install
-
Rename
.env.example
to.env
In the root directory of your project -
Update
DATABASE_URL
In the .env file, replace the DATABASE_URL with the URL for your Postgres database. -
Set
NEXTAUTH_URL
In the .env file, set the NEXTAUTH_URL to the URL and port for your Next.js app. -
Push Prisma migrations Run the following command in your terminal to push any Prisma migrations to your database:
> npx prisma db push
-
Start the development server Run the following command in your terminal to start the development server:
> npm run dev
-
Use the app You can now use your app at http://localhost:3000.