jramiresbrito / django-wikio

Simple version of my Wikio APP to learn the basics of Django.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

WIKIO DJANGO VERSION

This is a very, very, very amateur version of Wikio APP, originally built with Express.JS, React and MongoDB that can be found in:
https://pure-ocean-87159.herokuapp.com/
I built this project just to learn the basics of Django. So there are zero concerns of production environments and all aditional security and performance details of a production application should have.

CONFIGURATION INSTRUCTIONS

Once it uses Django and SQLite, you need to have Python, Pip and Sqlite installed in your machine.

Python

sudo apt-get install python

PIP

sudo apt-get install python3-pip

SQLite Browser

sudo apt-get install sqlitebrowser

Now follow these steps:
  • Clone this repo into a new directory and navigate to the root folder
  • Open a terminal (in root) and run: pip install -r requirements.txt
  • Wait all dependencies to be installed.
  • Still in your terminal run: python3 manage.py migrate
  • And now: python3 manage.py runserver
  • We are done.

USAGE

You can add a admin user to the app by running the command:

python3 manage.py createsuperuser

Fill the username and password.

Now you can just access the admin panel in localhost/admin and add Movies and Genres.

API

This project exposes a Movies endpoint accessible via localhost/api/movies

About

Simple version of my Wikio APP to learn the basics of Django.


Languages

Language:Python 78.2%Language:HTML 21.8%