|
46 | 46 |
|
47 | 47 | ## API Usage |
48 | 48 |
|
49 | | -- Entry: http://localhost:8080/ |
50 | | -- Document: http://localhost:8080/docs/ |
51 | | -- Schema: http://localhost:8080/docs/spec/ |
52 | | -- Type: https://github.com/idea2app/REST-Node-ts/pkgs/npm/rest-node-ts |
| 49 | +- Entry: http://localhost:8080/ |
| 50 | +- Document: http://localhost:8080/docs/ |
| 51 | +- Schema: http://localhost:8080/docs/spec/ |
| 52 | +- Type: https://github.com/idea2app/REST-Node-ts/pkgs/npm/rest-node-ts |
53 | 53 |
|
54 | 54 | ## Environment variables |
55 | 55 |
|
56 | | -| Name | Usage | |
57 | | -| :------------: | :--------------------------: | |
58 | | -| `APP_SECRET` | encrypt Password & Token | |
59 | | -| `DATABASE_URL` | PostgreSQL connection string | |
| 56 | +| Name | Usage | |
| 57 | +| :------------------------: | :--------------------------: | |
| 58 | +| `APP_SECRET` | encrypt Password & Token | |
| 59 | +| `DATABASE_URL` | PostgreSQL connection string | |
| 60 | +| `SUPABASE_PROJECT_URL` | [Supabase][24] project URL | |
| 61 | +| `SUPABASE_ANON_KEY` | Supabase anon key | |
| 62 | +| `AWS_S3_END_POINT` | [AWS S3][25] endpoint URL | |
| 63 | +| `AWS_S3_BUCKET` | AWS S3 bucket name | |
| 64 | +| `AWS_S3_ACCESS_KEY_ID` | AWS S3 access key id | |
| 65 | +| `AWS_S3_SECRET_ACCESS_KEY` | AWS S3 secret access key | |
| 66 | +| `AWS_S3_PUBLIC_HOST` | AWS S3 public host | |
60 | 67 |
|
61 | 68 | ## Development |
62 | 69 |
|
@@ -143,3 +150,5 @@ git push origin master --tags |
143 | 150 | [21]: https://github.com/kaiyuanshe/kaiyuanshe.github.io/blob/bb4675a56bf1d6b207231313da5ed0af7cf0ebd6/.github/workflows/pull-request.yml#L32-L56 |
144 | 151 | [22]: https://github.com/idea2app/REST-Node-ts/issues/new/choose |
145 | 152 | [23]: https://github.com/idea2app/REST-Node-ts/projects |
| 153 | +[24]: https://supabase.com/ |
| 154 | +[25]: https://aws.amazon.com/s3/ |
0 commit comments