How do you know if it is fair to exchange two sets of Pokémons? Worry no more, this web app will do it for you!
Go to the web app and use it! We hope it is self-explanatory!
There were more time, those would be some improvements I would like to implement:
-
a type-ahead/autocomplete feature for the pokémon names; * user authentication;
-
Importing all pokemons at once;
Some of those can be found at the issues.
It would probably be instructive/fun to implement the interface as a single-page application.
Make sure you have Python 3.7 installed locally. To push to Heroku, you'll need to install the Heroku CLI, as well as Postgres.
$ git clone https://github.com/brandizzi/poketrader.git $ cd poketrader
$ python3 -m venv getting-started
$ pip install -r requirements.txt
$ python manage.py migrate
$ python manage.py collectstatic
$ python manage.py runserver
You can use heroku local
instead of python manage.py runserver
, too.
Your app should now be running on localhost:8000.
$ heroku create
$ git push heroku main
$ heroku run python manage.py migrate
$ heroku open
or
-
This application was build upon the reference Django application from Heroku. I squashed their older commits to make everything more readable for the evaluators, but they are great and I really want to acknoledge the use of their code. If you are going to work with Django at Heroku, this repository as well as this page are great references.
-
This project is part of the recruitment process at bxblue. They are an amazing company, as one can infer from such a fun challenge! Take a look at their open positions. You'll probably need to know Brazilian Portuguese, though.