Code Monkey home page Code Monkey logo

starwars_searcher's Introduction

StarWars searcher (Chewy)

    This is a Python/Django app of StarWars using Swapi, it's a website called Chewy where you can see all the data of Swapi with images and different elements. This is a project to learn how to work with django and improve my skills in python.

Getting Started

    Instructions to obtain and run the application in systems with Linux (Ubuntu 18.04.2 LTS)

Prerequisites

     To execute this project you'll need the following requeriments

Python >= 3.6.8
git 

Installing

     To get and install this app you'll have to follow the next steps

git clone https://github.com/RubenZx/StarWars_Searcher.git
cd StarWars_Searcher/StarWars
pip3 install -r requeriments.txt
python3 manage.py makemigrations
python3 manage.py migrate

Usage

     First of all you'll need to create an admin user if you want to access to the admin part of the site, to load data and see what data you have in your database of the site (optional)

python3 manage.py createsuperuser

     Now you are ready to run the aplication

python3 manage.py runserver

     Note: You can load the data in 2 different ways:

  1. Using the following command in the shell:
python3 manage.py load_data
  1. In the admin site there is a button to load_data, that will load/update it

     After this you can open your browser and type the following link localhost:8000. You will see the following sections in your website:

  • Logo, this is the home button
  • Categories, a dropdown where you can see the different sections of the website
    • Films
    • Characters
    • Planets
    • Species
    • Starships
    • Vehicles
  • Historic, another dropdown where you will see the last 10 pages visited in the website
  • Log in, this is a button to go to the admin site
  • Search bar, to look up a film

Main page

Built With

  • Django - The web framework used

starwars_searcher's People

Contributors

rubenzx avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.