Fitness with Friends, is a Full-Stack application designed and built using the MVC (Model View Controller) paradigm, with a server-side API with user authentication, as well as, a Node server connection, and Sequelize to interact with a MYSQL database. Express-Handlebars was one of the NPM packages used for the project. In addition, GitHub techiques such as branching, merging were used extensively. The tasks were done collaboratively but team members worked concurrently on sections of the MVC with the routes, models, and handlebars following the guidelines. Each team member assisted each other in cases where there were gaps or difficulties in the code. The project uses an open forum for the application for users to login into a user account page to view and post their activities and movements.The focus was to get goals and activites to post in the main user account page. The application can run on a localhost has been launched on Heroku. Fitness with Friends has been styled with Bootstrap and CSS.
User:
cynthia@something.com
Password:
pasword12345
Project 2 - Team 8
- Cynthia Godoy
- Ellen Furness
- Walker Jezek
- Jordan Covarrubias
NPM Packages Used:
- bcrypt 5.0.1
- colors 1.4.0
- connect-session-sequelize 7.1.3
- dotenv 16.0.1
- express 4.18.1
- express-handlebars 6.0.6
- express-session 1.17.3
- mysql2 2.3.3
- sequelize 6.19.2
- sql-template-strings 2.2.2
- Formidable A Node.js module for parsing form data, especially file uploads.
Additional Tools used:
- Trello - Kanban Board an agile methodology and a visual method for managing and processing work.
Deploying to Heroku:
Once Heroku has been installed, verify Heroku was installed on Terminal
heroku --version
Once Heroku is verified on Terminal, check your git is installed.
git --version
To direct your project to your heroku account
heroku login or heroku login i
cd ~/ PROJECT LOCATION
heroku create
Create a variable to locate Port
const port = process.env.PORT || 3001
Terminal
git status
git init
heroku create
git remote -v
git add -A
git commit -m "Pushing to Heroku"
git push heroku main
To open the application from the terminal
heroku open
- Heroku documentation on creating a Heroku remote To confirm there is a remote name heroku set on your app
git remote -v
Open to any and all contributions!
This application is covered under the MIT open source license.
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files, to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.