This is a simple search app that allows users to search for specific items within a given dataset. The app is built using React and Spring Boot, and it utilizes Postgresql for efficient search functionality.
- Simple User-friendly interface
- Real-time search results
- Create new companies
- Clone the repository
- Set Up Environment Variables Create a .env file in the root directory of your project and add the following variables:
POSTGRES_USER=your_postgres_user
POSTGRES_PASSWORD=your_postgres_password
POSTGRES_DB=your_postgres_database_name
POSTGRES_HOST=your_postgres_host # add as postgres to run via Docker
POSTGRES_PORT=your_postgres_port
- Run the following command to start the app:
docker-compose up --build
- Visit
http://localhost:3000
to view the app.- Main Page:
http://localhost:3000
Search for companies - Create Company:
http://localhost:3000/create
Create a new company
- Main Page:
[ ] - Faster search results using index on the database
[ ] - Pagination for search results
[ ] - Add more data to the dataset
[ ] - For medium to large datasets, implement a caching mechanism to improve search performance