Code Monkey home page Code Monkey logo

car-owners's Introduction

Cars

Cars is powered by Create React App.

Tech stacks

  • React
  • Husky
  • Eslint
  • lint-staged
  • Prettier
  • Tailwind CSS
  • Tailwind Plugin - daisyUI
  • Typescript
  • React-hook-form
  • Jest (unit test)
  • Playwright (e2e)

Installation

The repo is scaffolded under Node 16.19.1 so ensure you have the right version to avoid package dependency errors during installation. You can simply install the right node version using nvm

nvm i 16
nvm use 16
node -v
v16.19.1

install yarn

npm i -g yarn

clone the repo

git clone [email protected]:LBrian/cars.git

install packages

cd cars
yarn

Run the application locally

yarn start

Open http://localhost:3000 to view it in the browser.

Run unit test and e2e test

yarn test

Launches the test runner Jest in the interactive watch mode.

yarn e2e

Lunches Playwright e2e test and local web server to test against it. Test result will be output in the playwright-report folder.

Build the production application

yarn run build

Builds the app for production to the build folder.

Work note

  • 10 mins read through requirements and write test cases (TDD)
  • 20 mins scaffolding
  • 3 hrs implementation + unit test + e2e test

car-owners's People

Watchers

Brian Liu 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.