Skip to content
This repository has been archived by the owner on Dec 10, 2023. It is now read-only.

Commit

Permalink
Switched to postgres and added s3 for file storage. (#125)
Browse files Browse the repository at this point in the history
* se

* removed purane paap

* added new env variables in readme
  • Loading branch information
GammaMicrowave committed May 10, 2023
1 parent 9cfba8f commit 8d611ff
Show file tree
Hide file tree
Showing 8 changed files with 4,458 additions and 967 deletions.
77 changes: 0 additions & 77 deletions .replit

This file was deleted.

6 changes: 5 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -125,8 +125,12 @@ You need npm/yarn installed in your local machine in order to run this app.
## Enviornment Variables

- MONGO_DB_CONN_STRING : required
- POSTGRES_CONN_STRING = required
- POSTGRES_CONN_STRING : required
- SECRET : (random string) required
- S3_ACCESS_KEY_ID : required if submitting
- S3_ACCESS_KEY_SECRET : required if submitting
- S3_BUCKET_REGION : required if submitting
- S3_BUCKET_NAME : required if submitting
- GOOGLE_OAUTH_CLIENT_ID : optional
- GOOGLE_OAUTH_CLIENT_SECRET : optional
- GOOGLE_RECAPTCHA_SITE_KEY : optional
Expand Down
5 changes: 5 additions & 0 deletions config/multer.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
import multer from "multer";

const storage = multer.memoryStorage();
const upload = multer({ storage });
export default upload;
Loading

0 comments on commit 8d611ff

Please sign in to comment.