Skip to main content

Database

Nextfast uses Prisma ORM and use MongoDB database.

##🔧 Setup

  1. Create a new project and deploy a cluster on MongoDB Atlas

  2. Make sure you can access your database from your host(vercel for example). Click Network Access then [+ Add IP Address]. Enter 0.0.0.0/0 to access everywhere. This allows connections from your local development and production deployment.

  3. Update your .env DATABASE_URL with your mongodb connection string;