Code Monkey home page Code Monkey logo

vrad's Introduction

'denverbnb' Starter Kit

denverbnb_login image

This project was bootstrapped with Create React App.

Set Up:

  • 1: Git clone
  • 2: Cd into 'VRAD'
  • 3: npm install
  • 4: 'run' npm start -Checkout in Browser
  • 5: 'run' npm test -Test out the APP

What is it:

This was a project that was bootstrapped with [Create React App]. Within this React-App we were to use Components (Fn(), Class), lifeCycle Methods, Router, PropTypes, and finally test out the React-Components using Jest.

Walk through:

As a user, you would have to login using an username, email and a category selection. When logged in to the main page we should have a visual que that the correct user is logged in. From the main page the user should be able to select an area in the Denver metro region. Upon selecting an area // region the user will see all the available listings. These listings should contain a Title, an image of what the property looks like, a favorite icon, as well as a view listing button. The favorite icon when clicked will change color to indicate the user has favorited the listing. When the view listing button is clicked we will be presented with all the information in regards to the individual listing.

gif of demo

Details... The details of this project are outlined in the Project Spec

vrad's People

Contributors

nickstaylor avatar quinnrelder avatar garnetred avatar

Stargazers

 avatar

Watchers

James Cloos avatar  avatar

vrad's Issues

5/15 Listing.js

The data for each card should include:
Name
A single picture for the listing
A button that, when clicked, shows more details for the listing at a new route

5/12 - User Login Page

the user should be introduced to a welcome form asking for:

  • the user’s name
  • their email
  • and a purpose/goal for using this listing app.
  • an error message should appear
  • all inputs must be filled in

Accessibility

  • Achieve 100% on accessibility audit
  • Make site completely accessible via keyboard

I attempted to make the site completely accessible via keyboard, but favorites cannot be selected using the tab button.

5/13 Display Areas.js

Upon signing in, the user should be redirected to /areas where they should see a breakdown of the various areas of Denver.
Each area should have all pertinent information listed, including:
shortname of the area (ex. RiNo)
name of the area (ex. River North)
a description of the area
There should a button on each card to view listings for a specific area
NOTE: This button doesn’t need to have any functionality in this iteration. Details on what the button does will be outlined in future iterations!
The user’s profile data should be displayed with their name, a short greeting dependent on their purpose for using the listing app
A Sign Out button should also be available, logging the user out and redirecting them back to the root route, /.

5/15 - Create ListingsContainer.js

When a user clicks on the View Listings, the user should then be redirected to /areas/:area_id/listings/.
NOTE: Be careful on how to structure this route. The parts of the route that are dynamic (ex: /:area_id) should not actually include a colon - it is simply to show that this part of the route should change. An example of what a completed route would look like could be: /areas/66

5/12 Create FullListing.js

When a user clicks a specific listing, they should be redirected to /areas/:area_id/listings/:listing_id and get a more detailed breakdown of a specific listing. This card/view should include:
Address
Number of Bedrooms
Number of Bathrooms
Cost per Night
All pictures of the listing
Unique features of the listing
A button to “Favorite” the listing
Note: User should still see their profile info and be able to log out.

5/12 - Create App.js

Create the App.js file, which should contain:

  • state
  • methods (possibly sign out method)
  • a fetch request within componentDidMount?
  • a render method that uses routing
  • an import of BrowserRouter

5/19 - Create Favorites.js

There should be a button on each card to save it to Favorites.
There should also be a button that when clicked, links the user to the /favorites route and displays only the favorited cards.
This button should also show the count of favorited items in the button text.
Users should be able to unfavorite a card both on the relevant route (/areas/:area_id/:listing_id) as well as the /favorites route.
If there are no favorites, there should be a message indicating that there are no favorites.

Create Mini Listing.js

The data for each card should include:
Name
A single picture for the listing
A button that, when clicked, shows more details for the listing at a new route

Styling

  • Update styling on the individual listings page
  • change font size and type on navbar
  • update font in area container to match overall Roboto font

Create Map.js

Incorporate an interactive map into your app!
Implement a map that shows where all of the listings are located when a user goes to the /areas/:area_id route for a specific listing area.
When a user clicks on a listing marker on the map, you should display an info box that includes:
An image of the listing
A link to the specific listing pages

Area Images

Add images to each individual area (to show up on area page)

SASS

Importing SASS into React

Async Testing

We ran into issues implementing the apiCalls file with our tests. Unfortunately, this broke some of our existing integration tests and prevented us from completing the rest of our integration tests.

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.