GithubHelp home page GithubHelp logo

david2261 / social_site Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 723 KB

Social site like messanger there used auth, login, posts, etc...

License: GNU General Public License v3.0

Python 28.95% HTML 44.58% JavaScript 3.64% CSS 22.82%
django django-rest-framework python

social_site's Introduction

social_site

https://img.shields.io/github/last-commit/David2261/social_site GitHub Light

What I did in the project

The project is a light form of messenger (similar to reddit); In which you can create an article and choose a topic, and leave a comment; You can login or make new account; A form for the api has been created;

When writing this manual, I used:

  • windows Windows 10
  • python Python 3.7
  • django Django 3.0
  • drf DjangoREST 3.11
  • docker Docker 20.10.12
  • docker compose 2.2.3

Getting Started

  • First you need to create an environment:
    • For that you need install virtualenv
      • pip install virtualenv
  • After that you can create your new environment: virtualenv venv
  • Second you need activate env
  • If you using windows, you can activate env like me: venv\Scripts\activate
  • Thirt you need install all pip's which contain in requirements.txt:
    • pip install -r requirements

Nice your env created, right now we can work with project:

  • First we make our migrations:
  1. python manage.py makemigrations
  2. python manage.py migrate
  3. python manage.py runserver

Main page:

alt text

social_site's People

Contributors

david2261 avatar

Watchers

 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.