- Pull mongo image through podman
podman pull docker.io/library/mongo- Start a mongodb database
podman run --name mongo -d -p 27017:27017 mongoCreate a .env.local file and add the environment variables.
touch .env.localBETTER_AUTH_SECRET="" # openssl rand -base64 32
MONGODB_URI="mongodb://localhost:27017" # MongoDB connection string
RESEND_API_KEY="CONSOLE" # Display signin OTP in console. Replace by Resend API Key to send real emails.
BLOB_READ_WRITE_TOKEN="" # Blob read/write token for vercel storage
DISCORD_CLIENT_ID=""
DISCORD_CLIENT_SECRET=""
- Start dev server
npm run devBuild the app with:
npm run buildDev server doesn't run full analysis and type cheking. Run build to detect build issues.