Skip to content

jankaacc/star_wars_api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

start_wars_api

starwars service

Getting started

To Run app in start_wars_api folder

docker-compose up

To Run tests in start_wars_api folder

docker-compose run --rm backend ./docker/run-tests.sh

To create admin user run:

docker-compose run --rm backend python manage.py createsuperuser

UI Documentation

  • localhost:5000 -> Homepage, detail page after link click
  • after download reload page to see updated list
  • localhost:5000/backend/admin -> Admin panel

img_1.png

  • localhost:5000/:id -> Detailpage

img_2.png

API Documentation:

  • localhost:5000/swagger

img.png

Improvements

  • Add more test only most basic cases implemented

  • Add service to interact with CSV files, currently this responsibility is splitted between few classes

  • Add cache for caching responses from SWAPI

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published