A Next.js application that allows users to view their Google Calendar events using Google OAuth 2.0 and Supabase for authentication and data storage.
- Google OAuth 2.0 Authentication via Supabase
- View Google Calendar events in a monthly view
- Navigate between months
- Secure session management
- Responsive design with Tailwind CSS
- Frontend: Next.js 14 with TypeScript
- Styling: Tailwind CSS
- Authentication: Supabase Auth + Google OAuth
- Database: Supabase (PostgreSQL)
- Calendar UI: React Big Calendar
- Deployment: Render.com
-
Clone the repository
-
Install dependencies:
npm install
-
Set up environment variables:
- Copy
.env.local.example
to.env.local
- Fill in your Supabase and Google OAuth credentials
- Copy
-
Run the development server:
npm run dev
-
Open http://localhost:3000 in your browser
NEXT_PUBLIC_SUPABASE_URL
: Your Supabase project URLNEXT_PUBLIC_SUPABASE_ANON_KEY
: Your Supabase anonymous keyGOOGLE_CLIENT_ID
: Your Google OAuth client IDGOOGLE_CLIENT_SECRET
: Your Google OAuth client secretGOOGLE_REDIRECT_URI
: OAuth redirect URI
src/
├── app/ # Next.js app directory
├── components/ # Reusable components
├── lib/ # Library code, utilities
├── types/ # TypeScript type definitions
└── utils/ # Utility functions
- Fork the repository
- Create your feature branch
- Commit your changes
- Push to the branch
- Create a new Pull Request