#graphql #surrealdb #remix #back-end #cli #rust

app nebulis

A Full Stack Rust/Remix/SurrealDB/GraphQL Project Generator

1 unstable release

new 0.1.0 Nov 12, 2024

#273 in Development tools

Download history 106/week @ 2024-11-09

106 downloads per month

MIT license

22KB
546 lines

Nebulis 🚀

Crates.io Downloads License

Nebulis is a CLI tool for bootstrapping full-stack applications with a Rust backend (Axum + GraphQL + SurrealDB) and a Remix frontend (Deno 2).

Features

  • 🦀 Rust Backend

    • Axum web framework
    • GraphQL with async-graphql
    • SurrealDB database
    • Modular architecture
    • Migration system
  • 🎭 Remix Frontend

    • Deno 2 runtime
    • TypeScript support
    • Tailwind CSS
    • Ready-to-use project structure
  • 🐳 Docker Integration

    • SurrealDB container
    • Development environment
    • Easy deployment

Installation

You can install Nebulis using Cargo:

cargo install nebulis

Or download pre-built binaries from GitHub Releases.

...

From Source

cargo install --git https://github.com/meastblue/nebulis-cli.git

From Releases

Download the latest binary from the releases page.

Usage

Create a new project

nebulis new my-project

Generate components

nebulis generate model User
nebulis generate migration CreateUsers
nebulis generate resolver UserResolver

Project Structure

my-project/
├── backend/
│   ├── src/
│   │   ├── db/
│   │   ├── entities/
│   │   ├── graphql/
│   │   ├── repositories/
│   │   ├── services/
│   │   └── utils/
│   └── Cargo.toml
├── frontend/
│   ├── app/
│   ├── public/
│   └── package.json
└── docker-compose.yml

Development

Requirements

  • Rust
  • Deno
  • Docker
  • Git

Building from source

git clone https://github.com/meastblue/nebulis-cli.git
cd nebulis
cargo build --release

Running tests

cargo test

Contributing

Contributions are welcome! Please feel free to submit a Pull Request.

License

This project is licensed under the MIT License - see the LICENSE file for details.

Dependencies

~2–12MB
~97K SLoC