Skip to content

🏃🏼‍♂️⏰This a web app used to log exercises. A user can create an account with a username, create groups, create an exercise and group them. Built with Ruby on Rails.

Notifications You must be signed in to change notification settings

ahmadchata/logxercise

Repository files navigation

Logxercise

Project Description

This project is a web application for EXERCISES built with Ruby on Rails demonstrating learned concepts in rails.

It involves tracking the exercises of a registered User, and how much time was spent on the exercise.

The project also includes a number of features such as User sign up and sign in, creating groups, assigning exercises to a group and vice-versa. e.t.c

Screenshots

Profile Page Exercises Page
Groups page

Built With

  • Ruby 2.7.2
  • Ruby on Rails 6.1.1
  • Postgresql 13.1
  • Bootstrap

Tested with

  • Rspec
  • Capybara

Get Started

Prerequisites

  1. You should have ruby installed.(This project was tested on version 2.7.2)
  2. You should have rails installed.(This project was tested on version 6.1.1)
  3. You should have bundler installed.(This project was tested with Bundler version 2.1.4)
  4. You should have Postgresql installed.(This project was built with version 13.1)

Steps to follow

  1. Clone the repository to your local machine using git clone git@github.com:ahmadchata/logxercise.git

  2. On your local machine, navigate to the logxercise folder using cd logxercise in your terminal

  3. Install all the gems for the project by running bundle in your terminal

  4. Create database using the following command rails db:create

  5. Migrate the database using the following command rails db:migrate

  6. Start the server by using the following command. bin/rails server

  7. Open this link in your favorite browser http://localhost:3000

Testing the project

Pre-requisites

  • Image Magick must be installed

Instructions

  1. Clone the repository to your local machine using git clone git@github.com:ahmadchata/logxercise.git
  2. On your local machine, navigate to the logxercise folder using cd logxercise in your terminal
  3. Create a new branch using git checkout -b testing_branch
  4. Run bundle install
  5. run rspec

Live Demo

Contributions

There are two ways of contributing to this project:

  1. If you see something wrong or not working, please check the issue tracker section, if that problem you met is not in already opened issues then open the issue by clicking on new issue button.

  2. If you have a solution to that, and you are willing to work on it, follow the below steps to contribute:

    1. Fork this repository
    2. Clone it on your local computer by running git clone git@github.com:ahmadchata/logxercise.git Replace ahmadchata with the username you use on github
    3. Open the cloned repository which appears as a folder on your local computer with your favorite code editor
    4. Create a separate branch off the master branch,
    5. Write your codes which fix the issue you found
    6. Commit and push the branch you created
    7. Raise a pull request, comparing your new created branch with our original master branch here

Authors

👤 Ahmad Chata

Show your support

Give a ⭐️ if you like this project!

Acknowledgments

About

🏃🏼‍♂️⏰This a web app used to log exercises. A user can create an account with a username, create groups, create an exercise and group them. Built with Ruby on Rails.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published