This is a community fund site based on the following popular apps: Kickstarter, IndieGoGo, and GoFundMe.
- Clone this repository from: github.com/MacKLess/indiegofundstart.
- In order to run this app, you will need to set up a Firebase Database:
- First, make a free Firebase account here.
- Then, create a project from the Firebase console.
- Create a file in the project directory at
src/app/api-keys.ts
. - Once the Firebase project is created, select "Add Firebase to your web app."
- Copy the information from the pop-up window into
api-keys.ts
as follows:
export var masterFirebaseConfig = { apiKey: "xxxx", authDomain: "xxxx.firebaseapp.com", databaseURL: "https://xxxx.firebaseio.com", storageBucket: "xxxx.appspot.com", messagingSenderId: "xxxx" };
- Copy the information from the pop-up window into
- Add
/src/app/api-keys.ts
to your.gitignore
file. - Return to the Firebase console and select your database, then select "Database" from the left-hand navbar.
- Select the "Rules" option from the blue navbar near the top of the page.
- Change both the
".read"
and".write"
properties to"true"
. - To upload a starter set of projects:
- Find your project in the Firebase console.
- Select the "Database" option from the left navbar.
- Select the 3 dots on the right of the grey bar with the database url.
- From that menu, select "Import JSON".
- Upload
projects.json
from the project root directory.
- Make sure you have Node.js installed. Instructions for doing so can be found here.
- From the project root directory, run the following commands in the terminal:
npm install bower install ng serve
- You can now open the site in your web browser at
localhost:4200
.
Please contact [email protected] or [email protected] with questions, comments, or issues.
- Angular
- Firebase
- JavaScript
- TypeScript
- Node.js
- Bootstrap
This project was generated with Angular CLI version 1.0.0.
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.
Run ng generate component component-name
to generate a new component. You can also use ng generate directive/pipe/service/class/module
.
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.
Run ng test
to execute the unit tests via Karma.
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
.
To get more help on the Angular CLI use ng help
or go check out the Angular CLI README.
Copyright (c) 2017 Kelsey Langlois & L. Devin MacKrell
This software is licensed under the MIT license.# Indiegofundstart