/swapi

Web application allowing to collect, resolve and inspect information about characters in the Star Wars universe.

Primary LanguagePython

Star Wars Explorer

Web application allowing to collect, resolve and inspect information about characters in the Star Wars universe from the SWAPI.

Tech Stack: Django, Django Rest Framework, Vue.js, Docker


Installation

Prerequisites:

  • Docker (docker-compose)

Start the database and application:

docker-compose up

The application can be stopped with the removal of the containers by the command:

docker-compose down

Usage

Having server running please visit http://127.0.0.1:8000/.
You will be taken to the main page of the application, where you can see and download previously collected csv, or fetch and save fresh data.
From there you can display details of given collection, by entering one of listed links.
The application will start with examplary object in the database and CSV file available.
In the detail view you have 2 options - display all available data (loaded from the file by 10) or display aggregated data, according to selected columns.


Frontend application is comunicating with backend by REST API calls.
To display list of available endpoints please visit docs.