GithubHelp home page GithubHelp logo

lego-in-parts's Introduction

Lego minifigs

Live version of project

Visit it here

Setup

  1. Copy environmental variables file for each environment and pass necessary values to envs
cp .env.dist .env.development
cp .env.dist .env.production
  1. Start project
npm run dev

Plan

  1. Create basic configuration with the following:
    1. axios
    2. react-query
    3. vite
    4. react-router
  2. Create Routing for homepage ✅
  3. Install Mantine to use components ✅
  4. Install styling library (emotion/styled-components) ❌ Went for styling with createStyles
  5. Get the homepage done ✅
    1. Fetch 3 random figures ✅
    2. Redirection to the catalog page ✅
    3. Animation of the button to provide nice look 🔜
  6. Get the Catalog page done ✅
    1. Set styles for hover & focus ✅
    2. Make it accessible by tab & enter 🔜
    3. On choice redirect with passed state containing all the details about the model ✅
  7. Get the summary page done
    1. Obtain data from the state or api call to url ✅
    2. Display right side with animation ✅
    3. Display form with react-hook-form
    4. Implement yup validation schema ✅
    5. Fake api with mswjs
    6. Redirect to home✅

Not done but could be great to add if more time

  1. Animations with Framer motion
  2. RWD
  3. Revalidate UI/UX
  4. Accessibility
  5. Better validation rules
  6. Make some common components e.g. input with mask, buttons, titles
  7. Set up theme with correct colors used in application
  8. E2E tests in Playwright/Cypress
  9. Unit tests in vitest
  10. Vite chunks splitting

lego-in-parts's People

Contributors

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