- CRUD API over Companies House data
- Manage company data
- Edit people with significant control
- Filter and paginate data
- Security via JWT tokens
- Python
- Flask
- SqlAlchemy
- Postgres
- Pytest
- Docker
- Docker
- VSCode
- Remote Containers extension
- Clone repository or download and extract zip file
- Open folder in VSCode
- Choose to reopen in container when prompted
- Give docker a minute to build the container
- Download the company and people with significant control data files. Find the
wgetcommands in theDockerfilein.devcontainerfolder cdtosetupfolder- Run
python create_table.pyto initialize database - Run
python import_bcd_data.pyto load company data into the database - Run
python import_psc_data.pyto load people data into the database
- Run
python app.pyto start the development server - Go to
http://localhost:5000/for OpenAPI documentation
- Run
pytestto run tests