Giter VIP home page Giter VIP logo

car-rental-availability's Introduction

car-rental-availability

Overview

Using React, create a website that displays a visual representation of the following feed.

Features

  • Boilerplate - Used create-react-app
  • Project Structure - It seemed natural for me to organize files by type when I first started using React. However, got the opportunity to work on some larger projects, I am well aware of how difficult it can be to browse through the files as a project becomes larger.
  • EsLint, Prettier and AirBnb React Style guide - For large-scale projects getting all the developers to follow a consistent style of code can be tricky. It can take the help of two awesome libraries eslint and prettier.
  • State management / Global Store - This is just small project where I have just used to react-router-dom feature to pass data to another route. Otherwise It will helpful use any one of the State management tool such as redux, Recoil, Jotai and Zustand.
  • I have created functional component intead of class component.
  • Routing - React doesn’t provide an official library for routing on the client side. But react-router-dom is by far the go-to choice for most projects.
  • UI - I was planning to use one of the UI library however I just used HTML, SCSS and ES6.
  • Styling - We can use plain old css for our component, but in this modern age, we should use a sass setup for better styling.
  • HTTP Query - I have used fetch, async, await however, Fetching data from the remote server is one of the most common tasks for dynamic react applications. For standard CRUD operations, Axios is a great choice.
  • Utility - I have created a utility file that contains all of the common functions that we may utilize in our project.
  • I have just covered snapshot testing.
  • Used Heroku for CI/CD and deployment.

GitHub Repo

car-rental-availability

Installation

Install the dependencies and devDependencies and start the server.

git clone https://github.com/shreelimbkar/car-rental-availability.git
cd car-rental-availability
npm i or yarn
npm start or yarn start

Building for source

For production release:

npm run build --prod or yarn run build

Deploy on Github Pages for distribution:

npm run deploy or yarn run deploy

Pending items or issues

Due to a lack of time, I was unable to address all of the points; nevertheless, I feel that there is always room for improvement, which can be accomplished gradually as we have a greater understanding of the functionality / feature. The following are a few issues that I believe may be improved.

  • Component spliting
  • Need to refactor styling
  • Any one of the UI library can be used.
  • Vendor group by feature can be improved.
  • I have github pages to deploy application however facing some issue with "homepage" option in package.json
  • All the scenarios should be covered in Test cases.

car-rental-availability's People

Contributors

shreelimbkar 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.