Skip to content

An online store app (Epicodus JavaScript Week 4 Weekend)

Notifications You must be signed in to change notification settings

codemargaret/online-store

Repository files navigation

Online Store

An application that allows a user to view information about albums, 11.01.2017

By Margaret Berry

Description

This project was generated with Angular CLI version 1.0.0.

Project Goals

  • Practice generating an app using Angular CLI.
  • Practice using Firebase

Setup/Installation Requirements

Run the following commands in Terminal:

  1. $ git clone this repository
  2. $ cd online-store
  3. $ npm install
  4. $ bower install
  5. Firebase setup:
  • Go to firebase and login or create a free account.
  • Go to the firebase console and create a project called 'online-store'.
  • Click 'add firebase to your web app'.
  • $ touch src/app/api-keys.ts
  • Add the following code and replace the x's with your information:
    • export var masterFirebaseConfig = { apiKey: "xxxx", authDomain: "xxxx.firebaseapp.com", databaseURL: "https://xxxx.firebaseio.com", storageBucket: "xxxx.appspot.com", messagingSenderId: "xxxx" };
  • Add the following code to your .gitignore file:
    • #Firebase credentials /src/app/api-keys.ts
  • Visit the Firebase console, click 'online-store,' and click the database option from the lefthand side of the menu.
  • Click 'Realtime Database,' then 'Rules.' Set the value of .read and .write to 'true' and click 'publish.'
  • 'Click 'Data,' then click the three dots in the upper righthand corner. Select 'Import JSON' and navigate to 'sample-posts.json' from this project.
  1. $ ng serve
  2. Navigate to localhost:4200

Known Bugs

There are no known bugs at this time.

Support and contact details

If you have issues, questions, ideas, or concerns, please contact Margaret. Feel free to make a contribution to the code.

To get more help on the Angular CLI use ng help or go check out the Angular CLI README.

Technologies Used

  • JavaScript
  • TypeScript
  • Node
  • Bower
  • Angular CLI

License

This software is licensed under the MIT license.

Copyright (c) 2017 Margaret Berry

About

An online store app (Epicodus JavaScript Week 4 Weekend)

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published