1 unstable release
0.1.0 | Nov 12, 2024 |
---|
#343 in Development tools
31 downloads per month
22KB
546 lines
Nebulis 🚀
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–9MB
~90K SLoC