Skip to content

A Flask-powered meme page allows users to log in and enjoy a dynamic collection of memes that refreshes every 30 seconds.

Notifications You must be signed in to change notification settings

hemanth110702/meme_page

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 

Repository files navigation

MEME_PAGE

Table of contents

Overview

  • This a meme page built using flask, it uses reddit-api to intreact with reddit and get the meme image
  • And also added user authentication using MySQL database, where users can register, login and logout
  • After every 25 seconds a new meme will be displayed

Technology Stack

  • Flask
  • MySQL
  • HTML
  • CSS
  • JS

Getting Started

  1. Clone the repository:

    git clone https://github.com/hemanth110702/meme_page.git
    cd meme_page
  2. Install Flask in that directory

    pip install flask
  3. Install flask_mysqldb in that directory

    pip install flask_mysqldb
  4. Install requests in that directory

    pip install requests
  5. Update the config in app.py (you can find your details in MySQL workbench)

    app.config['MYSQL_HOST'] = 'YOUR-HOST-NAME'
    app.config['MYSQL_USER'] = 'YOUR-USER-NAME'
    app.config['MYSQL_PASSWORD'] = 'YOUR-PASSWORD'
    app.config['MYSQL_DB'] = 'YOUR-DB-NAME'
  6. Run XAMPP server

    • open XAMPP
    • Click on Apache - start
  7. Run the flask file

    python app.py

Features

  • A new meme generates for every 25 seconds
  • Users can register and login to their account

Screenshots

Desktop View
Home Page
Login Page
Registration Page
After Logged in

⬆️ Back to Top

About

A Flask-powered meme page allows users to log in and enjoy a dynamic collection of memes that refreshes every 30 seconds.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published