Skip to content
This repository has been archived by the owner on Jun 24, 2019. It is now read-only.

React Code related to the Ember vs React Medium Article

Notifications You must be signed in to change notification settings

BuildEmpire/Ember-vs-React-React

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Ember-vs-React-React

This project is the React code relating to the Ember vs React— the ultimate battle (Round 1) and Ember vs React - round 2 articles.

This is a very basic example of how to get started with React. It uses firebase for data persistence and css for styling.

Common Commands

npm start - Starts the project and you will be directed to the localhost

Firebase

  1. You need to make a firebase account.

  2. Create a project

  • Click on database tab
  • Click real time database
  • Click start in test mode
  1. Go to overview page

  2. Click 'Add firebase to your web app'

  3. Create the firebase.js file in the src folder and copy the firebase object into the file. So it looks similar to this:

import firebase from 'firebase';

var config = {
  apiKey:  "",
  authDomain: "",
  databaseURL: "",
  projectId: "",
  storageBucket: "",
  messagingSenderId: ""
};

firebase.initializeApp(config);

export default firebase;

And then you will have your own firebase setup.

Articles:

Ember vs React— the ultimate battle (Round 1)

Ember vs React - Round 2

About

React Code related to the Ember vs React Medium Article

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published