- Next.js – Framework
- Typescript – Language
- Tailwind – CSS
- shadcn/ui - UI Components
- Mongoose - ORM
- MongoDB - Database
- Vercel – Hosting
Here's what you need to be able to run Annotator:
- Node.js
- MongoDB Database - connection string
- UploadThing - token
git clone https://github.com/Gourav-21/annotator.git
cd annotatornpm installcp .env.example .env.localThe following environment variables must be set:
-
MONGODB_URI- The connection string for the MongoDB database -
UPLOADTHING_TOKEN- Token for the UploadThing service. -
NEXTAUTH_SECRET- Secret key for the NextAuth.js authentication. -
NEXTAUTH_URL- URL for the NextAuth.js authentication callback.
Replace the placeholder values with your actual credentials. You can obtain these credentials by signing up for the corresponding websites on MongoDB and Uploadthing.
npm run devVisit http://localhost:3000 in your browser.
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.