Skip to content

Commit 7842038

Browse files
committed
readme: add motivation
1 parent 2d7c9f9 commit 7842038

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

README.md

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
1-
# relay-examples-todo-flask-ts
2-
TodoMVC using React/Relay/Typescript frontend, Flask/Graphene/SQLAlchemy backend
1+
# TodoMVC using React/Relay/Typescript frontend, Flask/Graphene/SQLAlchemy backend
2+
3+
## Motivation
4+
5+
The [Relay](https://relay.dev) quick start [guide](https://relay.dev/docs/en/quick-start-guide) references an [example todo list app](https://github.com/relayjs/relay-examples/tree/master/todo), but it is uses JavaScript with a mocked (non-persistent) database. There is a TypeScript [port](https://github.com/relay-tools/relay-compiler-language-typescript/tree/master/example) of this example app, and some online guides of using [Flask as backend to React](https://blog.miguelgrinberg.com/post/how-to-create-a-react--flask-project) and [Graphene/SQLAlchemy as a backend to GraphQL/Relay](https://docs.graphene-python.org/projects/sqlalchemy/en/latest/tutorial/), but nothing that combines all of these into fully-featured example app (e.g. with mutations). The closest example was an implementation with a [Graphene/Django backend](https://github.com/smbolton/relay-examples-todo-graphene).
6+
7+
This repository (released with MIT License) adapts code from all the above sources to provide an example [TodoMVC](http://todomvc.com) app implementation that utilizes the following tech stack: Relay, Typescript, Flask, Graphene, SQLAlchemy. It could serve as a starting point for further customization.
38

49
## Prerequisites
510

0 commit comments

Comments
 (0)