Back-end server for https://github.com/MasterTemple/CSCI-450-Group-Project
Download found here.
Instructions found here.
python3 -m venv <name of venv>
source <name of venv>/bin/activate
pip install -r requirements.txt
EMAIL="lyric.of.lyrics.app@gmail.com"
APP_PASSWORD="CONTACT_ME_FOR_THIS"
LOGIN_CODE_EXPIRATION_MINUTES=5
AUTH_TOKEN_EXPIRATION_WEEKS=8
DB_NAME="lyric-of-lyric-db-001"
DB_URI="mongodb://localhost:27017/"
You can rename the .env.template
file to .env
and then fill in the APP_PASSWORD
field.
Make sure that the MongoDB background process is running
sudo systemctl start mongod
brew services start mongodb-community #(for macOS)
python app.py