Skip to content

A Professional Template for large GDG events. This project has been designed to continue to be your DevFest/IWD website solution without having to create a new site or Firebase project every year.

License

Notifications You must be signed in to change notification settings

neojato/DeLorean-v2

Repository files navigation

DeLorean Project

A GDG DevFest/IWD/Event Website Template

This project was generated withAngular CLIand utilizesFirebasefor Database, Storage, and Hosting to create a fully functional and customizable template for your Google Developer Group's DevFest/IWD/Event. This project has been designed to continue to be your Event website solution without having to create a new site or Firebase project every year. Simply update the Firebase node in the config and the site resets awaiting your next year's Event data. All the while preserving your previous year's data in the same Firebase project.

Live Demo

https://delorean-demo.firebaseapp /

Features

  • Simple site config setup
  • Simple event schedule management
  • Simple sponsor management
  • Simple ticket management
  • Simple speaker management
  • Featured speakers section
  • Featured venue section
  • "My Schedule" for Attendees
  • Google Tag Manager enabled
  • Session feedback
  • Code of Conduct

Table of Contents

Getting Started

  1. Install Angular CLI (npm install -g @angular/cli).
  2. Install Firebase Tools (npm install -g firebase-tools).
  3. Clone this repository:git clone https://github /neojato/DeLorean-v2.git.
  4. Runnpm installfrom the project root.
  5. Create a newFirebase project(if you don't have one already).
  6. Grab aGoogle Maps API Keyfor your project.
  7. Runfirebase loginand thenfirebase initand link to your Firebase Project.
    • Select Database, Functions, and Hosting
    • Select your Firebase Project (created earlier)
    • Use default filename for Database Rules
    • EnterNwhen asked to overwrite Database Rules
    • SelectJavaScriptwhen asked for Cloud Functions language
    • EnterYwhen asked to use ESLint
    • EnterNwhen asked to overwritefunctions/index.js
    • EnterYwhen asked to install dependancies
    • Typedistfor your public directory
    • Respond yes to configure as a single-page app
  8. Replace the generatedfirebase.jsonwith the contents fromfirebase.json.template
  9. Copyfirebase.config.ts.templatetofirebase.config.tsand populate fields with your Firebase and Google Maps Keys.
    • Change the value for thedevfestYearkey to the current year
    • NOTE:Currently you will need modify this value annually to reuse this Firebase Project for your annual event
  10. Updatemanifest.jsonwith your Event's details to enableProgressive Web App (PWA)capabilities.
    • (Optional) If you want to fully customize the PWA experience, you can easily generate themanifest.json& correctly sized app icons using this tool:App Manifest Generator

Contributing

This project is open for contributions, suggestions, and ideas. Feel free to submit a PR and/or create anIssuewith bugs, suggestions, and ideas. Stars are always welcome too!

Seelist of contributors.

Development Server

Runng servefor a dev server. Navigate tohttp://localhost:4200/.The app will automatically reload if you change any of the source files.

Managing Data

Site Setup

  1. From the Firebase Console, go to "Authentication" and enable the Google sign-in method.
  2. Log into your site using your Google account.
  3. From the Firebase Console, go to "Authentication" and copy the User UID for your email address.
  4. From the Firebase Console, go to "Database", then "Real-Time Database" and create a parent node calledadminsthen add your copied User UID as the key with a value oftrue.
  5. (Optional) Replacehero.pnganddevfest.pngwith your own image for your Event or of Your City.

Google Tag Manager Setup (Optional)

  1. Create an Account and a Container onGoogle Tag Manager.
  2. Once created, you will receive the tracking snippet.
    • Replace each instance ofGTM-XXXXXXXwithinindex.htmlwith your tracking ID following the same pattern.
  3. Now you are able to create Tags for:

Site Config

  1. Click the Profile dropdown in the navbar and select "Site Config" to fill out all the details for your Event.
  • NOTE:The uploaded venue image is stored in Firebase Storage if you need to retrieve it later.

Ticket Config

  1. Click the Profile dropdown in the navbar and select "Ticket Config" to create ticket boxes to advertise levels available for purchase to your Event.
  • NOTE:The tickets auto-appear in a section on the homepage but can only be managed from this admin page.

Speaker Management

  1. Click the "Speakers" link in the navbar and then click on the "Create Speaker" button to add a speaker.
  2. Rinse and repeat for however many speakers you have for your Event.
  3. Check the "Featured" option to have that speaker also display on the homepage in the "Featured Speakers" section.
  • NOTE:The uploaded profile images get stored in Firebase Storage if you need to retrieve them later.

Schedule Management

  1. Click the "Schedule" link in the navbar and then click on the "Create Section" button to add a section.
    • This allows you to break your schedule into sections like "Breakouts - 10:00 AM" and "Lunch".
  2. Click on the "Create Session" button to add a session.
  • NOTE:It isrequiredto have section(s) created in order for sessions to appear!
  • NOTE:It isrecommendedto have added the speaker prior to adding their session.
  • NOTE:You can Edit/Delete the session from the session's detail page.

Sponsor Management

  1. Click the "Sponsors" link in the navbar and then click on the "Create Level" button to add a level.
    • This allows you to break your sponsors into customized tiered levels like "Gold", "Silver", and "Bronze".
  2. Click on the "Create Sponsor" button to add a sponsor.
  • NOTE:It isrequiredto have level(s) created in order for sponsors to appear!
  • NOTE:The levels and sponsors auto-appear in a section on the homepage but can only be managed from the Sponsor page.

Build

Runng buildto build the project. The build artifacts will be stored in thedist/directory. Runnpm run build-prodto generate an optimized production build.

Deploy

Runnpm run deployto generate an optimized production build and deploy thedist/directory to Firebase Hosting (along with Firebase Real-Time Database rules & Firebase Functions).

Profit!

Congrats on launching your Event website!

Who uses the template?

Please let me know if you used this template with aPull Requestand will get you added to the list below!

Name Name Name
DevFest KC DevFest Muncie Windy City DevFest
DevFest Nairobi Eldoret Techweek IWD Fresno
DevFest Los Angeles Valley DevFest 2018 WTM Taipei

License

Project is published under theMIT license.
Feel free to clone and modify repo as you want, but don't forget to keep the reference to original authors, thanks!

The DeLorean Project is not endorsed and/or supported by Google, the corporation.