Skip to content

A Django web application for browsing and managing quotes and authors. Registered users can add new quotes and authors to the database.

License

Notifications You must be signed in to change notification settings

paulmusquaro/QuotesDjangoApplication

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

QuotesDjangoApplication

Overview

This is a Django web application for browsing and managing a collection of quotes and their respective authors. The application allows users to view quotes, search for quotes by tags, and view detailed information about authors. Registered users can add new authors and quotes to the database.

Features

  • User Authentication: Users can register and log in to the application. Only authenticated users can add new authors and quotes.
  • Author Management: Users can view a list of authors and detailed information about each author.
  • Quote Management: Users can view a list of quotes, and these can be filtered by tags.
  • Add Quotes and Authors: Registered users can add new quotes and authors to the database.
  • Tag-Based Search: Users can search for quotes based on specific tags.
  • Pagination: The quotes list is paginated to enhance user experience and performance.
  • Password Reset: If users have forgotten their account password, they can easily reset it by receiving an email.
  • Changing the Avatar: Users can change the default account avatar on the corresponding page: users/profile.

Technologies

  • Frontend: HTML, CSS
  • Backend: Python, Django
  • Database: PostgreSQL, MongoDB

Setup and Installation

  1. Run Docker Engine via opening Docker Desktop.

  2. Activate Virtual Environment:

     poetry shell
    
  3. Fill the Database (MongoDB)

    cd django_core
    python -m mongo.seeds
    
  4. Run Docker-Compose File (PostgreSQL DB Creation)

    docker-compose -f docker-compose.yaml up --force-recreate
    
  5. Make the Tables in Database and fill Them

    python manage.py makemigrations
    python manage.py migrate
    python -m mongo.migration
    
  6. Create an Admin User

    python manage.py createsuperuser
    
  7. Run the Server

    python manage.py runserver
    

Usage

  • Visit http://localhost:8000 in your browser to access the application.
  • Register a new user account to add new authors and quotes.

About

A Django web application for browsing and managing quotes and authors. Registered users can add new quotes and authors to the database.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors