- Next.js - React Framework
- TailwindCSS - CSS Utility Library
- shadcn - UI Components
- Framer Motion - Animations
- next-auth - Authentication
- Zod - Validation and Type Checking
- bcryptjs - Password Hashing
- mongoose - MongoDB ORM
- Authentication
- Content Marketplace
- Multipart form for adding content
- Themes
- Razorpay Integration
- Server Side Rendering
First, run the development server:
npm run dev
# or
yarn dev
# or
pnpm dev
# or
bun dev
Open http://localhost:3000 with your browser to see the result.
You can start editing the page by modifying app/page.tsx
. The page auto-updates as you edit the file.
This project uses next/font
to automatically optimize and load Inter, a custom Google Font.
Add the following lines to .env
file:
MONGODB_URI = <YOUR_MONGODB_URI/{DBNAME}>
GITHUB_ID = <GITHUB_ID_FROM_GITHUB_OAUTH>
GITHUB_SECRET = <GITHUB_SECRET_FROM_GITHUB_OAUTH>
GOOGLE_ID = <GOOGLE_ID_FROM_GOOGLE_OAUTH>
GOOGLE_SECRET = <GOOGLE_SECRET_FROM_GOOGLE_OAUTH>
RAZORPAY_KEY_ID = <YOUR_RAZORPAY_KEY_ID>
NEXT_PUBLIC_RAZORPAY_KEY_ID = <YOUR_RAZORPAY_KEY_ID_SAME_AS_ABOVE>
RAZORPAY_SECRET=<YOUR_RAZORPAY_SECRET>
UPLOADTHING_APP_ID=<YOUR_UPLOADTHING_APP_ID>
UPLOADTHING_SECRET=<YOUR_UPLOADTHING_SECRET>
Github OAuth: https://github.com/settings/developers
Google OAuth: https://console.developers.google.com/apis/credentials
Razorpay: https://dashboard.razorpay.com/applications
Uploadthing: https://uploadthing.com
To learn more about Next.js, take a look at the following resources:
- Next.js Documentation - learn about Next.js features and API.
- Learn Next.js - an interactive Next.js tutorial.
You can check out the Next.js GitHub repository - your feedback and contributions are welcome!
The easiest way to deploy your Next.js app is to use the Vercel Platform from the creators of Next.js.
Check out our Next.js deployment documentation for more details.
This is a Next.js project bootstrapped with create-next-app
.
TodayQ Assignment by Nirzon Taru Karmakar is licensed under CC BY-NC 4.0