Giter Site home page Giter Site logo

rust-fullstack-webapp's Introduction

Rust FullStack Web App

Cross-Platform WebAssembly Application

Note

This project is a prototype and a draft for application development with Web Assembly and Rust. So it's not a real application. Also is not ready for production applications yet.

Building

Important

The application was developed and tested on Ubuntu 22.04 LTS and not adapted yet for develop on other operating systems.

Requirements

Technology Link
Rust https://www.rust-lang.org/tools/install
Cargo Make https://crates.io/crates/cargo-make#installation
Android Studio https://developer.android.com/studio
Android SDK API 34 https://developer.android.com/about/versions/11/setup-sdk
Android NDK https://developer.android.com/studio/projects/install-ndk

Prepairing Build Environment

Installing Rust

$ curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh

Installing cargo-make

$ cargo install --force cargo-make

Generating standalone NDK toolchain

$ $NDK_HOME/build/tools/make_standalone_toolchain.py --arch arm64 --api 34 --install-dir backend/lib/ndk

Compiling

Run on pc as server

$ cargo make -p production run

or

As part of Android app

$ cargo make -p production build-android

Then start you Android Studio, open backend/android as project and build the Android app.

rust-fullstack-webapp's People

Contributors

samet195 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.