FitHub allows users to create, organize and follow playlists of exercises- allowing for a convenient, centralized, and easy workout experience.
- Flutter/Dart - Client
- Node/ExpressJS - Server
- Amazon S3 - Media Storage
- PostgreSQL - Database
- Firebase Authentication - Authentication
- Firebase Hosting - Client Deployment
- Amazon EC2 - Server Deployment
- Amazon RDS - Database Deployment
- Yarn
- Postgres
- When installing, use the default password "postgres"
- For macOS users, suggested installation is through homebrew
- Postico
- This is specific to macOS users.
- Run
yarn install
to install all dependencies
Make a copy of sample.env
, rename it to .env
, and fill out the environment variables.
All database commands must start with yarn sequelize-cli
due to changes in path structure.
- Start the postgres server.
- Run
yarn sequelize-cli init
to setup the project. - Run
yarn sequelize-cli db:create
- This command only setups the dev database. There will also be databases for testing and production.
- Run
yarn sequelize-cli db:migrate
to run the pending migrations. Any changes to the tables must take place through migrations. Ensure changes are also updated in the model files. - Setup Postico using the same values in the
.env
- Start the server.
- Ensure all tables and attributes are correct. Check that tables are populated as intended.
If you are interested in running other commands, run yarn sequelize-cli --help
Have an idea on how to make FitHub greater? Check out our Contributing Doc!