Coder Social home page Coder Social logo

mitanshu21 / simple-reactjs-app Goto Github PK

View Code? Open in Web Editor NEW

This project forked from aditya-sridhar/simple-reactjs-app

0.0 0.0 0.0 926 KB

Simple Application Using Basic React Components and Communication between them

License: MIT License

JavaScript 78.96% CSS 4.92% HTML 16.12%

simple-reactjs-app's Introduction

Simple React JS Project

What is the use of this Repo

This Project is a Simple ReactJS Project which demonstrates the following

  1. Creating a Component in React
  2. Making HTTP calls
  3. Communicating between parent and child component
  4. Using Bootstrap along with React
  5. Using Basic Routing in React

The project Template can be used to build bigger projects

Live Application URL

This URL has the application deployed in

Prerequisites

Install Node JS

Refer to https://nodejs.org/en/ to install nodejs

Install create-react-app

Install create-react-app npm package globally. This will help to easily run the project and also build the source files easily. Use the following command to install create-react-app

npm install -g create-react-app

Live Application URL

The Application is deployed in https://aditya-sridhar.github.io/simple-reactjs-app

Click on the link to see the application

Cloning and Running the Application in local

Clone the project into local

Install all the npm packages. Go into the project folder and type the following command to install all npm packages

npm install

In order to run the application Type the following command

npm start

The Application Runs on localhost:3000

Application design

Components

  1. Customers Component : This Component displays a list of customers. This Component gets the data from a json file in assets folder

  2. CustomerDetails Component : This Component Displays the details of the selected customer. This Component gets its data from a json file in assets folder as well. This Component is the Child Component of Customers Component

HTTP client

axios library is used to make HTTP Calls

URL

The application has just one url /customerlist which ties to Customers Component

Resources

create-react-app : The following link has all the commands that can be used with create-react-app https://github.com/facebook/create-react-app

ReactJS : Refer to https://reactjs.org/ to understand the concepts of ReactJS

React Bootstrap : Refer to https://react-bootstrap.github.io/getting-started/introduction/ to understand how to use React Bootstrap

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.