Skip to content

GoodWillHunting11/CabinGo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

93 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CabinGo

Table of Contents

  1. General Info
  2. Wiki-Documentation
  3. Technologies
  4. Installation
  5. Collaboration
  6. Images

General Info


CabinGo

CabinGo is an application where users can post spots to host or book spots.

CabinGo Home page

CabinGo HomePage

Spot Details

CabinGo SpotDetails

All Spots

CabinGo AllSpots

CabinGo Login page

CabinGoLoginPage

CabinGo Sign up page

CabinGoSignUpPage

Wiki Documentation:


Technologies


Technologies used within the project:

Languages


  • JavaScript
  • CSS

Installation

To install CabinGo on your local machine please clone the project repository. Once the project has been cloned run npm install in your terminal to install dependencies.

 git clone https://github.com/GoodWillHunting11/CabinGo.git
 cd backend
 npm install
 npm start

Once the project has been clonde cd into the frontend and run npm install in your terminal to install the frontend dependencies.

 cd frontend
 npm install
 npm start

To use the application in a development environment use npm start in the frontend and the backend to start the application..

Collaboration

This project was developed by Aaron Short. Below are the top two features of the project and a brief descriptions of challenges faced during the one week developmet cycle.

Highlight features:

  • Rendering Amenities: The implementation of rendering amenities displays only the amenities that return true for the spot that was created. This feature was implemented using optional chaining and a few nested ternarys.
  • Edit Spot Form: The edit spot form allows you to edit details of a certain spot only if the logged in user who created that spot is logged in. This feature was implemented using redux and local storage to keep state on a refresh. Every detail of the spot can be updated without a rerender using react.

Challenges:

  • This project did not require me to keep state on refreshes but I decided for better user experiments to implement it. For this I had to do some research into optional chaining on components that depended on state and local storage.
  • During the styling phase it was a little more difficult to style elements that were using state and learning their behaviors to flow smoothly with the normal elements.
  • Correlating the backend with the store and the frontend. There was a learning curve for how the data flowed and learning the pattern of this flow. Ultimatley it came down to using console.log to understand how each section communicated with eachother.

Images

Using Local Storage to Persist State

CabinGo localstorage

Rendering Certain Amenities

CabinGo ternary

Thunks Used For Edit, Delete, and Post

CabinGo Thunk

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors