Coder Social home page Coder Social logo

d3rrick / instagram Goto Github PK

View Code? Open in Web Editor NEW
0.0 2.0 0.0 1.63 MB

The application allows users to register to the application and once they are authenticated, they can post their wanted photo posts followed by small description, the user also gains a free profile whereby he/she can view all the posts made, he can view the people following or them he is following, The user can also edit his profile and do basic authentication management like changing the password etc.

Home Page: https://deryq-instagram.herokuapp.com/

Python 53.29% CSS 22.64% HTML 23.98% JavaScript 0.08%

instagram's Introduction

Instagram clone

The instagram clone is an implementation of a close feel of the Instagram application, by the flow of the functionality.

By Derrick created on, May 19th 2018

Description

The application allows users to register to the application and once they are authenticated, they can post their wanted photo posts followed by small description, the user also gains a free profile whereby he/she can view all the posts made, he can view the people following or them he is following, The user can also edit his profile and do basic authentication management like changing the password etc.

Behaviour

Authentication

  • The authentication system is build using django core library.
  • The user visits the application via the link in any browser or phone and is redirected to register or login.
  • If the user din't have the account, A registration form has to be filled out and then redirected to login.
  • After successfully login, the user is again redirected to the dashboard where he can view all the posts.

Profile

  • The user has a profile where he/she can view all the posts he/she made and the people following or them he's following.
  • The user also can edit the profile as wished.
  • The user can also change his credentials.

Post and Commenting system

  • Each photo post has a comment form where the user can comment.
  • Each post shows the number of likes and comments.
  • Once a post is clicked, a modal popsup with more details about that photo.

Development and Setup.

prerequisites

  • Python 3.6 should be installed
  • django 1.11
  • install other packages provided in the requirements.txt file

Running the application.

  • Visit this link to view on any browser.

Installation.

  • Ensure python3.6 is installed.
  • Clone the repository git clone <repo url>
  • create a virtual environment virtualenv <envname> and activate source <envname>/bin/activate
  • Install the required packages pip3 install -r requirements.txt
  • Create a postgresql database.
  • open the psql terminal by typing psql -h localhost -U <username>
  • Once on the psql terminal create the database ```CREATE DATABASE ``
  • Quit the shell \q
  • Once the database is setup, make migrations, this creates database schemas for the application python manage.py makemigrations
  • Then create the actual database tables by python manage.py migrate
  • Start the application by python manage.py runserver and open http://127.0.0.1:8000 in the browser.

Technology Used

  • Python3.6
  • Django 1.11
  • git version control
  • heroku cli

Test Driven Development

Testing was done using python inbuild test tool called unittest to test database and form models.

Further help

To get Further help you can visit the official python and django documentation.

Licence

MIT (c) 2017 muriithi derrick

instagram's People

Contributors

d3rrick avatar

Watchers

James Cloos avatar  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.