The Supreme Court Cases (SCC) Web App is an open-source platform designed to provide a searchable database of Supreme Court cases in Ghana.
# Supreme Court Cases Search Application
A modern, responsive web application for searching and browsing Supreme Court cases. Built with React, TypeScript, and a Node.js/Express backend that queries Wikidata for comprehensive case information.
## ✨ Features
- **Elegant Search Interface**: Beautiful hero section with animated gradients and smooth search experience
- **Comprehensive Case Data**: Detailed information including citations, courts, judges, and majority opinions
- **Responsive Design**: Optimized for mobile, tablet, and desktop with fluid layouts
- **Real-time Search**: Fast search results with loading states and error handling
- **Modern UI/UX**: Clean design with smooth animations and micro-interactions
- **Accessibility**: WCAG compliant with proper ARIA labels and keyboard navigation
## 🛠️ Tech Stack
### Frontend
- **React 18.3.1** - Modern React with hooks and functional components
- **TypeScript 5.5.3** - Type-safe development
- **Vite 5.4.2** - Fast build tool and dev server
- **CSS3** - Custom CSS with CSS Grid and Flexbox
- **Font Awesome 5.15.3** - Icon library
### Backend
- **Node.js** - JavaScript runtime
- **Express.js** - Web application framework
- **Axios** - HTTP client for API requests
- **EJS** - Template engine (for existing backend)
- **CORS** - Cross-origin resource sharing
- **Morgan** - HTTP request logger
## 📋 Prerequisites
Before you begin, ensure you have the following installed:
- **Node.js**: Version 18.0.0 or higher (LTS recommended)
- **npm**: Version 8.0.0 or higher (comes with Node.js)
- **Git**: For version control
### Checking Your Versions
```bash
node --version # Should be 18.0.0+
npm --version # Should be 8.0.0+
git --version # Any recent version
```
### Installing Node.js
If you don't have Node.js installed or need to upgrade:
1. **Using Node Version Manager (nvm)** - Recommended:
```bash
# Install nvm (macOS/Linux)
curl -o-
raw.githubusercontent.com | b …