Giter Club home page Giter Club logo

i-love-rust-examples's Introduction

i-love-rust-examples

This is a async websocket server template, with nice codegen included. Every tool required from Data Access Layer to backend endpoints are generated without user intervention.

This project is a microservice implementation.

How to build

cargo build
cargo build --release

You can find the binary in target/debug/ or target/release/ folder.

How to run

cargo run --bin auth
cargo run --bin admin
cargo run --bin user

Structure explained

src/codegen core codegen logic src/gen codegen target src/lib common code src/service implementation of services src/service/{srv}/main.rs main entry of service src/service/{srv}/endpoints.rs declaration of endpoints src/service/{srv}/pg_func.rs declaration of postgres procedural endpoints (DALs) src/service/{srv}/method.rs implementation of endpoints tests integration tests benches benchmarks docs documentation db database related files etc configuration files scripts helper scripts

i-love-rust-examples's People

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.