1
0
Fork 0

fix(backend): Proper import of archived repo

Not really sure what happened, but clearly when I imported our backend
code into our monorepo, it was not the latest version.

So I'm fixing this now by putting in the latest code. I will re-apply
the changes since later.
This commit is contained in:
Joost De Cock 2022-01-01 15:18:27 +01:00
parent bcfb919172
commit ca8ceb1a30
90 changed files with 4337 additions and 2693 deletions

View file

@ -1,15 +1,9 @@
# If you're behind a proxy, set it here:
http_proxy="http://my.proxy.acme.net:8080"
https_proxy="http://my.proxy.acme.net:8080"
no_proxy="acme.net"
# Location of the freesewing backend
# Where to find things
FS_BACKEND=http://localhost:3000
FS_STATIC=https://static.freesewing.org
FS_STORAGE=/some/folder/on/my/disk
# Location of the freesewing frontend (website)
FS_SITE=http://localhost:8000
# Connection string for the mongo database
# Database
FS_MONGO_URI="mongodb://localhost/freesewing"
# If you're using docker-compose, use 'mongo' as hostname:
#FS_MONGO_URI="mongodb://mongo/freesewing"
@ -17,38 +11,23 @@ FS_MONGO_URI="mongodb://localhost/freesewing"
# Secret to encrypt data in mongo
FS_ENC_KEY=secretKeyThatYouShouldChange
# The JSON web token issuer
FS_JWT_ISSUER=freesewing.org
# SMTP (email)
FS_SMTP_USER=user
FS_SMTP_PASS=password
FS_SMTP_HOST=localhost
FS_SMTP_PORT=1025
# SMTP gateway to send outgoing email through
FS_SMTP_HOST=smtp.google.com
# Signing on/Logging in via Github or Google requires you to configure Oauth:
#
# - For Github: https://github.com/settings/developers
# - For Google: https://console.developers.google.com/apis/credentials
# Username for the SMTP gateway
FS_SMTP_USER="your.user@gmail.com"
# Password for the SMTP gateway
FS_SMTP_PASS=yourPassword
# Signing on/Logging in via Github or Google requires
# you to configure API access:
# For Github: https://github.com/settings/developers
# For Google: https://console.developers.google.com/apis/credentials
# Github client ID
FS_GITHUB_CLIENT_ID=yourGithubClientID
# Github client secret
FS_GITHUB_CLIENT_SECRET=yourGithubClientSecret
# Google client ID
FS_GOOGLE_CLIENT_ID=yourGoogleClientID
# Google client secret
FS_GOOGLE_CLIENT_SECRET=yourGoogleClientSecret
# If you want to use docker-compose to spin up the backend
# and a mongo database, you'll need these too:
# Mongo root user
MONGO_INITDB_ROOT_USERNAME=root
# Mongo root password
MONGO_INITDB_ROOT_PASSWORD=changeMe
# Oauth
FS_GITHUB_CLIENT_ID=someLongID
FS_GITHUB_CLIENT_SECRET=someEvenLongerSecret
FS_GOOGLE_CLIENT_ID=someLongId
FS_GOOGLE_CLIENT_SECRET=someEvenLongerSecret
# Github token (for creating issues)
FS_GITHUB_TOKEN=yourTokenHere