luke

SSR react-router delivered by plug and cowboy

Stars
5

Luke

The reacting Cowboy

This project is solely for fun and learning. It uses a supervised cowboy plug adapter and creates a very simplistic router. All API calls are forwarded to the ApiRouter while the ReactRouter uses react-stdio with std_json_io to render react elements through a little nodejs process.

Running

Make sure to run mix deps.get and yarn as well as yarn build before running mix to start the application.

Development

You can run yarn start to have webpack recompile while you change files.

Resources

Related Projects