Skip to content

Valerioageno/reactix

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

48 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

⚠️ Check out tuono for a more framework experience ⚠️

Reactix

🦾 React, Typescript and Rust 🦾

This is a starting project that bind React (Typescript) frontend and Rust backend together.

The repo already implement server side rendering and client side routing so you can start a new project working only on the frontend and deploying it; for the backend actix take care of it (one of the most fast web framework: source).

It's also possible add other custom backend features working with Rust source.

A basic test suite, a prettier formatter, an eslint checker and a Github Action CI pipeline are already implemented for both the frontend and the backend.

Frontend dev mode

cd client/

npm i && npm run start

Build and run

cd client/

npm i && npm run build

cd ..

cargo build --release

cargo run --release

Deploy

For example with render.com full documentation (step by step) available here.

Features

  • ReactJS typescript
  • Server side rendering
  • Actix backend
  • Routing

Coming soon

  • GraphQL

Contributing

Any helps or suggestions will be appreciated.

License

This project is licensed under the MIT License - see the LICENSE file for more information.