4 ms·
My docker-compose always has these three containers: Node (for server side rendering), Python (for APIs) and PostgreSQL. For the frontend, I use React + Redux
by temuze 9y ago
My docker-compose always has these three containers: Node (for server side rendering), Python (for APIs) and PostgreSQL.
For the frontend, I use React + Redux + React-Router + Redux Sagas (I like starting with a modified version of ReactGo: https://github.com/reactGo/reactGo https://github.com/reactGo/reactGo).
For the API, I use Flask + SQLAlchemy.
I've been thinking about replacing Python with something more strictly typed (Python 3's hint are a good step, but not enough IMO). However, SQLAlchemy is so great I can't imagine developing without it :)
- droidist2 9y agoHow about TypeScript?
- ioddly 9y agoThis is what I've been experimenting with. How are you getting along with rendering React on the server from Python? react-python seems cool but it seems like I'm going to have to do some extra legwork to render a whole redux app rather than just passing props to a component. Or are you serving up the user-facing pages from Node?
- amirouche 9y agoWhy do you want server side rendered pages? are you building a CMS?
- raarts 9y ago+1 for redux Sagas. So much easier/versatile than redux-thunk