EMPOWER YOUR ONLINE PRESENCE WITH MAGAAAZINE.
Discover, connect, and share with Magaaazine. Create a profile to receive anonymous messages, images, and files, discover other profiles, and manage your inbox and profile settings.
- Node.js v24.11.0 (see
.nvmrc) - PostgreSQL
- npm
- Next.js 16 with the App Router and React 19
- tRPC 11 and TanStack Query 5
- Prisma 7 with the PostgreSQL adapter
- Tailwind CSS 4
- UploadThing for file uploads
- Resend for password reset emails
-
Install dependencies:
npm install
-
Copy
.env.exampleto.envand configure the variables:Variable Purpose PROD_URLPublic URL of the production app DEV_URLLocal development URL, usually http://localhost:3000COOKIE_NAMEName used for the authentication cookie IMGBB_API_KEYAPI key for ImgBB image uploads IMGUR_API_KEYAPI key for Imgur image uploads UPLOADTHING_TOKENUploadThing token for file uploads RESEND_API_KEYResend API key for password reset emails JWT_SECRETSecret used to sign password reset tokens DATABASE_URLPostgreSQL connection URL -
Create the database, then apply the Prisma migrations:
npx prisma migrate dev
-
Start the development server:
npm run dev
The app will be available at http://localhost:3000.
npm run devβ start the development servernpm run buildβ generate the Prisma client and build the appnpm run startβ start the production servernpm run lintβ lint thesrcdirectory
Jerome Villaruel β @VeoScript
Production Ready
