Skip to content

This is an improved version of search suggestion in React which is has buggy implementation using HTML, CSS and JS on below link.

Notifications You must be signed in to change notification settings

yashmishra0207/React-Search

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

What's this?

This is an improved version of search suggestion in React which is has buggy implementation using HTML, CSS and JS on this link. This is responsive and beautifully designed.


Screen.Recording.2023-04-29.at.12.18.22.PM.mov

How to run on your machine locally?

Quite simple. Just download/clone the repo and in its root folder run below commands in terminal in given order.

  1. npm run install-modules - This will install client and server dependencies.
  2. npm run dev - This will start serving client and server on localhost.

App will start running on localhost:8080


FYI - Backend server will be running on localhost:3333

I know that .env should be gitignored but since it doesn't contain sensitive info at the moment and to ease the setup I have commited .env as well.


Possible improvement on Backend - The search suggestions could be stored in a Trie instead of an array ensuring lesser memory consumption and faster retrieval.


Other screenshots:


Screenshot 2023-04-29 at 12 23 15 PM

Screenshot 2023-04-29 at 12 23 47 PM

About

This is an improved version of search suggestion in React which is has buggy implementation using HTML, CSS and JS on below link.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published