Heroku Link:
- Sprint 1: https://secure-badlands-86419.herokuapp.com
- Sprint 2: https://aqueous-meadow-24998.herokuapp.com
We aim to deliver an app accessible from the browser. This app will help users to remember to check in on their family and friends. The app will provide a login to allow users create scheduled reminders, and features a list of contacts with details regarding their friends and family. The user is encouraged to complete reminders which will be rewarded with a growing-tree visualization.
During the Covid-19 pandemic, being in touch with friends and family is a lot harder now, and this app will help users to stay connected with friends and family more easily.
- react-calendar library
- SQL database
- Flask
- React/JS and Bootstrap
- Google Login authentication API
- Heroku
This application uses the Google Sign-In API. You must create authorization credentials.
You need an SQL database for this application to work. At the time of writing, only PostgreSQL has been tested.
After cloning the repository, run the following commands to install the required libraries.
npm install
python3 -m pip install -r requirements.txtBoth the React and Flask apps require specific environment variables. There are two approaches to setting environment variables. The traditional way is to use the shell, e.g., in sh you would run the following command to set variable FOO to bar.
export FOO='bar'The more "modern" way is to use a .env file. This is supported in Python via the third-party python-dotenv library and is supported natively by React. Both approaches will work for this project. Here are the required environment variables:
DATABASE_URL- The URL of the database to use.FLASK_LOGIN_SECRET_KEY- Flask-Login uses this key to encrypt session cookies. This key can be any string of characters.REACT_APP_CLIENT_ID- This is the client ID you created for the Google Sign-In API.
After correctly setting the environment variables, build and run the project. The application should then be visible at http://localhost:8081.
npm run build
python3 -m app.app- Run
echo "DANGEROUSLY_DISABLE_HOST_CHECK=true" > .env.development.localin the project directory
- Create a Heroku app:
heroku create --buildpack heroku/python - Add nodejs buildpack:
heroku buildpacks:add --index 1 heroku/nodejs - Push to Heroku:
git push heroku main