3

GitHub - DevFest-India/DF21-Web-Track

 2 years ago
source link: https://github.com/DevFest-India/DF21-Web-Track
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.

DF21-Web-Track

This is the repo for the Web track of Devfest India 2021. You can use this repo as your reference to check all the demos that got covered in all 3 days of Web Track.

Day 1 Session microphone

"Roadmap for Web developers and building your first website Details"

In this session, we will help you get kickstarted with web, starting from what is the current state of web in India, challenges and opportunities, Roadmap, Google's web technologies, getting started with e-commerce application. We will also see, how we can extend the functionalities of a web-app with Authentication, Database and Hosting using Firebase. You will also learn frequently asked interview questions.

Day 2 Session microphone

"Making web accessible & performant to all Details"

In this session, you will learn what is web accessibility, what is the current state of it and how can we code and test towards making the web more accessible to all users. We will also share about a framework to optimize the user experience of your site and prevent further regressions leveraging the tools available from Google. You will also learn frequently asked interview questions.

Day 3 Session microphone

"Advancing your website with payment integration and ML/AR/VR Details"

In this session, you will learn how to enable web payment capabilities for our web application with the help of Google Pay API. Additionally, you will also learn how one can leverage the power of ML, AR / VR in eCommerce applications using TensorFlowJS and WebXR. You will also learn frequently asked interview questions.

Targeted audience family

This repo is for those who want to kickstart their web development journey. Also this repo is for those who have experience of web development but want to go to next level with the skills like Payment integration, ML , AR & VR.

How to use this repo? technologist

First of all checkout main branch in your system. Once branch is checked out, first need to create Firebase project.

  • To add Firebase resources to an existing Google Cloud project, enter its project name or select it from the dropdown menu.
  • To create a new project, enter the desired project name. You can also optionally edit the project ID displayed below the project name.
  • If prompted, review and accept the Firebase terms.
  • Click Continue.
  • (Optional) Set up Google Analytics for your project.
  • Click Create project
  • Click Continue.
  • Click on Add Firebase to your web app
  • Enter App nickname
  • Click on Register app
  • You will get your firebaseConfig as Following
    const firebaseConfig = {
      apiKey: "### FIREBASE API KEY ###",
      authDomain: "### FIREBASE AUTH DOMAIN ###",
      projectId: "### FIREBASE PROJECT ID ###",
      storageBucket: "### FIREBASE STORAGE BUCKET ###",
      messagingSenderId: "10728XXXXXXXXXX",
      appId: "1:10728XXXXXXXXXX:web:c22f0b8XXXXXXXXXXXXXX",
    };
  • Open public/js/firebase/firebase.js file and paste above config there.
  • Install Firebase Tools
    npm install -g firebase-tools 
    
  • Once installed, run following command and authorize it with your gmail id which you used to login to Firebase console in first step.
    firebase login
    
  • Once authorized go to app code and run the following command
    firebase serve
    

It will give the URL http://localhost:5000/ from where you can run the application.

References & Learning Resources


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK