Skip to content

A lovely flowchart of a day in the life of an Epicodus Student! This project was an exploration of React Spring, Parallax Scrolling, and other fun animation technologies! Dedicated to our awesome instructor, Shawn! For teaching us that we ARE the magic! #WeLoveBlob

Notifications You must be signed in to change notification settings

GarrettBrown-dev/choose-your-own-adventure

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

58 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Choose Your Own Adventure

Three-day In-Class Assignment Working with React & Redux for Epicodus, Week 19

By Patrick Osten, Garrett Dean Brown & Danielle Thompson

Project began 3.1.21. Last updated 3.4.21.


Get in Touch

Name Contact Info
danithompson74 at gmail.com LinkedIn
gman9mm at live.com LinkedIn
posten.coding at gmail.com LinkedIn

Known Bugs

No known bugs at this time.

Report bugs here. | Request features here.


Description

This choose-your-own-adventure application walks you through the various choices an Epicodus faces during any given day of class.

MVP Objectives

  • #ILoveBlob #BlobLife.

  • React.js front-end with a focus on animations & parallax scrolling with React-Spring

  • Hard-code back-end responses (prompts/choices)

  • Stretch goal: refactoring hard-coded responses, etc. with C# as back-end

  • Make sure that we systemize how hard coding, etc happens. (CRUD??) Start by setting up front end ...

  • with state(gameStarted: true/false, prompt, choices, turn(?)) --> React only, no Redux.

Things that are repeatable:

  • Form to make choices
  • Prompts
  • Parallax scroll with repeatable background/images

Shortened Storyline

Splash Page & Intro --> Billboard wakes up --> feeling ready for the day (sunrise png) --> starts coding but bugs (bugs) --> ask Shawn (Shawn avatar) --> you are the magic (magic images) --> keep trying to solve the problem (laptop) --> oops its whiteboarding (end day)


User Stories

# Stories
1 A user should be able to Create, Update, Delete, and see list and details of kegs in the tap room.
2 Decrease kegQuantity remaining per keg when a pint is purchased. For instance, if a user clicks "Buy", the quantity will decrease by one.
3 When the quantity of an keg is reduced to 0, the keg should say "Out of Stock". A user should not be able to reduce the quantity of a keg below 0.
4 When the quantity of an keg is reduced to 0, the user should be prompted with the option to restock the keg.
5 When there is a keg in the inventory that is extra expensive, the user should see the details of the keg listed in red font, not black.

Story Board Flow Charts

Story Board

Stretch Goals

  • Take a user's name to plug into prompts.

Technologies Used

  • VS Code
  • Git & GitHub
  • ES6 JavaScript
  • JSX
  • React Framework v17.0
  • React-Spring v8.0
  • React-DOM v.17.0.1
  • React Bootstrap v1.5.0
  • @react-spring/addons v.9.0.0-beta.33
  • react-use-gesture
  • npm
  • node.js
  • create-react-app
  • npm install --save-exact react-scripts@3.2.0
  • npm install react-spring
  • webpack v5.11.1
  • Babel
  • ESLint
  • node.js v15.8.0
  • Bootstrap v4.6.0
  • Unsplash

Setup/Installation Requirements

  • To access the live page visit ... TODO
Running the Project Locally
For Mac Users
  • Access Terminal in your Finder, and open a new window. Install the package manager, Homebrew, on your device by entering this line of code in Terminal: $ /usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)".
  • Ensure Homebrew packages are run with this line of code: echo 'export PATH=/usr/local/bin:$PATH' >> ~/.bash_profile.
  • Once homebrew is installed, install Git, a version control system for code writers, with this line of code brew install git.
  • Now, install Node.js through Homebrew with the following command: brew install node.
  • Confirm that node and npm (Node's package manager that is automatically installed alongside Node) are on your working system with two command lines node -v & npm -v, respectively returning something resembling v14.5.0 & 6.14.5 (or higher).
For Windows Users
  • Open a new Command Prompt window by typing "Cmd" in your computer's search bar.
  • Determine whether you have 32-bit or 64-bit Windows by following these instructions.
  • Go to Git Bash, click on the "Download" button, and download the corresponding exe file from the Git for Windows site.
  • Follow the instructions in the set up menu.
For Both Mac & Windows systems
  • Once you have Git installed on your computer, go to this GitHub repository, click the "Fork" button in the upper right hand corner of the page, and clone this application with the following command:git clone https://github.com/dani-t-codes/choose-your-own-adventure.git.
  • Go to the Node.js website and download the appropriate source code for your Windows operating system.
  • Once the project has been cloned to your computer and you have all the necessary items on your local computer, open the project in the application of your choice.
Available Scripts

In the project directory, you can run:

npm start

Runs the app in the development mode.
Open http://localhost:3000 to view it in the browser.

The page will reload if you make edits.
You will also see any lint errors in the console.

npm test

Launches the test runner in the interactive watch mode.\

npm run build

Builds the app for production to the build folder.
It correctly bundles React in production mode and optimizes the build for the best performance.

npm run eject

Note: this is a one-way operation. Once you eject, you can’t go back!


Additional Resources

Legal, or License

This software is licensed under the MIT License.

Copyright (c) 2021 Patrick Osten, Garrett Dean Brown & Danielle Thompson

About

A lovely flowchart of a day in the life of an Epicodus Student! This project was an exploration of React Spring, Parallax Scrolling, and other fun animation technologies! Dedicated to our awesome instructor, Shawn! For teaching us that we ARE the magic! #WeLoveBlob

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 77.6%
  • CSS 16.7%
  • HTML 5.7%