Giter VIP home page Giter VIP logo

north-framework's Introduction

North Framework

A Microservice Framework for Rust

This repo contains packages and APIs that powers North Framework

The project was born out of the need to build microsevices with Rust, benefiting from the performance and sweetness bundled in Rust. North framework avoids building transport layers itself, but more so uses existing crates such as web frameworks like poem, to make a simple, flexible, performant and easy to use microservice framework.


Getting Started

/// Entry into Example service
#[tokio::main]
pub async fn main() -> std::io::Result<()> {
    //#region Setup Server
    let service = north::new_service()
        .graceful_shutdown()
        .address("localhost")
        .name("Example Service")
        .path_prefix("/api")
        .port(8000)
        .api("api", Api)
        .build();

    north::power(service).up().await
    //#endregion
}

Crates

Crate Description Documentation ChangeLog
north North Framework (README) (CHANGELOG)
north-config North dynamic config (README) (CHANGELOG)
north-service [WIP] Service Reg & Disc (README) (CHANGELOG)
north-consul Async consul client (README) (CHANGELOG)

Folder Structure

The repository contains folders that require mentioning, which are;

North Framework
├── crates - In-house packages and libraries are managed
│   ├── north
│   ├── north-config
│   ├── north-service
│   ├── north-common
│   ├── north-consul
├── example - north examples
│   ├── basic
└── docs

Develop

Install Development Binaries

sh setup.sh

north-framework's People

Contributors

juicycleff avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

north-framework's Issues

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.