scheung38 / drf-file-upload

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Django Rest Framework File(s) and Image(s) Upload

Description

This project shows how to upload image(s) and file(s)
using API in Django (ie. using Django Rest Framework)

Technology Stack

Backend: Django, Django Rest Framework

To run the project

Prerequisites: Python3, virutalenv

  1. Checkout the code
  2. Create a virtual environment (virutalenv .env)
  3. Activate the environment (source .env/bin/activate)
  4. Install all the packages (pip install -r requirements.txt)
  5. Navigate inside the project (cd src)
  6. Migrate (python manage.py migrate)
  7. Create a superuser (python manage.py createsuperuser)
    Fill in all the details on the terminal to create the superuser
  8. Run the backend server (python manage.py runserver)
  9. Visit the server link (http://localhost:8000/)

Video Demo

Part 1: https://youtu.be/Y5u09KpjaVc
Part 2: https://youtu.be/7Oo9Qve8ehQ
Part 3: Coming soon...

About


Languages

Language:Python 83.3%Language:HTML 16.7%