Create Instagram Like App in Python Django


Creating an Instagram Service in Django
with tylersavery|5 years experience|Python
98902total views
Create Instagram Like App in Python Django
- English
- Programming
Django
- Project length: 19h 31m
*** UPDATE: We have 80% of the Backend/API Complete. We are now shifting focus to building the client side using Angular 2 + TypeScript + Ionic2. There will still be Django development in this series as we flip back and forth through the stack. *** This tutorial will cover everything from A to Z of building the backend of an Instagram like app. We will start with setting up the environment using Vagrant, Python, Postgres, and Django while I help explain best practices for rapidly prototyping an API centric application. From there we will install the required Django plugins (such as Django Rest Framework), build the views and serializes, and handle user authentication. The next component will be dealing with image uploading, applying filters, and saving the data to a CDN capable location (S3). We’ll wrap up the project by creating all the other API endpoints such as getting profile info, liking, commenting, and following. I hope this django tutorial series gives you a great idea of the many complexities that exist when building applications. Django boilerplate can be found here: https://github.com/tsavecodes/djawesome
Overview
Introduction
I’ll be developing on a Mac, but since we are using Vagrant any OS should do
What are the requirements?
- Python + Django
- Databases driven websites (we’ll be using Postgres)
- Linux (we’ll be hosting on Ubuntu)
What is the target audience?
- Learners who want to understand Django’s structure for big applications
- Learners who want to enhance their knowledge of API best practices
- Learners who don’t know how to get started building an application
Project Outline
Session 1: Setting-up the Environment (March 28)
- Setting up Vagrant
- Installing Ubuntu
- Configuring Ubuntu
- Configuring Python Dependencies
- Setting up Bash Profile Helpers
- Setting up Development Workflow
- Creating the first Model, View, and Serializers
- Interacting with API (through Postman)
Session 2: API Foundation (March 30)
- Planning our Application’s Architecture
- Lesson on what REST is
- Build Required Models (User, Post, Asset, Like, Comment, etc.)
- Create Basic Views + Serializers
- Interacting with the API
Session 3: Image Processing & Management (April 4)
- Authentication
- Image Uploading
- Image Processing (resizing / filtering)
- Saving Images
Session 4: Other Endpoints (April 6)
- Liking Posts
- Commenting
- Following
- Other Misc. API Endpoints