Skip to content
Open
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
2 changes: 1 addition & 1 deletion apps/backend/db/.env.dev
Original file line number Diff line number Diff line change
@@ -1 +1 @@
DATABASE_URL=postgresql://branch_dev:password@localhost:5433/branch_db
DATABASE_URL=postgresql://branch_dev:password@localhost:5432/branch_db
46 changes: 45 additions & 1 deletion apps/backend/lambdas/projects/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,51 @@ paths:
properties:
ok:
type: boolean

/projects:
get:
summary: GET /projects
responses:
'200':
description: OK
/projects/{id}/donors:
get:
summary: GET /projects/{id}/donors
/projects/{id}:
get:
summary: GET /projects/{id}

parameters:
- in: path
name: id
required: true
schema:
type: string
responses:
'200':
description: OK

/projects/{id}:
put:
summary: PUT /projects/{id}
parameters:
- in: path
name: id
required: true
schema:
type: string
responses:
'200':
description: OK

/projects/{id}:
put:
summary: PUT /projects/{id}
parameters:
- in: path
name: id
required: true
schema:
type: string
post:
summary: POST /projects
requestBody:
Expand All @@ -38,3 +81,4 @@ paths:
responses:
'200':
description: OK

Loading