Skip to content

asndev/webpack2-react-auth-starter

Repository files navigation

Build Status MIT Licence Greenkeeper badge

It's nice to have your own starter but you should probably just use Create React App.

Starter

In Action

Getting started

git clone https://github.com/asndev/webpack2-react-auth-starter.git my-awesome-project
cd my-awesome-project
rm -rf .git
git init
git add .
git commit -m 'init'
// git remote add origin <your-git-repo>.git
// git push origin master
yarn
npm start
// Lint
npm run lint

// Test
npm test

// Check unused exports
shrimpit

Firebase Auth

./src/store/firebase/config.js
  • Fill in your firebase api key
  • Enable at least one signup provider within firebase (eg Google or Github)

Firebase Deployment with travis ci

  • Update firebase.json
  • Generate a ci token with: 'firebase login:ci'
  • Set the generated token as an env variable within travis (FIREBASE_TOKEN = token)