diegovfeder / auto-complete

auto-complete

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Autocomplete Component Challenge πŸš€

Hello! I'm Diego Feder, and this is my submission for the front-end coding challenge for Deel. This project includes a React-based autocomplete component developed using Bun as the JavaScript runtime.

Features 🌟

  • React with TypeScript: Ensures type safety and developer productivity.
  • No Third-party Libraries: Pure React implementation for autocomplete functionality.
  • Asynchronous Data Handling: Mimics fetching data from an API.
  • CSS Styling: Basic yet functional styling for the autocomplete component.
  • Highlight Matching Text: Enhances user experience by highlighting parts of the suggestions that match the input query.

Prerequisites πŸ“‹

Before you run this project, ensure you have Bun installed on your machine. Bun is used for running and building the application and provides faster performance compared to traditional JavaScript runtimes.

How to Run the Project πŸƒ

  1. Install Dependencies and Start the Application:
bun install
bun dev

Navigate to http://localhost:5173/ in your browser to see the application in action.

πŸ› οΈ Available Scripts

In the project directory, you can run:

bun dev # Starts the Vite development server.
bun run build # Compiles and bundles the React application for production deployment.
bun preview #Serves the built application for preview before deployment.

πŸ“¦ What's Inside?

This project includes:

  • React 18: Utilizes the latest React features like hooks.
  • TypeScript: For strong typing and reducing runtime errors.
  • Vite: A modern build tool that significantly improves the developer experience.

Development Notes πŸ“

Bun as a Runtime: Bun was chosen over other tools like Webpack or CRA due to its speed and efficiency in JavaScript execution.

πŸ”„ Version

auto-complete version: 0.0.0

πŸ“ž Contact

Diego Feder - diegovfeder@gmail.com

About

auto-complete


Languages

Language:TypeScript 91.2%Language:CSS 7.5%Language:HTML 1.3%