Giter VIP home page Giter VIP logo

book-app-react-redux's Introduction

Book App

This repository contains the Book App, which is divided into two main parts: the frontend and the API. The Book App allows users to add new books, fetch a random book from a local list, and fetch random books from an external API.

Table of Contents

Project Structure

  • frontend/ - Contains the React application for the Book Library.
  • api/ - Contains the Express.js application for the backend API.

Frontend

The frontend application is built with React and Redux. It provides a user interface for managing and viewing books. The app allows users to:

  • Add new books with a title and author.
  • Fetch a random book from a local list.
  • Fetch random books from an external API.

Main Technologies

  • React
  • Redux

Installation and Scripts

To install dependencies and run the frontend application, navigate to the frontend directory and use the following commands:

cd frontend
npm install
npm start

For more detailed information, refer to the frontend README.

API

The API is built with Express.js and provides endpoints to fetch random books. It is deployed on Render and serves as the backend for the Book App.

Main Technologies

  • Express.js
  • Endpoints
  • /random-book - Fetches a random book.
  • /random-book-delayed - Fetches a random book with a delay.

Installation and Scripts

To install dependencies and run the API, navigate to the api directory and use the following commands:

cd api
npm install
npm start

For more detailed information, refer to the API README.

Getting Started

To get started with the entire project, follow these steps:

  1. Clone the repository:
git clone https://github.com/alive2020/Book-App-React-Redux.git
  1. Set up the frontend:
cd Book-App-React-Redux/frontend
npm install
npm start
  1. Set up the API:
cd ../api
npm install
npm start

License

This project is licensed under the ISC License. See the LICENSE files in the frontend and api directories for more details.

book-app-react-redux's People

Contributors

alive2020 avatar

Watchers

 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.