This project aims to create a company tracker using the Edgar API. The goal is to provide a tool that allows users to search for and track information about companies registered with the U.S. Securities and Exchange Commission (SEC).
You need to have Python installed on your machine. You can download Python here. This project requires Python 3.10+
Before you can run the project, you need to set up a virtual environment. This will keep the dependencies required by this project separate from your global Python environment.
Here's how you can set up a virtual environment:
-
Navigate to the project server directory:
cd ./server
-
Create a new virtual environment:
python -m venv env
-
Activate the virtual environment:
source env/bin/activate
To set your identity for the edgar rest client, create a file in the root called .env. In the file create two lines:
NAME="Your Name"
EMAIL="Your Email"
After setting up and activating the virtual environment, you can install the required dependencies:
pip install -r requirements.txt
You need to have Node.js and npm installed on your machine. You can download Node.js and npm here. This project was written with the latest LTS version of Node.js as of January, 2024.
Before you can run the project, you need to install the required dependencies.
Here's how you can set up the environment:
-
Navigate to the project client directory:
cd ./client
-
Install the required dependencies:
npm install
Once the dependencies are installed you can start the backend server by navigating to the server directory and starting the uvicorn server:
cd ./server
uvicorn company:app --reload
Start the frontend application by navigating to the client directory:
cd ./client
npm run dev