/todayq

Content Marketplace

Primary LanguageTypeScriptOtherNOASSERTION

Content Marketplace- TodayQ Assignment

Tech Stack

Features

  • Authentication
  • Content Marketplace
  • Multipart form for adding content
  • Themes
  • Razorpay Integration
  • Server Side Rendering

Getting Started

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.

Configure .env file

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

Learn More

To learn more about Next.js, take a look at the following resources:

You can check out the Next.js GitHub repository - your feedback and contributions are welcome!

Deploy on Vercel

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.


License

CC BY-ND 4.0

TodayQ Assignment by Nirzon Taru Karmakar is licensed under CC BY-NC 4.0