fullstrapp
Fastest route to MVP, launch your app today.
Last updated 3 months ago by eddedd .
MIT · Bugs · Original npm · Tarball · package.json
$ cnpm install fullstrapp 
SYNC missed versions from official npm registry.

fullstrapp

Launch a production ready PWA in very little time, without compromising on scalability and quality.

This project tries to make as many opinionated choices as possible about the dev stack, in a sensible manner, in order to quickly build a product that could sustain a significant amount of traffic/users.

The following choices have been made:

  • React front-end framework
  • create-react-app as a starting project which provides: testing (jest), linting and building
  • material-ui component library
  • Progressive Web App mobile first development approach
  • Typescript for type checking
  • prettier for formatting code base
  • Firebase for Hosting, Database (Firestore), and Authentication
  • CircleCI to automate tests and deploys
  • Google Analytics to track app usage

Take a look at this demo app created with fullstrapp

Table of Contents

Getting Started

1. Install and create app

yarn global add fullstrapp

fullstrapp myapp

You will be asked a Firebase Project ID and Web API Key which can be found in your Firebase Project settings. These values will be stored in the root folder of your app as environment variables: .env.local

2. Setup CircleCI to automate tests and deploys

  • Go to CircleCI and add your github repo as a Project
  • Press Start Building or follow your project.
  • Add the environment variables created in .env.local to CircleCI:
    • REACT_APP_FIREBASE_PROJECT_ID
    • REACT_APP_FIREBASE_API_KEY
  • Create a Firebase Auth Token locally: yarn firebase login:ci
  • Add the Firebase token to CircleCI as an environment variable called FIREBASE_TOKEN

Every time a commit is pushed to github, CircleCI will automatically run CI tests. See command ci in package.json.

Every time a pull request is merged into master, CircleCI will deploy to firebase if all the tests succeed.

3. Setup Google Analytics (optional)

Goals

  • To launch an MVP as fast as possible: within a day
  • To iterate on features quickly: under 2 minute tests and deploys
  • To provide tools and guidelines for teams of up to 5 people
  • To support up to at least 10K active users per month
  • To be affordable for the hobbyist developer: free until meaningful traction

Reaching any of the limits should make it easier to raise enough funding to cover increased costs, or to pursue other endeavors to mitigate costs, or to request for free services for a non-profit.

Strategy

  • Create a mobile first Progressive Web App (PWA) to target many environments
  • Use tools to advance the MVP as further as possible with the least amount of work
  • Automate as many things as possible: formatting, tests, and deploys
  • Use services at a free tier level, where cost would only materialize if the product gets traction
  • Put in place guidelines and templates

Alternatives

The best alternative to this project I've found:

Current Tags

  • 0.7.0                                ...           latest (3 months ago)

13 Versions

  • 0.7.0                                ...           3 months ago
  • 0.6.0                                ...           4 months ago
  • 0.5.1                                ...           5 months ago
  • 0.5.0                                ...           5 months ago
  • 0.4.0                                ...           7 months ago
  • 0.3.5                                ...           8 months ago
  • 0.3.4                                ...           8 months ago
  • 0.3.3                                ...           8 months ago
  • 0.3.2                                ...           8 months ago
  • 0.3.1                                ...           8 months ago
  • 0.3.0                                ...           8 months ago
  • 0.2.0                                ...           8 months ago
  • 0.1.0                                ...           9 months ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 13
Dependencies (7)
Dev Dependencies (3)
Dependents (0)
None

Copyright 2014 - 2016 © taobao.org |