Skip to content

Web application built using Angular2, REST API, and Firebase.

Notifications You must be signed in to change notification settings

Znergy/angular2-local-zoo

Repository files navigation

LocalZoo

Local zoo is a project I built over a weekend using Angular 2, Firebase, and REST API.

Hosted documentation

https://local-zoo.firebaseapp.com/

Project Requirements

  • npm (node package manager) ($ brew install -g node)
  • bower (front-end dependencies) ($ npm install -g bower)
  • firebase (backend)
  • angular cli ($ npm install -g angular-cli)

General Setup

  • npm install
  • bower install
  • setup firebase
  • ng serve

Firebase Setup

  • Create an account with Firebase
  • Create a new project
  • Setup firebase for a web application
  • Create a file called, api-keys.ts, in the app directory (app/api-keys.ts)
  • Copy the example code below, and add in your credentials
  • Once the api-keys.ts file is setup, you need to import the file into app.module.ts

Firebase api-keys.ts code

export var masterFirebaseConfig = {
  apiKey: "xxxxxxxxxxxxxxxxxxxxx",
  authDomain: "xxxxxxxxxxxx",
  databaseURL: "xxxxxxxxxxxxxx",
  projectId: "xxxxxxxxxx",
  storageBucket: "xxxxxxxxx",
  messagingSenderId: "xxxxxxxxxxx"
};

Technologies Used

License

This project is licensed under the MIT License - [license]

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE

Copyright (c) 2017 Local Zoo

About

Web application built using Angular2, REST API, and Firebase.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published