Skip to content

Interview technical assignment 2024. Django custom command capable of efficiently importing point of interest data from various file formats such as JSON, CSV, and XML files

Notifications You must be signed in to change notification settings

dmytro-frolov/poi-dataimport

Repository files navigation

Features

  • cli import
  • django rest framework data import endpoint
  • thread pool to handle big files
  • pipenv
  • dotenv
  • docker compose file
  • logger
  • unittests

Setup

Built using python 3.11

python -m pip install pipenv
pipenv install

# setup DB
docker compose up

cp .env.example .env
python manage.py migrate
python manage.py createsuperuser

# run server 
python manage.py 0.0.0.0:8000  --noreload

# to import using cli
python manage.py data_import --file examples/short_pois.csv --file examples/pois.xml

# to run unittests
python manage.py test point_of_interest/tests

About

Interview technical assignment 2024. Django custom command capable of efficiently importing point of interest data from various file formats such as JSON, CSV, and XML files

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages