Giter Club home page Giter Club logo

reactnd-project-myreads-starter's Introduction

MyReads Project

Book-sorting app created to learn application of React and React Router. Base was an html / css template, then using React functionality was added for:

  • Moving Books - Books can stored on Currently Reading, Read or Want to Read shelves. You can switch shelves using the green arrow next to each book
    • Select none to remove book
  • Search - Can search for new books using the + located on the bottom right of the home screen
    • You can add new books to shelves from the serach screen
  • Routing - Can use the url "/search" to go to search screen, or "/" for home screen

Getting Started

  1. Clone from GitHub - Clone the app using git clone https://github.com/learnathoner/reactnd-project-myreads-starter.git
  2. Navigate to folder in terminal
  3. Install dependencies - In terminal: npm install
  4. Launch app
    • Development - In terminal: npm start
    • Production Build
      1. Install Serve - npm install -g serve
      2. Serve Folder - serve -s build

Component Flowchart

App flowchart

Above is the current layout of Components in the app.

  • Index wraps App in Router, then loads App
  • App directs to either the BookShelves or SearchPage Components, and loads the search button
    • SearchPage loads SearchResults
      • If results are found, books are loaded from Book
    • BookShelves loads shelves from BookShelf
      • BookShelf creates a shelf using Book
      • If book has been read, displays rating from BookRatings for book

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.