Rawgeek / starwars

App which allows you to collect, resolve and inspect information about characters in the Star Wars universe from the SWAPI

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Starwars Characters Explorer

App which allows you to collect, resolve and inspect information about characters in the Star Wars universe from the SWAPI

Python Challenge.pdf

Setup

node@17.0.1
python@3.9.7

Install:

$ git clone git@github.com:rawgeek/starwars.git
$ cd starwars
$ nvm install
$ cd assets
$ npm install

If you wish to only generate a fresh front-end build, run:

$ npm run build
$ cd ..

To run in front-end in development mode, run (currently isn't working correctly for :8000 port, use port :8080):

$ npm start

Open new terminal and continue below

If on Mac OS X Mojave:

CFLAGS="-I$(xcrun --show-sdk-path)/usr/include" pyenv install

Else:

$ pyenv install

Next:

$ pipenv install --dev
$ pipenv shell
$ ./manage.py migrate
$ ./manage.py runserver

Go to http://localhost:8000

Unit Tests

$ python manage.py test

TODO / Known Issues

  • Add Unit tests for Frontend
  • Frontend cleanup and restructuring, add error handling
  • Async process for downloading from multiple pages

About

App which allows you to collect, resolve and inspect information about characters in the Star Wars universe from the SWAPI


Languages

Language:Python 44.4%Language:JavaScript 44.4%Language:Vue 9.6%Language:HTML 1.6%