All the APIs are developed in node js & frontend in vuejs
-
Please open the following ports
4000 port for frontend 4080 port for the webserver
-
if you want to set up the SSL we recommend using this URL and following for Nginx
-
To configure any domain you have to set up the Nginx Reverse Proxy on your Ubuntu system, you can follow this article for more detail
https://www.hostinger.in/tutorials/how-to-set-up-nginx-reverse-proxy/
Make sure you set the port
4000
so that your configured domain opens the URL on that specific port
- Following variables you need to change as per your requirements in
docker-compose.yml
GOOGLE_CREDENTIALS
//A JSON used to authenticate with google for the sign-in process (Check Google sign-in setup section)JWT_SECRET
//Secret used to verify JWT TokenDB_NAME
//MongoDB database nameFRONT_URL
//You need to change it with your origin domain
Please create a project in Google Cloud Console and follow the below setups to configure the Sign in button
-
You have to set up the google credentials, please follow the given link and generate the JSON file and replace it with
GOOGLE_CREDENTIALS
https://developers.google.com/workspace/guides/create-credentials -
You also have to set up the OAuth consent https://developers.google.com/workspace/guides/configure-oauth-consent
-
Please enable the
Google API
andPeople API
from APIs & Services section -
Following scopes you have to define while configuring the OAuth Consent form
-
Clone the repo
git clone [email protected]:raisingthefloor/rtf-simplegmail.git
-
Switch to the main branch
git checkout main
-
Build docker image from source using the composer command
docker-compose build --no-cache
-
Run the docker image
docker-compose up -d