Skip to content

Commit

Permalink
Switch to tRPC (lukevella#173)
Browse files Browse the repository at this point in the history
  • Loading branch information
lukevella authored May 18, 2022
1 parent 3d7e7e8 commit 2c4157e
Show file tree
Hide file tree
Showing 245 changed files with 1,584 additions and 1,754 deletions.
21 changes: 11 additions & 10 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -74,16 +74,17 @@ yarn start

## ⚙️ Configuration

| Parameter | Default | Description |
| --------------- | ---------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------- |
| DATABASE_URL | postgres://postgres:postgres@rallly_db:5432/db | A postgres database URL. Leave out if using the docker-compose file since it will spin up and connect to its own database instance. |
| SECRET_PASSWORD | - | A long string (minimum 32 characters) that is used to encrypt session data. |
| SUPPORT_EMAIL | - | An email address that will appear as the FROM email for all emails being sent out. |
| SMTP_HOST | - | Host name of your SMTP server |
| SMTP_PORT | - | Port of your SMTP server |
| SMTP_SECURE | false | Set to "true" if SSL is enabled for your SMTP connection |
| SMTP_USER | - | Username to use for your SMTP connection |
| SMTP_PWD | - | Password to use for your SMTP connection |
| Parameter | Default | Description |
| -------------------- | ---------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------- |
| NEXT_PUBLIC_BASE_URL | http://localhost:3000 | The hosting url of the server, used for creating links and making api calls from the client. |
| DATABASE_URL | postgres://postgres:postgres@rallly_db:5432/db | A postgres database URL. Leave out if using the docker-compose file since it will spin up and connect to its own database instance. |
| SECRET_PASSWORD | - | A long string (minimum 32 characters) that is used to encrypt session data. |
| SUPPORT_EMAIL | - | An email address that will appear as the FROM email for all emails being sent out. |
| SMTP_HOST | - | Host name of your SMTP server |
| SMTP_PORT | - | Port of your SMTP server |
| SMTP_SECURE | false | Set to "true" if SSL is enabled for your SMTP connection |
| SMTP_USER | - | Username to use for your SMTP connection |
| SMTP_PWD | - | Password to use for your SMTP connection |

## 👨‍💻 Contributors

Expand Down
23 changes: 0 additions & 23 deletions api-client/add-participant.ts

This file was deleted.

18 changes: 0 additions & 18 deletions api-client/create-comment.ts

This file was deleted.

7 changes: 0 additions & 7 deletions api-client/create-demo.ts

This file was deleted.

21 changes: 0 additions & 21 deletions api-client/create-poll.ts

This file was deleted.

17 changes: 0 additions & 17 deletions api-client/delete-participant.ts

This file was deleted.

14 changes: 0 additions & 14 deletions api-client/get-poll.ts

This file was deleted.

20 changes: 0 additions & 20 deletions api-client/update-participant.ts

This file was deleted.

25 changes: 0 additions & 25 deletions api-client/update-poll.ts

This file was deleted.

145 changes: 0 additions & 145 deletions components/poll/mutations.ts

This file was deleted.

63 changes: 0 additions & 63 deletions components/user-profile/guest-session.tsx

This file was deleted.

1 change: 1 addition & 0 deletions declarations/environment.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ declare global {
DATABASE_URL: string;
NODE_ENV: "development" | "production";
SECRET_PASSWORD: string;
NEXT_PUBLIC_LEGACY_POLLS?: string;
NEXT_PUBLIC_MAINTENANCE_MODE?: string;
PLAUSIBLE_DOMAIN?: string;
NEXT_PUBLIC_CRISP_WEBSITE_ID?: string;
Expand Down
Loading

0 comments on commit 2c4157e

Please sign in to comment.