Giter VIP home page Giter VIP logo

rajgurung / keepmefiit.com Goto Github PK

View Code? Open in Web Editor NEW
8.0 3.0 5.0 4.84 MB

:running: 🚴 :swimmer: NextGenFitnessApp :bento: Moved to https://github.com/hobbyist-team/keepmefiit_backend/

Home Page: http://keepmefiit.com

Ruby 71.33% HTML 23.54% Dockerfile 0.18% JavaScript 0.63% CoffeeScript 0.59% CSS 3.74%
nextgenfitnessapp meals meal-planner workouts workout-planner e-commerce personal-trainer fitness-app fitness fitness-social-platform

keepmefiit.com's Introduction

KeepMeFiit - NextGenFitnessApp Codeship Status for rajgurung/blog StackShare

https://rajgurung.github.io/keepmefiit.com/

  • Dashboard
  • Thrid Party API integration
  • Omniauth
  • Connection
  • E-commerce
  • Online Magazine/subscription basis

Alt Text

Postgres Installation & Schema load

Step 1: If you have homebrew already. Skip to 2.

/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"

Step 2: Install Postgresql with brew

brew install postgresql

Step 3: make sure Postgres starts every time your computer starts up. Execute the following command:

pg_ctl -D /usr/local/var/postgres start && brew services start postgresql

Step 4: make sure Postgres is installed and running. Let’s check what version is running:

Postgres -v

###Your PG db is set up. Onto the next step to create Role.

Step 1: open postgres, this will open up Postgres terminal

psql postgres

Step 2: create role

CREATE ROLE keepmefiit WITH LOGIN PASSWORD ‘generate your password form rails console => SecureRandom.uuid’;

Step 3: give permission to create db

ALTER ROLE keepmefiit CREATEDB;

Step 4: check attributes, you should see ‘Create DB’ next to your Role name

\du

Step 5: quit from terminal

\q 

Step 6: login from terminal using keepmefiit

psql postgres -U keepmefiit

Step 7: create database

CREATE DATABASE keepmefiit;

Step 8: Once this is done, you need to add at least one user who has permission to access the database (aside from the super users, who can access everything)

GRANT ALL PRIVILEGES ON DATABASE keepmefiit TO keepmefiit;

Step 9: list all pg database

\list

Step 10: connect to specific database

\connect keepmefiit

Step 11: to quit from psql terminal

\q

###Ok that it we are ready to setup our db.

Step 12: In your project root, run below.

bundle exec rake db:setup

keepmefiit.com's People

Contributors

dependabot[bot] avatar rajgurung avatar ys00065 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

keepmefiit.com's Issues

Personal trainer public profile.

  • Community ratings
  • Followers, followings
  • Qualification
  • Social Media links
  • Blog posted
  • Motto
  • Photos/Videos
  • Total Products
    • i.e. work-out, meal-plan and one-2-one consultation.

Create a workout tracker.

Beautifully Create, Manage, Track, Chart & Predict Exercises

  • Create and manage exercise.
  • Track, Add, Edit, Delete exercise based on created exercises.
    • sets, reps, split set, hypertrophy, customisable.
  • Show it in chart of highest exercise performed monthly, quarterly and yearly.
    • number of reps performed, sets and time taken, calories burnt.
  • Predict the exercises that a user is likely to perform based on historical data.
  • Private or Public.
    • If private don't release the workout to world unless otherwise.

Make it billable

  • If you are personal trainer, make it billable.
  • Set a price to buy.
  • Demo.
  • Workout will be rated i.e. 7.5/10

Create a meal planner.

Beautifully Create, Manage, Track, Chart & Suggestion Meals

  • Create and manage meal.
  • Track, Add, Edit, Delete meal based on created meals.
    • proteins, carbs, fats
  • Show it in chart the most amount of meal eaten monthly, quarterly and yearly.
    • number of grams, calories consumed.
  • Predict new meals that a user is likely to eat based on historical data.
  • Private or Public.
    • If private don't release the to world unless otherwise.

Make it billable

  • If you are personal trainer, make it billable.
  • Set a price to buy.
  • Demo.
  • Workout will be rated i.e. 7.5/10

Chat application forum.

  • Do this in Elixir VM.
    • channel, queue, subscribe, subscription, publish
  • Create a group for messaging.
  • Join chat group.
  • Ask for group and chat id from rails, based on this elixir will open up a connection-chat portal.
    • store if group is still active/inactive, closed and the amount of time the data will be held on db.
    • TBD if data will be persisted ever.

User Dashboard

  • Display News Feed
  • Daily Stats
  • Global Leaderboard
  • Display the workout of the day
  • Display the meal of the day
  • Connections
  • Community standing

screen shot 2017-02-07 at 13 17 51

Create a workout tracker.

Beautifully Create, Manage, Track, Chart & Predict Exercises

  • Create and manage exercise.
  • Track, Add, Edit, Delete exercise based on created exercises.
    • sets, reps, split set, hypertrophy, customisable.
  • Show it in chart of highest exercise performed monthly, quarterly and yearly.
    • number of reps performed, sets and time taken, calories burnt.
  • Predict the exercises that a user is likely to perform based on historical data.
  • Private or Public.
    • If private don't release the workout to world unless otherwise.

Make it billable

  • If you are personal trainer, make it billable.
  • Set a price to buy.
  • Demo.
  • Workout will be rated i.e. 7.5/10

Personal Trainer Dashboard.

  • Create & manage
    • tailored workout
    • tailored meal-plan
    • white-labeled workout
    • white-labeled meal-plan
    • one-to-one consultation
  • Price for
    • each product
    • one-to-one consultation
  • Show high-level
    • Paying clients,
    • Total Revenue for a the month,
    • Total Profile view for a day, weeks and a month,
    • Number of followers,
    • Community Standing

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.