Coder Social home page Coder Social logo

amirkhgraphic / djangoblog Goto Github PK

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

this is a simple Django blog that uses the customized user model and authentication to log-in and see others posts the way you want !

Python 57.04% JavaScript 12.44% HTML 30.52%
api bootstrap5 crispy-forms css django django-admin django-blog django-custom-user django-orm django-rest-framework

djangoblog's Introduction

Simple Blog (Django/SQLite) ๐ŸŒ

Description ๐Ÿ“‘

this is a django project; this project is consist of some major parts. API app, which is the api that is developed using django-rest-framework and all javascript parts are using these APIs to read posts from database and list them. After that there is the users app; this app is for the customization of the django's user model and authentication. Then we have the other app called posts; which is the main app for the blogs (posts, comments, categories). this is where views.py and urls.py are. it's responsible for controlling endpoints and rendering the appropriate HTML to represent to the client. I also made the search by category and author using javascript.

How to Run โ“

first you need to create a virtual environment, cd to the directory where this file is and then run the following command:

Create and Activate a Virtual Environment:

  • Linux/mac:
$ pip install virtualenv
$ virtualenv [YourVenvName]
$ source [YourVenvName]/bin/activate
  • Windows:
pip install virtualenv
python -m venv [YourVenvName]
[YourVenvName]/Scripts/activate

install the required libraries and run the code:

$ pip install -r requirements.txt
$ python manage.py makemigrations
$ python manage.py migrate
$ python manage.py runserver

Contribute! ๐Ÿค๐Ÿป

I'm more than happy to hear your feedbacks and collaborate with you guys!

if you had any problem contributing on the project, feel free to contact me:

- Amirhoseein Khalili

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.