Skip to content

ncirak/search-app

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Search App

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.

Features

  • Simple User-friendly interface
  • Real-time search results
  • Create new companies

How to Run

  1. Clone the repository
  2. 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 
  1. Run the following command to start the app:
docker-compose up --build
  1. 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

In Progress Features

[ ] - 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

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published