āāāāā āāāāāāā āāāāāāāā āāāāāā āāāāāā āā āā
āā āā āā āā āā āā āā āā āā āā
āāāāāāā āāāāāāā āā āāāāāā āā āā āāā
āā āā āā āā āā āā āā āā āā āā
āā āā āāāāāāā āā āā āā āāāāāā āā āā
+
Platforms
Frontend is a standalone astro.build application that will create the frontend bundle served by rust actix server.
To start developing with AstroX you will need rustc > 1.74 and node > 18.14. Clone the project and execute;
cargo run
That's all you need to get started, the interactive cli will guide you through installation process.
Rust written command line interface starts, serves and tests the astro x project. Fast and efficient with only few dependencies will create a professional development environment for rust opinionated project.
Handles installation and system checks, it will check the astroX system prerequisites and either help you install or provide you with necessary information to start the project.
Pre defined git hooks for quality code writing
Command list:
--help [print this help ]
--sync-git-hooks [copy git_hooks folder contents to .git/hooks]
--remove-git-hooks [remove hooks from .git/hooks folder]
--build [build production bundle for frontend and backend]
--serve [start the production server with the frontend build]
--test [run the tests]
--create-toml [create a new Astrox.toml file]
--interactive [start the interactive mode]
--system-checks [run the system checks]
--coverage [run cli and backend coverage]
Cli arguments:
--host="127.0.0.1" [ip address]
--port=8080 [actix port number]
--env=prod / dev [environment]
--astro-port=4321 [astro development port number]
--prod-astro-build=true / false [Build astro during cli prod start]
--set-public-api=https://custom.api/api [cli to astro env creation, used for static server url call building]
https://actix.rs/docs/getting-started/
Rust based server from Actix framework.
Astro is a frontend framework that focuses on mainly on delivering html first, the fastest and most versatile of the frameworks allows to incorporate any of the major UI frameworks such as React, Svelte, Vue, Solid.js and others ...
The boilerplate provides and example of the Astro 4.0 transition capabilities.
AstroX
āā .github //workflows and ci/cd checks
āā āā workflows
āā āā āā codeql-analysis.yml
āā āā āā pr.yml
āā āā āā relase.yml
āā git_hooks // set up git hooks for development
āā āā commit-msg
āā āā commit-msg-windows-example
āā āā pre-commit
āā āā pre-push
āā src
āā āā backend //Actix backend, own rust project
āā āā āā src
āā āā āā āā api //Api routes examples
āā āā āā āā āā hello
āā āā āā āā āā āā get.rs
āā āā āā āā āā āā mod.rs
āā āā āā āā āā āā post.rs
āā āā āā āā āā space_x // server to server call
āā āā āā āā āā āā get.rs
āā āā āā āā āā āā mod.rs
āā āā āā āā āā mod.rs
āā āā āā āā args
āā āā āā āā āā collect_args.rs
āā āā āā āā āā mod.rs
āā āā āā āā auth // Simple auth route middleware
āā āā āā āā āā auth_middleware.rs
āā āā āā āā āā login.rs
āā āā āā āā āā mod.rs
āā āā āā āā cors
āā āā āā āā āā get_cors_options.rs
āā āā āā āā āā mod.rs
āā āā āā āā session // Session middleware examples
āā āā āā āā āā flash_messages.rs
āā āā āā āā āā mod.rs
āā āā āā āā āā session_middleware.rs
āā āā āā āā āā validate_session.rs
āā āā āā āā main.rs
āā āā āā Cargo.toml
āā āā cli // AstroX project runner
āā āā āā cmds
āā āā āā āā tests
āā āā āā āā āā cmd_list_test.rs
āā āā āā āā āā interactive_test.rs
āā āā āā āā āā mod.rs
āā āā āā āā cmd_list.rs
āā āā āā āā execute_cmd.rs
āā āā āā āā interactive.rs
āā āā āā āā mod.rs
āā āā āā config
āā āā āā āā tests
āā āā āā āā āā get_config_test.rs
āā āā āā āā āā mod.rs
āā āā āā āā collect_args.rs
āā āā āā āā create_dotenv.rs
āā āā āā āā get_config.rs
āā āā āā āā mod.rs
āā āā āā āā toml.rs
āā āā āā development
āā āā āā āā mod.rs
āā āā āā āā start_development.rs
āā āā āā pre_run
āā āā āā āā cargo
āā āā āā āā āā checks.rs
āā āā āā āā āā mod.rs
āā āā āā āā āā validate.rs
āā āā āā āā npm
āā āā āā āā āā checks.rs
āā āā āā āā āā mod.rs
āā āā āā āā āā validate.rs
āā āā āā āā utils
āā āā āā āā āā check_semver.rs
āā āā āā āā āā git_hooks.rs
āā āā āā āā āā mod.rs
āā āā āā āā execute.rs
āā āā āā āā mod.rs
āā āā āā āā system_checks.rs
āā āā āā production
āā āā āā āā build_production.rs
āā āā āā āā mod.rs
āā āā āā āā start_production.rs
āā āā āā tests
āā āā āā āā execute.rs
āā āā āā āā mod.rs
āā āā āā utils
āā āā āā āā mod.rs
āā āā āā āā terminal.rs
āā āā āā mod.rs
āā āā frontend // Astro.Build project
āā āā āā .astro
āā āā āā āā settings.json
āā āā āā public
āā āā āā āā astroStation.jpeg
āā āā āā āā bgAstro.png
āā āā āā āā bgPattern.png
āā āā āā āā favicon.svg
āā āā āā āā hero.jpeg
āā āā āā āā herobc.jpeg
āā āā āā src
āā āā āā āā axiosInstance
āā āā āā āā āā axiosBackendInstance.test.ts
āā āā āā āā āā axiosBackendInstance.ts
āā āā āā āā components
āā āā āā āā āā navbar
āā āā āā āā āā āā Navbar.astro
āā āā āā āā āā āā Navbar.test.ts
āā āā āā āā āā āā NavbarItem.astro
āā āā āā āā āā āā NavbarItem.test.ts
āā āā āā āā āā spaceX
āā āā āā āā āā āā spacex.svelte
āā āā āā āā āā āā spacex.test.ts
āā āā āā āā āā zoomImage
āā āā āā āā āā āā zoomImage.astro
āā āā āā āā āā āā zoomImage.test.ts
āā āā āā āā āā Card.astro
āā āā āā āā āā Footer.astro
āā āā āā āā āā Hero.astro
āā āā āā āā āā Section.astro
āā āā āā āā layouts
āā āā āā āā āā Layout.astro
āā āā āā āā āā Layout.test.ts
āā āā āā āā pages
āā āā āā āā āā auth
āā āā āā āā āā āā protected.astro
āā āā āā āā āā 404.astro
āā āā āā āā āā actix.astro
āā āā āā āā āā astro.astro
āā āā āā āā āā cli.astro
āā āā āā āā āā index.astro
āā āā āā āā sections
āā āā āā āā āā Home
āā āā āā āā āā āā HomeClone.astro
āā āā āā āā āā āā HomeMiddleLinks.astro
āā āā āā āā āā āā HomeSecondary.astro
āā āā āā āā āā imgs
āā āā āā āā āā āā actix.png
āā āā āā āā āā āā astro.jpeg
āā āā āā āā āā āā astro.png
āā āā āā āā āā āā astro2.jpeg
āā āā āā āā āā āā cli.png
āā āā āā āā āā āā contact.jpeg
āā āā āā āā svgs
āā āā āā āā āā Actix.astro
āā āā āā āā āā AstroIcon.astro
āā āā āā āā āā Github.astro
āā āā āā āā āā RustIcon.astro
āā āā āā āā āā Spaceout.astro
āā āā āā āā tests
āā āā āā āā āā pages.test.ts
āā āā āā āā env.d.ts
āā āā āā .eslintignore
āā āā āā .eslintrc.cjs
āā āā āā .gitignore
āā āā āā .nvmrc
āā āā āā astro.config.mjs
āā āā āā package.json
āā āā āā prettier.config.cjs
āā āā āā README.md
āā āā āā svelte.config.js
āā āā āā tsconfig.json
āā āā āā vitest.config.ts
āā āā main.rs
āā .gitignore
āā .nvmrc
āā Astrox.toml
āā Cargo.toml
āā readme.md