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.
"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.
"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.
"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.
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.
First of all checkout main branch in your system. Once branch is checked out, first need to create Firebase project.
- Go To Firebase Console & click Add 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 Firebse 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 https://localhost:5000/ from where you can run the application.
- https://www.tensorflow.org/js
- https://js.tensorflow.org/api/latest/
- https://www.tensorflow.org/js/tutorials
- https://developers.google.com/ar/develop/webxr
- https://www.w3.org/TR/webxr/
- https://developer.mozilla.org/en-US/docs/Web/API/WebXR_Device_API
- https://developers.google.com/pay/api/web/overview