Giter Club home page Giter Club logo

firebase-cms's Introduction

Firebase-cms

Basic CMS with Firebase and Angular

Demos

Front-end: demo
Back-end: demo

##Development / Build

You need to have Grunt and Node.js installed. Then run the command:

	npm install
	grunt default

##Testing

Install an http-server run:

	npm install http-server -g

Running the server:

	http-server

This will create a server on http://localhost:8080/ and let you test this CMS

##Setup

Steps:

  • Create a firebase account
  • Create a firebase app
  • Add the following firebase rules
  • Configure the file js/config.json with your firebase app location

Firebase Rules:

```command { "rules": { ".read": true, "categorias": { ".write": "auth.provider == 'password' && auth != null" }, "paginas": { ".write": "auth.provider == 'password' && auth != null", ".indexOn": "state" }, "imagens": { "$page_id" : { ".write": "auth.provider == 'password' && auth != null && root.child('paginas/'+$page_id).exists() && root.child('paginas/'+$page_id).child('state').val() == 'available'", ".indexOn": ["ownerCategoria", "owner"] } } } } ```

##Todos

  • Add internationalization capabilities
  • Remove from codebase any portuguese sentences/words
  • Add capabilities of have dynamic fields
  • Add response for bad login

firebase-cms's People

Contributors

eralha avatar

Stargazers

Mohamed Afzal Mulla avatar

Watchers

Mohamed Afzal Mulla avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.