Coder Social home page Coder Social logo

sergioerramuzpe / angular4-firebase-seed Goto Github PK

View Code? Open in Web Editor NEW

This project forked from harmeet090/angular4-firebase-seed

0.0 0.0 0.0 98 KB

A Simple starter Liferay DXP project with SPA in Angular 4 and Firebase Seed demo app

Home Page: http://liferayui.com

License: MIT License

JavaScript 11.30% Java 7.93% HTML 20.61% TypeScript 58.81% CSS 1.36%

angular4-firebase-seed's Introduction

Angular4 and Firebase seed

A simple starter project demonstrating the basic concepts of Angular 2.

Getting Started

  • Clone or fork this repository
  • Make sure you have node.js installed version 6+
  • Make sure you have NPM installed version 3.9+
  • Deploy using gradle or Eclipse Liferay tools

Install

Run this command in same project directory

npm install

Add Firebase to Your app

  • Create a Firebase project in the Firebase console.
  • click to Create New Project.
  • If you already have a Firebase project, click Add App from the project overview page.
  • Click Add Firebase to your web app.
  • Note the initialization code snippet, which you will need to replace in environment.ts file.

src\main\resources\META-INF\resources\enviroments - sample code

  // Initialize Firebase
  // TODO: Replace with your project's customized code snippet
  production: false,
  firebase : {
    apiKey: "<API_KEY>",
    authDomain: "<PROJECT_ID>.firebaseapp.com",
    databaseURL: "https://<DATABASE_NAME>.firebaseio.com",
    storageBucket: "<BUCKET>.appspot.com",
    messagingSenderId: "<SENDER_ID>",
  };
  firebase.initializeApp(config);

angular4-firebase-seed's People

Contributors

harmeet090 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.