Best Flask open-source libraries and packages

CSC308 PolySnaps

Meet-a-Friend app developed for Cal Poly SLO students. Based off user-filled personality forms, matches will be created that can be accepted/rejected by the user in a Tinder-esque fashion.
Updated 2 years ago

CSC308

Project Structure

Main Branch - to be run locally, includes frontend and backend
Heroku Frontend - CI/CD pipeline for frontend
Heroku Backend - CI/CD pipeline for backend

Javascript Style Guide / Formatter

Prettier: https://prettier.io/
Open VSCode, install Prettier extension
Use before pushing updates to js/jsx files: in command line, execute 'npx prettier --write .'

Python Style Guide / Linter

Pylint (PEP8): https://www.pylint.org/
Execute command in terminal: python -m pip install pylint
Open VSCode, ctrl+shift+P <Python: Select Linter>
To use: save file, or ctrl+shift+P <Python: Run Linter>
outputs to Problems tab

Running frontend

In frontend directory, execute 'npm install', then 'npm start'

Running backend

In backend directory, execute 'pipenv shell'
Execute 'export FLASK_APP=app.py', then 'export FLASK_ENV=development'
Execute 'flask run'

Running local unit/integration tests

In backend directory, execute 'pytest testing.py'

Travis CI

https://travis-ci.com/github/ericta-portfolio/CSC308-PolySnaps

Build Status

Heroku CD

dashboards:
backend - https://dashboard.heroku.com/apps/polysnaps-be
frontend - https://dashboard.heroku.com/apps/polysnaps-fe
deployed apps:
backend - https://polysnaps-be.herokuapp.com/
frontend - https://polysnaps-fe.herokuapp.com/

Code Coverage Report

Screen Shot 2021-05-31 at 1 01 28 PM

Note: testing for frontend is carried out via Cypress and is not included in this metric
Tags form forms user