Initially developed as part of a take-home assessment for a job application, this project has been refined and is now available as a reference for those facing similar challenges. It features a responsive autocomplete component with text highlighting and keyboard navigation. Notably, it does not use any third-party libraries beyond the essentials: React, TypeScript, and Vite.
- ⌨️ Keyboard navigation: Users can navigate through the autocomplete suggestions using the arrow keys and clear the search input with the escape key.
- ✨ Text highlighting: Autocomplete suggestions highlight the part of the text that matches the user's input.
- 📱 Responsive design: Fully responsive, ensuring a great user experience on both desktop and mobile devices.
- 🛠️ No third-party libraries: Built-in logic for autocomplete functionality without external dependencies.
- React 18
- TypeScript
- Vite
- CSS with BEM methodology
This app uses the TheMealDB API to fetch cooking recipes.
-
Clone the repository:
git clone https://github.com/jorgecancinof/recipe-finder.git && cd recipe-finder
-
This project uses Node.js LTS version 20.14.0. If you have a Node.js version manager (e.g., NVM, FNM, Volta), the
.nvmrc
file will help you switch to this version automatically. -
Install the dependencies:
npm ci
-
Start the development server:
npm run dev
-
Open the localhost URL provided by Vite to access the app.
This project is licensed under the MIT License.