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
É uma API feita em Python e Flask que pesquisa informações em uma tabela .xlsx e retorna o resultado.

API de rastreamento de pacotes É uma API feita em Python e Flask que pesquisa informações de rastreamento de pacotes em uma tabela .xlsx e retorna o r

Marcos Beraldo Barros 4 Jun 27, 2021
This repo contains the Flask API to expose model and get predictions.

Tea Leaf Quality Srilanka Chapter This repo contains the Flask API to expose model and get predictions. Expose Model As An API Model Trainig will happ

DuKe786 2 Nov 12, 2021
SeaSurf is a Flask extension for preventing cross-site request forgery (CSRF).

Flask-SeaSurf SeaSurf is a Flask extension for preventing cross-site request forgery (CSRF). CSRF vulnerabilities have been found in large and popular

Max Countryman 183 Dec 28, 2022
retorna informações de pessoas que não existem

random-person-api API que entrega dados aleatórios sobre pessoas que (provavelmente) não existem. Como usar? Copie o link abaixo https://random-person

Miguel 3 Aug 09, 2022
A simple application builder. Made with python.

Python Flask Server Template Check the Github Repository for updates Flask is an application builder. It is very common in Python but can also be used

1 Jan 09, 2022
Full Stack Web Development with Flask.

Discover Flask Full Stack Web Development with Flask. http://discoverflask.com Flask is a micro web framework powered by Python. Its API is fairly sma

Real Python 4.4k Jan 06, 2023
Simple flask api. Countdown to next train for each station in the subway system.

Simple flask api. Countdown to next train for each station in the subway system.

Kalyani Subbiah 0 Apr 17, 2022
Harmony, a discord clone, allows users to chat with other users in real time via servers, channels, and direct messages

Harmony, a discord clone, allows users to chat with other users in real time via servers, channels, and direct messages

Seth Holland 3 Feb 03, 2022
Formatting of dates and times in Flask templates using moment.js.

Flask-Moment This extension enhances Jinja2 templates with formatting of dates and times using moment.js. Quick Start Step 1: Initialize the extension

Miguel Grinberg 358 Nov 28, 2022
Library books management program, built with Flask, Python

Library books management program, With many features and good User Interface. built with Flask, Python. (Include Screenshots) and documentation on how to run it! Thank you :)

Thierry Mugisha 1 May 03, 2022
Analytics snippets generator extension for the Flask framework.

Flask-Analytics Flask Analytics is an extension for Flask which generates analytics snippets for inclusion in templates. Installation $ pip install Fl

Mihir 80 Nov 30, 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
iloveflask is a Python library to collect functions that help a flask developer generate reports, config files and repeat code.

I Love Flask iloveflask is a Python library to collect functions that help a flask developer generate reports, config files and repeat code. Installat

2 Dec 29, 2021
A template themes for phyton flask website

Flask Phyton Web template A template themes for phyton flask website

Mesin Kasir 2 Nov 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
Forum written for learning purposes in flask and sqlalchemy

Flask-forum forum written for learning purposes using SQLalchemy and flask How to install install requirements pip install sqlalchemy flask clone repo

Kamil 0 May 23, 2022
A template for Flask APIs.

FlaskAPITempate A template for a Flask API. Why tho? I just wanted an easy way to create a Flask API. How to setup First, use the template. You can do

TechStudent10 1 Dec 28, 2021
Flask pre-setup architecture. This can be used in any flask project for a faster and better project code structure.

Flask pre-setup architecture. This can be used in any flask project for a faster and better project code structure. All the required libraries are already installed easily to use in any big project.

Ajay kumar sharma 5 Jun 14, 2022
A web application made with Flask that works with a weather service API to get the current weather from all over the world.

Weather App A web application made with Flask that works with a weather service API to get the current weather from all over the world. Uses data from

Christian Jairo Sarmiento 19 Dec 02, 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