Database
Nextfast uses Prisma ORM and use MongoDB database.
##🔧 Setup
-
Create a new project and deploy a cluster on MongoDB Atlas
-
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.
-
Update your
.env
DATABASE_URL with your mongodb connection string;