Skip to content

MicahOlson/witch-broom-firebase

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

80 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

The Witch's Broom Firebase

A Keg Inventory Manager

by: Micah L. Olson

created: 4/30/2021

updated: 5/26/2021


Description

This application is a keg inventory manager for The Witch's Broom Tap Room (fictional) providing the following user features:

  • Users can see a list of all available kegs along with their name, brand, price and alcoholContent.
  • Users can submit a form to add a new keg to the list.
  • Users can click on a keg to see its detail page.
  • On the detail page, users can track when they serve a pint and see a keg's remaining content.
  • Users can update a keg's details after entering them.
  • Users can remove a keg from the list.
  • If a keg is low on remaining pints, a user will be alerted to order more.
  • If a keg is empty, a keg's contents will display as "out of stock".

Technologies Used

  • React
  • Redux
  • Firebase/Firestore
  • JavaScript
  • JSX
  • HTML
  • CSS
  • Node.js
  • npm
  • Markdown
  • git

Component Diagram


Installation and Setup

  • You will need to use your system's terminal emulator to set up and locally use this application.

  • Clone this repository to a local directory using the command-line tools cd and git.
    (how to install git)

    $ cd ~/<local_directory>/
    $ git clone https://github.com/MicahOlson/witch-broom-firebase.git
  • Navigate to the top level directory of the cloned repository.

    $ cd witch-broom-firebase/
  • Install all application dependencies using the Node Package Manager (npm).

    $ npm install
  • Create a free Firebase account online and set up a project to correspond with this repo with Firestore and Authentication enabled.
    (how to set up Firebase)

  • Add a .env file to the root of the witch-broom-firebase directory and include your Firebase configuration data.

    $ touch .env
    $ nano .env
    REACT_APP_FIREBASE_API_KEY="your api key here"
    REACT_APP_FIREBASE_AUTH_DOMAIN="project-name.firebaseapp.com"
    REACT_APP_FIREBASE_PROJECT_ID="project-name"
    REACT_APP_FIREBASE_STORAGE_BUCKET="project-name.appspot.com"
    REACT_APP_FIREBASE_MESSAGING_SENDER_ID="your id number"
    REACT_APP_FIREBASE_APP_ID="your app id"
    
  • Launch a local web server to interact with the application in a browser.

    $ npm start
    • IMPORTANT! Be sure to shut the server down when you are done using the app.
      control-c
  • If it doesn't launch automatically, type localhost:3000 into your browser's address bar and hit enter.


Code Editors

  • Recommendations if you would like to utilize a GUI for opening or editing this application's files:
    • Visual Studio Code - "Code editing. Redefined."
    • Atom - "A hackable text editor for the 21st Century."
    • SublimeText - "A sophisticated text editor for code, markup and prose."

Notes, Bugs, Fixes, and Future Improvements

  • No known bugs.
  • There are no feature enhancements scheduled for this application.
  • If you find a bug, please report it at the email address below.

License

MIT
Copyright © 2021 Micah L. Olson


Contact

Micah via email | LinkedIn | GitHub

About

A tap room keg inventory manager | React • Redux • Firebase

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors