Skip to content

Electron boiler plate using React as the frontend and TypeScript + Rust as the backend via Neon.

Notifications You must be signed in to change notification settings

motorlatitude/electron-react-neon-typescript-boilerplate

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

electron-react-neon-typescript-boilerplate

Quality Gate Status Maintainability Rating Security Rating Vulnerabilities Bugs

Electron react boilerplate using Electron, React, Neon, Webpack and Typescript.

Install

To use this boilerplate, you need to make sure to have rust installed as well as any required build tools.

rustup -V
cargo -V

If these don't return version numbers you may need to install Rust.

Assuming you have rust installed you can clone the repo and install dependencies as normal.

git clone --depth 1 --branch master git@github.com:motorlatitude/electron-react-neon-typescript-boilerplate.git your-project-name
cd your-project-name
yarn install

Make sure to edit the package.json and src/native/Cargo.toml file to match your project name, description and author.

Starting Development

The boilerplate uses electron-forge for building and packaging the application. It additionally allows for live reloading during development of the React frontend.

To start the application use:

  yarn start

You can build the rust application separately using:

  yarn run build

You can package the application for distribution using:

  yarn run package

About

Electron boiler plate using React as the frontend and TypeScript + Rust as the backend via Neon.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published