Skip to content

A monorepo example written with React + Tailwind + TS on the front-end and Actix.rs on the back-end.

License

Notifications You must be signed in to change notification settings

1Git2Clone/reactix

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

81 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Reactix

GH_Build_Backend IconGH_Build_Frontend IconLicense Icon

Back-end

Rust Actix

Front-end

React Vite TailwindCSS TypeScript HTML

A monorepo consisting of a front-end (written in React with Tailwind CSS, TypeScript and using Vite) and a back-end (written with Rust via the Actix framework).

Purpose

This repository was meant to be kind of like a template for creating a full-stack web application. I chose Actix because i wanted to give Rust back-end programming another try (I didn't get very far with rocket.rs) and React for the front-end because it's widely used and it has native integration with a lot of the web development tooling.

Quick set up

Back-end

  • Go to backend.

  • Make a .env file.

  • Write the following in it

SSL_PASSWORD=your-password-here
  • Run the back-end.
cargo run --release

Front-end

npm install
  • Run the front-end
npm run watch # or npm run build && npm run preview

Now your content is displayed on: https://127.0.0.1:42210/ (IPv4 localhost on port 42210).

Module explanations

You can find details about the particular modules in their corresponding README.md files.