Skip to content

Gourav-21/annotator

Repository files navigation

⚙️ Tech Stack

👨‍💻 Getting Started

Prerequisites

Here's what you need to be able to run Annotator:

  • Node.js
  • MongoDB Database - connection string
  • UploadThing - token

💁‍♂️ Setting up the Project

First Clone the repository

git clone https://github.com/Gourav-21/annotator.git

1. go to the folder

cd annotator

2. Install npm dependencies

npm install

3. Copy the environment variables to .env.local and change the values

cp .env.example .env.local

The 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.

4. Run the dev server

npm run dev

5. Open the app in your browser

Visit http://localhost:3000 in your browser.

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.

About

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages