Coder Social home page Coder Social logo

poetry-search-app's Introduction

poetry-search-app

A react web-app which lets one search about a poetry and other details like it's author, lines, title and line count.

How to start:

Note: This project is created with node v11.9.0 and npm v6.5.0

In order to start the project:

  1. Clone/Download the workspace
    $ git clone https://github.com/miralkumbhani/poetry-search-app.git

  2. Open the path in terminal for the workspace dependency injection
    $ cd poetry-search-app

  3. Install project's dependencies
    $ npm i

  4. Watches the files and uses liverload by default run npm start. Navigate to http://localhost:3000. The app will automatically reload if one changes any of the source files.
    $ npm start

About the Application:

This application is made for displaying the basic concepts of react like props, states, accessing values from child to parent component and vice-versa, setting state, events in react, encapsulation and other concepts. It has a simple and clean UI for displaying the results. I've used an additional package named react-toastify for displaying success, info or error from the API response. The application will dislay results based on the selection of choice of search by either title, author, lines or line count and the search string that one enters. Both are required parameters for searching something and getting an appropriate output. If there are more than one results for one's search, a list of result will be displayed. On clicking the desired result, one can view all the details about that poem like poet, title, line-count and the lines of that poetry.

About the API:

The API consumed is from the below resource: https://rapidapi.com

The API consumed is: https://rapidapi.com/thundercomb/api/poetry-db

poetry-search-app's People

Contributors

miralkumbhani avatar

Stargazers

tenderzada avatar

Watchers

James Cloos avatar  avatar

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.