Project was bootstrapped with Create React App.
Playground with React.js and Firebase. The goal was to build simple blog and store posts data in Firebase
- Clone this repo by
git clone https://github.com/konradlb/simple-blog.git
and go inside the directory
cd simple-blog
- Paste your Firebase api keys into .env.template and change filename into .env
REACT_APP_apiKey= "..."
REACT_APP_authDomain= "..."
REACT_APP_projectId= "..."
REACT_APP_storageBucket= "..."
REACT_APP_messagingSenderId= "..."
REACT_APP_appId= "..."
-
Create collection "posts" in firebase console
-
Install dependencies
npm install
- Run the app in the development mode
npm start
Application will run on http://localhost:3000. You need to have free port 3000 to run this app.