Simple giphy search with React.js and Flask. Only for demo purpse.
First clone the repository.
git clone https://github.com/feat7/giphy-search.git
cd giphy-search
Now follow the steps:
- Create a virual environment and activate it.
python3 -m virtualenv venv
source venv/bin/activate
- Install dependencies.
pip install -r requirements.txt
- Run flask server
FLASK_APP=app.py
flask run
- Install React dependencies and start server
cd frontend
yarn OR npm install (if you use npm)
yarn start OR npm start
You're good to go!
Flask server will be available at http://localhost:5000 React server will be available at http://localhost:3000
Flask server has only end point [GET] http://localhost:5000/giphy which calls giphy API from serverend.
The MIT License