Coder Social home page Coder Social logo

estherjsuh / shop-small-xyz Goto Github PK

View Code? Open in Web Editor NEW
0.0 2.0 0.0 398 KB

An interactive small business catalog created with backend Flask and frontend React

Python 25.23% HTML 14.04% CSS 2.29% JavaScript 48.05% Shell 0.06% SCSS 10.34%
flask screenshot-machine react

shop-small-xyz's Introduction

shop small

An interactive small business catalog with responsive design - come check it out: https://www.shop-small.xyz

I Made This To Learn

This website has been created to combine my knowledge of Flask and my knowledge of React into an in-depth, full-stack learning opportunity.

Demo

Website Mission

  • Preserve & boost small businesses
  • Support local communities
  • Re-imagine the way we shop, question the way we consume
  • Connect customers to the finest, curated shops

Business Requirements

  1. When a store owner submits the form, ability to save form data to database
  2. Ability to notify admin via email when a form has been submitted
  3. Ability to enter admin credentials for backend routes to approve or decline requests
  4. When admin approves a store, ability to call screenshot machine api to capture the homepage of the store's website
  5. Ability to save the screenshot image to AWS S3; ability to confirm that the image has been saved to S3, then remove the screenshot file from the static directory
  6. Ability for shoppers/users to use search facets on the shop page to narrow down on selections

Testing

  • Flask - unittest
  • React - Jest + Enzyme

How It's Made

Backend

Flask Framework with PostgreSQL database

  • Flask-Cors: handles Cross Origin Resource Sharing between Flask and React
  • Flask-SQLAlchemy: database models
  • flask-serialize: json serialization to send approved store data to React
  • Flask-Mail: allows email functionality
  • Flask-BasicAuth: protects backend views with prompt for admin credentials
  • urllib3: allows request to screenshot machine

Frontend

React Framework

Deployment

  • App deployed on Heroku

shop-small-xyz's People

Contributors

estherjsuh avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.