Giter VIP home page Giter VIP logo

almost-amazon's Introduction

Almost Amazon

We are building an admin app that allows a store owner to login to the app and manage books and authors.

User Restricted Deployed Sample

aass

We will be learning about the following:

  • XHR requests
  • Promises
  • Firebase
  • ERDs
  • Postman
  • CRUD

Get Started

  • Clone your repo
  • Install app dependencies: npm i
  • Start your server: npm start
    • The server starts the only error you should see is this one (which will be fixed after the Firebase Walkthrough is completed):
      {
        code: "auth/invalid-api-key",
        message: "Your API key is invalid, please check you have copied it correctly.",
        a: null
      }
  • Change .sample.env file name to .env

TODO 1 - Get Setup

In preparation for next week, complete the following in lab:

  • Firebase Walkthrough Videos ~15 minutes
    • Create a project called Almost Amazon
    • Add a Realtime Database
    • Create an app called Almost Amazon
    • Add Auth
    • Add the Keys to your .env file
    • Upload the sample data to Firebase
  • Test the Firebase Setup
    • Start and stop your server
    • Go to the application it should look like this:

Login Screen

  • The API key error should also be gone

  • Clicking the button should open up a Google Popup. Select a user to sign in with.

    Google Pop-Up
  • After signing in, there should be a Navbar

    • If your screen size is small, the Navbar might be collapsed like in the image below. Click on the hamburger button to open it.

Logged In Screen

- Click on the Log Out Button

Logout Button

  • This should bring back the Login Button

TODO 2 - Look at the Code...

  • Take a look at the layout of the application. Start in main.js and follow the flow to get up to speed.
    • Look at the components, events, helpers, and views

Technologies used

  • Javascript
  • Firebase Auth
  • Firebase Realtime Database
  • Bootstrap 5
  • Webpack 5

almost-amazon's People

Contributors

ajawashington avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.