Mantis is an issue tracker built with Next.js, Tailwindcss, RadixUI, and Supabase. The initial codebase was from a course by Mosh Hamedani.
Make sure you have the following software installed on your system:
git clone https://github.com/ZiyadBoshima/Mantis
cd Mantis
npm install
- Create a Supabase database for your project.
- Copy the .env.example file to .env and update the database connection details.
cp .env.example .env
Open the .env file and update the following:
DATABASE_URL=""
DIRECT_URL=""
NEXTAUTH_URL="http://localhost:3000"
NEXTAUTH_SECRET=""
The DIRECT_URL field is required for Supabase to work.
Run Prisma migrations to create database tables.
npx prisma migrate dev
Start the Development Server
npm run dev
Your Next.js app should now be running at http://localhost:3000.