Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .env.sample
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
NODE_ENV=development or production
NEXT_PUBLIC_CLIENT_URL=http://localhost:3000 or https://sourcejump.net
NEXT_PUBLIC_API_URL=${NEXT_PUBLIC_CLIENT_URL}/api
DATABASE_URL=
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ yarn-error.log*

# local env files
.env*.local
.env

# vercel
.vercel
Expand Down
11 changes: 11 additions & 0 deletions drizzle.config.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
import 'dotenv/config';
import { defineConfig } from 'drizzle-kit';

export default defineConfig({
out: './drizzle',
schema: './src/db/schema',
dialect: 'postgresql',
dbCredentials: {
url: process.env.DATABASE_URL!,
},
});
10 changes: 7 additions & 3 deletions openapi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ paths:
description: Name of the map
responses:
'200':
description: A Map opject
description: A Map object
content:
application/json:
schema:
Expand Down Expand Up @@ -192,7 +192,11 @@ paths:
$ref: '#/components/schemas/Run'
responses:
'201':
description: created
description: Run successfully created
content:
application/json:
schema:
$ref: '#/components/schemas/Run'
'400':
$ref: '#/components/responses/Invalid'
'401':
Expand Down Expand Up @@ -318,7 +322,7 @@ components:
type: string
required:
- code
- string
- message
# General response objects
Map:
type: object
Expand Down
Loading
Loading