Nav apraksta

rota3015 ba076dab5c Changed the logic for email engine and backend also changed the from email address to send mail 1 nedēļu atpakaļ
config e08aeee91b Updated dbConfig.js file to separate logic from email engine 1 nedēļu atpakaļ
controllers ba076dab5c Changed the logic for email engine and backend also changed the from email address to send mail 1 nedēļu atpakaļ
models beb65349b6 first commit 5 mēneši atpakaļ
routes beb65349b6 first commit 5 mēneši atpakaļ
README.md 897277ae13 Update 'README.md' 1 mēnesi atpakaļ
_site.zip e9a136494d added zip file 2 mēneši atpakaļ
app.js beb65349b6 first commit 5 mēneši atpakaļ
package-lock.json c97ff664d5 integradted email engine 5 mēneši atpakaļ
package.json c97ff664d5 integradted email engine 5 mēneši atpakaļ
run.sh 055fb04c13 Added run.sh 1 nedēļu atpakaļ

README.md

Backend

  • Our code is present at /app/data/public/communityRuleBackend.
  • Our backend is being running on port 3000.
  • Internally, there is one run.sh which is responsible to run any script on start of the server. We are running another run.sh which is in our public/communityRuleBackend/run.sh which is kind of for loop which will keep on running and check every 30 mins if our backend is working or not if it is not working it will start the backend.
  • Our database is also present in the same cloudrun environment
  • We are using email engine provided by cloudrun
  • Details regarding database and email is present in code dbConfig and emailConfig