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.
Once it uses Django and SQLite, you need to have Python, Pip and Sqlite installed in your machine.
sudo apt-get install python
sudo apt-get install python3-pip
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.
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.
This project exposes a Movies endpoint accessible via localhost/api/movies