Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
tusharsnx committed Jul 27, 2021
2 parents 56f06ee + c209998 commit fe2d08a
Showing 1 changed file with 22 additions and 1 deletion.
23 changes: 22 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1 +1,22 @@
# FastAPI-MongoDB
# FastAPI-MongoDB-Cloud-Storage

To run on local environment, first we need to set some enviornment variables related to configuration
-
export CLIENT_ID = your client id from the google auth server
export CLIENT_SECRET = your client secret from the google auth server
export DOMAIN = http://localhost:8000
export USERNAME = your mongodb login username
export PASS = your mongodb login pass

To run the uvicorn server
-
uvicorn main:app

To run on heroku environment, we need to save config variable in heroku setting page
-
CLIENT_ID: your client id from the google auth server
CLIENT_SECRET: your client secret from the google auth server
DOMAIN: your app domain url on heroku
USERNAME: your mongodb login username
PASS: your mongodb login pass
and then deploy the app

0 comments on commit fe2d08a

Please sign in to comment.