Allows users to upload CSV files, which are then stored in a SQLite database, and search through the loaded CSV data.
- Upload CSV files and store the data in a SQLite database.
- Search through the CSV data with a responsive frontend.
- Display search results as cards with a clean and responsive design.
- Backend: Node.js, Express, SQLite, Multer
- Frontend: React, Axios
- Testing: Jest, Supertest
- Node.js (v14 or higher)
- npm (v6 or higher)
-
Install dependencies:
# For backend cd backend npm install # For frontend cd frontend npm install
-
Start the backend server:
cd backend npm run dev -
Start the frontend server:
cd frontend npm start
The backend will run on http://localhost:3000 and the frontend will run on http://localhost:4000.
- Open your web browser and navigate to
http://localhost:4000. - Click on the button to upload a CSV file.
- Use the search bar to filter the data based on any column.
To run the backend tests, navigate to the backend directory and run:
cd frontend
npm testTo run the backend tests, navigate to the backend directory and run:
cd backend
npm test
