Skip to content

A lightweight blog system using firebase and pure js

Notifications You must be signed in to change notification settings

cn1t/FirebaseBlog

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Firebase Blog Template

This is a simple template for a quick and easy blog system fully working with firebase. Will be updated soon and include firebase rules!

Deployment

To deploy the blog you will have to add the following code to every java script file in the js/ folder.

  var firebaseConfig = {
    // Put your firebase config here

    apiKey: "",
    authDomain: "",
    databaseURL: "",
    projectId: "",
    storageBucket: "",
    messagingSenderId: "",
    appId: ""
  };

Afterwards, you are already good to go!

Use signup.html to create an account / login.html to log into the account.

If you are already logged in, you will be automatically redirected to post_ui.html. There you can write a blog-post and it will be displayed on the index.html.

Thats it!