This is a platform where individuals can upload public datasets for the country that could be accessed via an api to download csv and excel files to train models.
Docker (Optional)
Server: Django, Postgres
Clone the project
git clone https://github.com/RodgerCodes/OpenDataMalawi-backend
Go to the project directory
cd OpenDataMalawi-backend
create a .env
make setup
Create a virtual environment
Install packages
pip install -r requirements.txt
Run Migrations
python manage.py migrate
Run Server
python manage.py migrate
the api run on - http://localhost:8000
http://localhost:8000/api/schema/swagger-ui/
Clone the project
git clone https://github.com/RodgerCodes/OpenDataMalawi-backend
Go to the project directory
cd OpenDataMalawi-backend
create a .env
make setup
build the image
make docker-build
start container
make dev-start
navigate to containter shell
make docker-shell
In docker shell run migrations
python manage.py migrate
the api run on - http://localhost:8000
http://localhost:8000/api/schema/swagger-ui/
TODO: add tests
As usual PRs are welcome.