Skip to content

Instantly share code, notes, and snippets.

@davidadamojr
davidadamojr / System Design.md
Created March 23, 2022 00:09 — forked from vasanthk/System Design.md
System Design Cheatsheet

System Design Cheatsheet

Picking the right architecture = Picking the right battles + Managing trade-offs

Basic Steps

  1. Clarify and agree on the scope of the system
  • User cases (description of sequences of events that, taken together, lead to a system doing something useful)
    • Who is going to use it?
    • How are they going to use it?
@davidadamojr
davidadamojr / server.py
Last active June 22, 2021 13:17
Accept CORS requests in Flask
from flask import Flask
from flask.ext import restful
from flask.ext.sqlalchemy import SQLAlchemy
app = Flask(__name__)
app.config.from_object('config')
#flask-sqlalchemy
db = SQLAlchemy(app)