Skip to content

Commit

Permalink
example env created
Browse files Browse the repository at this point in the history
  • Loading branch information
SantiagoG14 committed Jan 13, 2024
1 parent 4074a6d commit fc36774
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# <img src="https://raw.githubusercontent.com/hcp-uw/societas/main/img/SCR-20230408-ldac.png" width="35" alt="societas logo"> Societas
# <img src="./client/public/logo.png" width="35" alt="societas logo"> Societas

Societas is a website that creates a judgement-free zone to empower creative UW individuals to find like-minded people to make their dream and goals come true.

Expand Down
11 changes: 11 additions & 0 deletions server/.env.example
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@

# Environment variables declared in this file are automatically made available to Prisma.
# See the documentation for more detail: https://pris.ly/d/prisma-schema#accessing-environment-variables-from-the-schema

# Prisma supports the native connection string format for PostgreSQL, MySQL, SQLite, SQL Server, MongoDB and CockroachDB.
# See the documentation for all the connection string options: https://pris.ly/d/connection-strings

DATABASE_URL=

# clerk
CLERK_SECRET_KEY=
1 change: 1 addition & 0 deletions server/src/db.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// this is known a singleton that way there is always just one connection to the database
import { PrismaClient } from "@prisma/client"

const globalForPrisma = globalThis as unknown as {
Expand Down

0 comments on commit fc36774

Please sign in to comment.