Repository files navigation Flask Rest API on Companies House data
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
Development environment setup
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 wget commands in the Dockerfile in .devcontainer folder
cd to setup folder
Run python create_table.py to initialize database
Run python import_bcd_data.py to load company data into the database
Run python import_psc_data.py to load people data into the database
Run python app.py to start the development server
Go to http://localhost:5000/ for OpenAPI documentation
About
Flask Rest API on Companies House data
Resources
License
Stars
Watchers
Forks
You can’t perform that action at this time.