A full stack web application designed to provide company financial information from the SEC public API (EDGAR).
The backend API retrieves data from the following SEC endpoints:
- Company Tickers:
https://www.sec.gov/files/company_tickers.json - Company Submissions:
https://data.sec.gov/submissions/CIK{cik}.json - Company Facts:
https://data.sec.gov/api/xbrl/companyfacts/CIK{cik}.json
-
Clone the repository:
git clone https://github.com/YOUR_GITHUB_USERNAME/sec-webapp.git
-
Navigate to the project directory:
cd sec-webapp -
Ensure Docker and Docker Compose are installed on your system
-
Build and run the application using Docker Compose:
docker-compose up --build
-
Access the application:
- Frontend: http://localhost:3000
- Backend API: http://localhost:8000
- API Documentation: http://localhost:8000/docs
-
Navigate to the frontend directory:
cd sec-fe -
Ensure Node.js is installed (version 18+ recommended)
-
Install dependencies:
npm install
-
Start the development server:
npm run dev
-
Access the frontend at http://localhost:3000
-
Navigate to the backend directory:
cd sec-be -
Ensure Python is installed (version 3.13 required)
-
Create and activate a virtual environment (recommended):
python -m venv venv source venv/bin/activate # On Windows use: venv\Scripts\activate
-
Install dependencies:
pip install -r requirements.txt
-
Start the FastAPI server:
uvicorn main:app --reload
-
Access the backend at http://localhost:8000
- Frontend: React + Vite
- Backend: FastAPI (Python)
- Containerization: Docker
- The frontend development server includes hot-reloading
- The backend server will automatically reload when changes are detected
- API documentation is available at http://localhost:8000/docs
- Fork the repository
- Create your feature branch (
git checkout -b feature/AmazingFeature) - Commit your changes (
git commit -m 'Add some AmazingFeature') - Push to the branch (
git push origin feature/AmazingFeature) - Open a Pull Request