add npm run mongo:start to quickly spin up fake replicated mongodb server for prisma

This commit is contained in:
Brandon Egger
2023-03-15 03:50:58 -05:00
parent ad75aea294
commit ffab3010b3
3 changed files with 2 additions and 25 deletions

View File

@ -6,13 +6,6 @@
# secrets in it. If you are cloning this repo, create a copy of this file named
# ".env" and populate it with your secrets.
# When adding additional environment variables, the schema in "/src/env.mjs"
# should be updated accordingly.
# Prisma
# https://www.prisma.io/docs/reference/database-reference/connection-urls#env
DATABASE_URL="file:./db.sqlite"
# Next Auth
# You can generate a new secret on the command line with:
# openssl rand -base64 32
@ -22,7 +15,7 @@ NEXTAUTH_URL="http://localhost:3000"
# MongoDB
# mongo DB details
MONGO_DATABASE=
MONGO_DATABASE=atr_db
DATABASE_URL=
MONGO_ROOT_USERNAME=
MONGO_ROOT_PASSWORD=