This web application allows users to sign in using their Google Account and create meetings on Google Meet via the application calendar. Built with Typescript, React.js, Next.js, Prisma, Zod, Nookies, Axios, Dayjs and Eslint.
Before you start, ensure that you have these installed:
- Node.js
- Git
- Clone the repository:
git clone https://github.com/Feelpe/next-schedule
- Move to the project directory and install the project dependencies:
cd next-schedule
npm install
This application uses Google OAuth for authentication. Refer to the Google OAuth documentation on how to set it up, and afterward, keep track of your Client ID and Client Secret.
The application integrates with Google Calendar for scheduling meetings. Instructions on setting it up are available in the Google Calendar API documentation.
Create a .env.local file at the root of the project. Copy and paste the .env.example and fullfill the variables with your GOOGLE_CLIENT_ID, GOOGLE_CLIENT_SECRET, NEXTAUTH_SECRET (any secret digits just to api/auth work), and DATABASE_URL.
Push the Prisma schema state to the database:
prisma db push
Run the application
npm run dev
Open your browser and go to http://localhost:3000. Note: Replace 3000 if your app is running on a different port.