Current Version: 1.0 - 05.12.2017
Web based social club web application using Angular2 framework. Users are able to view club members. Administrators are able to add, edit, and delete members.
Club members and administrators.
This application is built to work with a Firebase database. If you'd like to enjoy my website, please follow these instructions to create a Firebase project and credentials.
- Go to Firebase and create an account (if you don't have one already).
- Create a remote database for the application through Firebase's website.
- Select 'Create a New Project' from the dashboard.
- Select 'Add Firebase to your web app'
- A pop-up modal window will be generated. It will include your credentials. Keep the credentials handy.
- In the terminal, create a file to house your Firebase credentials
$ touch src/app/api-keys.ts
- In api-keys.ts file, add the following code:
export var masterFirebaseConfig = {
apiKey: "xxxx",
authDomain: "xxxx.firebaseapp.com",
databaseURL: "https://xxxx.firebaseio.com",
storageBucket: "xxxx.appspot.com",
messagingSenderId: "xxxx"
};
- Replace 'xxxx' with the project credentials from Firebase.
- In your Firebase project, change the Rules to allow reading and writing to the database
{
"rules": {
".read": "true",
".write": "true"
}
}
- Import seed data from the included sample-players.json file
- Visit your Firebase Console and select your project's database.
- Click on the Database option in the left-hand navigational menu.
- Select the 3 vertical dots on the right-hand side of the grey bar with your database URL on it. (It's right next to the + and - buttons). This should bring up a small menu.
- Select Import JSON from this menu. This will result in a modal window prompting you to upload a file.
- Locate the sample-players.json file from the project, and upload it.
- In the terminal, run:
$ git clone <https://github.com/GloriaFriesen/club-manager>
$ cd club-manager
$ npm install
$ bower install
$ ng serve
- In your browser, go to http://localhost:4200
- player properites
- name
- position
- image
- join date
- list all members
- player detail page
- about page
- database (firebase)
- filter players with custom pipe
- admin page
- add players
- edit players
- delete players
- player service
- styling
- awesome theme
- calendar of events (static)
- deployed to firebase
- message board
- track stats of members
- make calendar of events interactive
- users can add events
- admin can edit and delete events
Component | Path | Service | Function |
---|---|---|---|
Welcome | ' ' | No | home/splash page |
About | 'about' | No | Description of club |
MemberList | 'members' | Yes | List all members |
MemberDetail | 'members:id' | Yes | Display more detailed information about individual member |
Admin | 'admin' | Yes | List all members with additional actions: add, edit, delete |
EditMember | 'admin' | Yes | Inside admin component, edit form, delete button |
We'll see.
Questions? Concerns? Suggestions? Reach out to me via github: https://github.com/GloriaFriesen.
- Angular2.js
- TypeScript
- HTML
- CSS
- npm
- Bower
This software is licensed under the MIT license. Copyright (c) 2017 Gloria Friesen.