Making a simple app using React, Flask and MySQL.

Overview

Samys-Cookbook

Making a simple app using React and Flask.

What

  • This will be a simple site to host my recipes.
  • It will have a react front-end, a flask back-end with a Sqlite(for now atleast) db.
  • I will have to learn both react (from scratch) and flask (of which I do have a basic knowledge).\

My Plans

Front-End (made on 20211105 00:15:45, I don't know what will actually happen)

Nav bar

  • Home
  • Recipes
  • Skills
  • What can I make page
  • About

Home Page

  • A nice header image.
  • Display 5 (randomly) of each type of cards:
    • skills (how to do stuff like dice onions, boil your pasta, etc.)
    • recipes (actually making the stuff needed)
  • Recipe cards:
    • An image
    • The name of the dish.
    • The preparation time.
    • A short description.
    • The Difficulty level.
    • Veg or non-veg badge at the top.
  • Skills cards:
    • An image
    • The name of the dish.
    • The preparation time.
    • A short description.
    • The Difficulty level.
    • Veg or non-veg badge at the top.
    • How important the skill is

Recipes/skills Page

NOTE: These will be two separate pages

  • A list (maybe just a grid of cards) of all the recipes/skills (which can be filtered).
  • Clicking on which will open the page of the specific recipe/skill

Individual Recipe/skill pages

Separate pages for each (using templates i guess)

  • A header image
  • All the info on the card
  • Ingredients
  • Steps (clicking on a sentence which is a skill should include a link to that skill, for example: the line is 'boil your pasta until al dente', then it should be a link to the skill page of 'boiling pasta')
  • How to prepare or whatever else i will need

About Page

  • A link to my github, and socials(lol!).
  • And a short bio or such

What can I make page

  • The user should be able to select a number of ingredients. (and what to search: recipes or skills)
  • The site must then give back the possible recipes/skills which are possible with the given ingredients

Back-End

  • I need a rest api using flask
  • This is the first thing i will do

Routes:

  • /: the home page
  • /Recipes: the recipes page
  • /Skills
  • /Recipe/name: the page for an individual recipe
  • /Skill/name: the page for an individual skill
  • /get-recipes(workshop the name for this one): the page for the 'what can i make page', it will send a get/post (i don't know which) request which will return the
  • /about
  • There will be an easter egg, find it if you can ;)

DB

  • Look at the database_design.graphml (or .jpg) file.
  • I don't know how a db this complex will be stored, i might have to use plain sql cause i don't know how the flask sqlalchemy stuff works.
  • this is going to be tricky
Owner
Samridh Anand Paatni
Samridh Anand Paatni
docker-compose uWSGI nginx flask

docker-compose uWSGI nginx flask Note that this was tested on CentOS 7 Usage sudo yum install docker

Abdolkarim Saeedi 3 Sep 11, 2022
Adds GraphQL support to your Flask application.

Flask-GraphQL Adds GraphQL support to your Flask application. Usage Just use the GraphQLView view from flask_graphql from flask import Flask from flas

GraphQL Python 1.3k Jan 03, 2023
Parallel TTS web demo based on Flask + Vue (Vuetify).

Parallel TTS web demo based on Flask + Vue (Vuetify).

Atomicoo 34 Dec 16, 2022
Python3🐍 webApp to display your current playing music on OBS Studio.

Spotify Overlay A Overlay to display on Obs Studio or any related video/stream recorder, the current music that is playing on your Spotify. Installati

carlitos 0 Oct 17, 2022
A basic CRUD application built in flask using postgres as database

flask-postgres-CRUD A basic CRUD application built in flask using postgres as database Taks list Dockerfile Initial docker-compose - It is working Dat

Pablo Emídio S.S 9 Sep 25, 2022
Rubik's cube assistant on Flask webapp

webcube Rubik's cube assistant on Flask webapp. This webapp accepts the six faces of your cube and gives you the voice instructions as a response. Req

Yash Indane 56 Nov 22, 2022
SQLAlchemy database migrations for Flask applications using Alembic

Flask-Migrate Flask-Migrate is an extension that handles SQLAlchemy database migrations for Flask applications using Alembic. The database operations

Miguel Grinberg 2.2k Dec 28, 2022
Flask Project Template A full feature Flask project template.

Flask Project Template A full feature Flask project template. See also Python-Project-Template for a lean, low dependency Python app. HOW TO USE THIS

Bruno Rocha 96 Dec 23, 2022
Python web-app (Flask) to browse Tandoor recipes on the local network

RecipeBook - Tandoor Python web-app (Flask) to browse Tandoor recipes on the local network. Designed for use with E-Ink screens. For a version that wo

5 Oct 02, 2022
A flask app that turn image into ASCII art

ASCII art A flask app that turn image into ASCII art. This app has been deployed to https://motmaytinh.herokuapp.com Getting Started These instruction

Trần Ngọc Quý 1 Jan 13, 2022
Brandnew-flask is a CLI tool used to generate a powerful and mordern flask-app that supports the production environment.

Brandnew-flask is still in the initial stage and needs to be updated and improved continuously. Everyone is welcome to maintain and improve this CLI.

brandonye 4 Jul 17, 2022
The Coodesh Python Backend Challenge (2021) written in Flask

Coodesh Back-end Challenge 🏅 2021 ID: 917 The Python Back-end Coodesh Challenge Description This API automatically retrieves users from the RandomUse

Marcus Vinicius Pereira 1 Oct 20, 2021
Lux Academy & Data Science East Africa Python Boot Camp, Building and Deploying Flask Application Using Docker Demo App.

Flask and Docker Application Demo A Docker image is a read-only, inert template that comes with instructions for deploying containers. In Docker, ever

Harun Mbaabu Mwenda 11 Oct 29, 2022
A service made with Flask and Python to help you find the weather of your favorite cities.

Weather-App A service made with Flask and Python to help you find the weather of your favorite cities. Features Backend using Flask and Jinja Weather

Cauã Rinaldi 1 Nov 17, 2022
Adds Injector support to Flask.

Flask-Injector Adds Injector support to Flask, this way there's no need to use global Flask objects, which makes testing simpler. Injector is a depend

Alec Thomas 246 Dec 28, 2022
Learn python and flask,just a tony blog system

flaskblog Learn python and flask,just a tony blog system based on flask and mysql It is similar to cleanblog, a blog system based on flask and mongoen

shin 174 Dec 01, 2022
Source code for backpainfree.org - a Q&A platform similar to StackOverFlow

Source code for backpainfree.org - a Q&A platform similar to StackOverFlow, which is designed specifically for people with back pain problems. Users can ask questions, post answers and comments, vote

Olzhas Arystanov 8 Dec 11, 2022
A simple barcode and QR code generator built in Python with Flask.

✨ Komi - Barcode & QR Generator ✨ A simple barcode and QR code generator built in Python with Flask. 📑 Table of Contents Usage Installation Contribut

Bonnie Fave 2 Nov 04, 2021
Flask extension for Pusher

Flask-Pusher Flask extension for Pusher. It is a thin wrapper around the official client, binding Flask app to Pusher client. Installation Install Fla

Iuri de Silvio 9 May 29, 2021
WebSocket support for Flask

flask-sock WebSocket support for Flask Installation pip install flask-sock Example from flask import Flask, render_template from flask_sock import Soc

Miguel Grinberg 165 Dec 27, 2022