/Quote

A blog using Flask, MongoDB, and a little bit of JavaScript. You can post content or enjoy reading other people's content.

Primary LanguageCSSMIT LicenseMIT

Quote

Code style: black Imports: isort License: MIT

A blog using Flask, MongoDB, and a little bit of JavaScript. You can post content or enjoy reading other people's content.

Features

  • As a normal user :

    • Read all posts in application
    • Search in posts with categories and tags
  • As logged in user :

    • Create, delete and deactivate your posts
    • Edit your posts (you can't change the image and post's category)
    • Like or dislike posts

How install and run ?

Clone the repository :
$ git clone https://github.com/erfanghorbanee/Quote.git
$ cd Quote
Create a virtualenv and activate it:
$ python3 -m venv venv
$ . venv/bin/activate.
Or on Windows cmd :
> py -3 -m venv venv
> venv\Scripts\activate.bat
Install the app :
$ pip3 install -e .
Export environment variables and run flask on local host :
$ export FLASK_APP=quote
$ export FLASK_ENV=development
$ flask run
Or on Windows cmd :
> set FLASK_APP=quote
> set FLASK_ENV=development
> flask run

Open http://127.0.0.1:5000 in your browser.