Skip to content

Liviujmk/actokedavra-warm-up

Repository files navigation

Actokedavra | Internship Week 1 - Warming Up

Mind MAP

  • 1. Base Project Setup

    • Clone Vite + Mantine template from mantine/mantine-vite-template
    • Add react-router-dom for routing
    • Add json-server for ACTORS API
    • Add redux for state management
    • Add redux-toolkit for redux toolkit
  • 2. Setting JSON Server

    • Create db.json file with actors data
  • 3. Setting Project Structure

    • Create common folder for common data whithin app
      • constants folder for global app constants
      • store folder for app store
    • Create pages folder for app pages
    • Create router folder for app router
    • Create layouts folder for app layouts
    • Create features folder for features (will be only actors feature)
      • components folder for components
      • api folder for api calls with redux-toolkit
      • types folder for feature types and interfaces
      • utils folder for feature utils
      • constants folder for feature constants
      • store folder for feature store
  • 4. Building Actors Feature

    • Actor interface:
      • id - string
      • name - string
      • image - string
      • likes - number
      • occupation - string
      • hobbies - string
      • description - string
    • ActorsList component:
      • Fetch actors data from API
      • Display actors data as card grid based on ActorCard component
      • Add Add Actor button
    • AddActor or EditActor modal components based on ActorForm component and then relevant notifications
    • create actors slice with Actors reducer
      • actors reducer:
        • clear state action
        • setActiveActor action
        • set/remove SelectedActors action
        • deleteAll action
        • sorting action
    • create actorsApi api with createApi
  • 6. Building App Functionality

    • Sorting/Ordering functionality
    • Bulk Delete functionality
  • 7. Building App Pages

    • Create ActorsPage component

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published