This Gif search project displays randomized gifs from tenors API on the home page in columns. The max number of gifs displayed on the page is 10. If the user wants to see a specific category of gifs they have the autonomy to use the search bar and look for certain gifs. There are also the top ten trending, entertaining, sports, and programming categories that display the top ten trending gifs at the moment through different web pages with jinja templates. Ultimately, the gif search provides unlimited access to gifs with tenor's API, Flask, and jinja templates.
- Alex Barksdale and Andre Williams - Andre's GitHub
- Check out his repo for our commits.
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes.
If you haven't already installed pip3 for Python3
sudo apt install python3-pip
Install flask and requests
pip3 install flask
pip3 install requests
- Clone the respository
git clone https://github.com/alexbarksdale/Gif-Search.git
-
Make sure you're in the correct directory
-
Enter the development environment
export FLASK_ENV=development
- Open your terminal and run flask
flask run
You should see something similar to the output below:
* Environment: production
WARNING: This is a development server. Do not use it in a production deployment.
Use a production WSGI server instead.
* Debug mode: off
* Running on (Your Localhost IP) (Press CTRL+C to quit)
- Flask - Lightweight web application framework
- Jinja - Template engine for python
- Tenor API - Used Tenor's API for Gifs
- Used Make School's starter code to get started: Make School's Repo