Update participant and study API routes

This commit is contained in:
2024-09-25 22:13:29 -04:00
parent 33d36007c8
commit ccc3423953
36 changed files with 1448 additions and 228 deletions

View File

@@ -1,6 +1,3 @@
# Use Docker Compose file format version 3.9
# version: '3.9'
services:
app:
build:
@@ -8,13 +5,15 @@ services:
dockerfile: Dockerfile
ports:
- '3000:3000' # Node.js
- '4983:4983' # Drizzle Studio
# - '4983:4983' # Drizzle Studio
volumes:
- .:/app
- /app/node_modules
environment:
NODE_ENV: development
command: ["pnpm", "run", "dev"]
command: ["sh", "-c", "pnpm db:push && pnpm run dev"]
depends_on:
- db
db:
image: postgres
@@ -33,6 +32,6 @@ services:
restart: always
ports:
- 8080:8080
volumes:
postgres: