Skip to content

Apsistec/rankfantasysportsapp

Repository files navigation

rankfantasysportsapp

A subscription based cross-platform web-app delivering a unique suite of highly relevent, effective NFL, NCAA, NBA, PGA, & Tennis data-tables enabling daily fantasy sports players to efficiently create DFS platform lineups that win more and more often!

  • Pick More Winning 🏈 🏀 🎾 ⛳ Lineups

  • Win 🥇 🏆 🏅 More Often

  • Win More 💲 💵 💰

Rank Fantasy $ports™ PWA

What is RankFantasySports.com?

  1. A suite of sports related datatables and data-analysis tools with which a collection of data-sets and a proprietary data-set is compiled and analyzed. The data is then presented in a meaningful and highly effective way enabling subscribers to use the data as a guide for effeciently creating daily fantasy sports lineups that win more, more often.
  2. A progressive web app, PWA, enabling features such as in-app messaging and alerts, group messaging, file control, camera control, microphone control, home screen app installation, and other features that work cross-platform, on most devices that have a browser.

Tech Stack

  • Ionic 4
  • Angular 7/8
  • Cordova
  • Angular Material
  • Stripe
  • Firebase
    • Firestore
    • Static Hosting
    • Cloud Functions
    • Authenticaation
    • Storage
    • Analytics
    • Extensions
      • Sendgrid

Structure of App

  • Purchase is for all Stripe related actions which uses CLoud Functions to facilitate securely
  • Testimonials uses the swiper carousel to display the list of slides/images of latest winning screenshots
  • Auth-stage holds all user related pages components and side menus, both before and after authentication
  • _shared holds all of the components, overlays, and modals that are used on more than one or even every page
  • sports-categories holds all of the available product categories and
  • Nested under each category in sports-categories are the affiliated for purchase data-table pages
  • user-tickets is the user trouble ticket area for users to make requests for changes, bug reports, user issues
  • admin-dashboard is the control panel for admins of the app to see current members trouble tickets, see all existing members, admin functions (todo) to create reports on usage/activity, other reports and graphs)

Table of Contents

Installation

  1. Obtain Repo

    Clone this repo to your local machine using

    git clone https://github.com/apsistec/rfs
  2. Setup

    1. Install App code via npm

      npm install
    2. Install Cloud Functions

      1. Verify correct Service Account Key (accountServiceKey.json) is set in the /functions directory, else create a new Service Account Key by going to Firebase Admin SDK Settings to create a new one

      2. Verify the correct Stripe Secret Key (Test vs. Live) is configured (from the Stripe account dashoard)

        cd functions
        firebase functions:config:get
        firebase functions:config:set
      3. Verify the correct Stripe Webhook Key (Test vs. Live) is configured (from the Stripe account dashoard)

        cd functions
        firebase functions:config:get
        firebase functions:config:set
      4. CD back to app directory

        npm i
        cd ..
  3. Attach Firebase Project to App

    1. Attach Firebase Project

      firebase use --add
    2. Initialize Firebase

      firebase init
    3. Deploy Firebase Locally (Emulator) -or- Live Testing Server (depending on state)

      1. Emulator (local server)

        firebase emulators:start --only functions
        firebase serve
      2. Firebase Servers (live testing server)

        firebase deploy --only functions
        firebase deploy --only hosting
        firebase deploy
  4. Start App Server

    Start Ionic Server with local lab flag for viewing emulated view of Android and iPhone view* and DevApp flag for testing on physical mobile devices that are currently on local network (must have DevApp App installed on devices)

    ionic serve -l --devApp

Documentation

Start Documentation Server

npm run compodoc

Contributing

To get started...

Step 1 Install Repo

  • Option 1️⃣

    🔱 Fork this repo:

    https://github.com/apsistec/rfs
  • Option 2️⃣

    Clone this repo to your local machine:

    git clone https://github.com/apsistec/rfs.git

Step 2 Code your Code

  • Option 1️⃣

    Add previously approved new code

      baz = foo(bar) * foo(bar)
      betterBaz = foo(bar^2)

-or-

  • Option 2️⃣

    🔍Find then 🔧work on the previously approved changes and/or refactoring code

      newFoo(bar2)
      fooBar(newBaz)

Step 3 Pull Request

  • 🔃 Create a Pull Request at

    https://github.com/Apsistec/rfs/pulls

Step 4 Submit for Review and Acceptance

  • Submit! 🍺

Contributors/People

Apsistec

Support

Reach me at any of the following 🔗sites:


fixed

Copyright 2021 © RankFantasySports

About

Hybrid Native Apps built with Ionic, Capacitor, and Angular

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published