parulmishra / astrology-dating

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

AstrologyDating

A dating app which creates matches based on astrological sign, 10.02.17

By _ Jesse Bryan, Lois Choi, Charlie Kelson, Parul Mishra Dubedy, Kaili Nishihira_

Description

A dating app which matches the user with other users based on their astrological sign. The user may also filter user profiles based on astrological sign.

Behavior Input Output

Setup/Installation Requirements

  • Install Node.js
  • Clone repository
  • Install Angular CLI npm install -g @angular/cli@1.0.0
  • Install Typescript npm list -g typescript
  • Install Bower npm install bower -g
  • bower init
  • bower install bootstrap --save

Create a Firebase account

  • Create an account with Firebase
  • Create a new project
  • Change the Firebase rules in the database to "true"
{
  "rules": {
    ".read": "true",
    ".write": "true"
  }
}

Install Firebase

  • npm install angularfire2@4.0.0-rc.0 firebase --save
  • Create a new file src/app/api-keys.ts
  • Paste the following code into the file and replace with your credentials from Firebase:
export var masterFirebaseConfig = {
    apiKey: "xxxx",
    authDomain: "xxxx.firebaseapp.com",
    databaseURL: "https://xxxx.firebaseio.com",
    storageBucket: "xxxx.appspot.com",
    messagingSenderId: "xxxx"
  };

Install promise-polyfill if you encounter error: Can't resolve 'promise-polyfill'

  • npm install promise-polyfill --save-exact

Technologies Used

License

Copyright (c) 2017 Jesse Bryan, Lois Choi, Charlie Kelson, Parul Mishra Dubedy, Kaili Nishihira

Licensed under the MIT License

This project was generated with Angular CLI version 1.0.0.

Development server

Run ng serve for a dev server. Navigate to http://localhost:4200/. The app will automatically reload if you change any of the source files.

Code scaffolding

Run ng generate component component-name to generate a new component. You can also use ng generate directive/pipe/service/class/module.

Build

Run ng build to build the project. The build artifacts will be stored in the dist/ directory. Use the -prod flag for a production build.

Running unit tests

Run ng test to execute the unit tests via Karma.

Running end-to-end tests

Run ng e2e to execute the end-to-end tests via Protractor. Before running the tests make sure you are serving the app via ng serve.

Further help

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

About


Languages

Language:TypeScript 56.6%Language:HTML 31.1%Language:CSS 9.8%Language:JavaScript 2.6%