nebulis

Crates.ionebulis
lib.rsnebulis
version0.1.0
sourcesrc
created_at2024-11-12 00:43:30.48119
updated_at2024-11-12 00:43:30.48119
descriptionA Full Stack Rust/Remix/SurrealDB/GraphQL Project Generator
homepagehttps://github.com/meastblue/nebulis-cli
repositoryhttps://github.com/meastblue/nebulis-cli
max_upload_size
id1444389
size45,471
Massinissa Amalou (meastblue)

documentation

https://github.com/meastblue/nebulis-cli#readme

README

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.

Commit count: 11

cargo fmt