Skip to content

Forum web-application written in Flask-Framework with postgreSQL database

Notifications You must be signed in to change notification settings

DamirTB/TopicShare

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

52 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Overview

TopicShare is a web application developed using the Flask framework. It serves as a forum platform with essential features, allowing users to share their thoughts and engage in discussions on various topics. Each topic has a dedicated comment section where users can participate in conversations. Additionally, TopicShare provides an administrative interface that offers comprehensive insights into user registrations, posted content, and other relevant website information.

These tools are used in the development process

  • Flask
  • Bootstrap
  • postgresql
  • Docker

Setting up application

  1. First of all clone a repository by typing this command in GitBash git clone https://github.com/DamirTB/TopicShare.git
  2. Configure your postgresql database URI:
app.config["SQLALCHEMY_DATABASE_URI"] = "postgresql://username:password@localhost/your_db_name" 

or you could just use sqlite by default

app.config["SQLALCHEMY_DATABASE_URI"] = "sqlite:///mydb.db"
  1. Configure mail sender Ready-made configure list
  2. Create an image
  docker build . -t flask
  1. Then create a container of that image and run it
  docker run -p 3000:80 flask

Documentations