The backend code for Project Pipeline, coded with Vapor 4.
- For the app to work you must add a
config.json
(ignored by git) containing the following contents to the project's directory.
{
"googleClientID": "your client id",
"googleClientSecret": "your client secret",
"googleCallbackURL": "your callback url",
"mongoURL": "your mongo url in base64 encoded form",
"cloudinaryAPISecret": "cloudinary API secret",
"unrestrictedCORS": "true/false",
"websiteUrl": "url of the website" // would be http://localhost:4200 on dev mode
}
- Run
source setup.sh
to setup the essential environmental variables for this project.