Subscribe Free

Join 2670+ others. No spamming.
I promise!

We are currently under high development. Follow us at github.


Looking for Python Tutorials?
Check these awesome tutorials



essenciary/Genie.jl

53

essenciary / Genie.jl

Julia

High-performance high-productivity full stack Julia web framework.


READ ME

Genie Logo

Stable Latest

Genie

The highly productive Julia web framework

Genie is a full-stack MVC web framework that provides a streamlined and efficient workflow for developing modern web applications. It builds on Julia's strengths (high-level, high-performance, dynamic, JIT compiled), exposing a rich API and a powerful toolset for productive web development.

Quick start

In a Julia session clone Genie and its dependencies:

julia> Pkg.clone("https://github.com/JuliaDB/DBI.jl") # Julia's DB interface

julia> Pkg.clone("https://github.com/JuliaDB/PostgreSQL.jl") # PostgreSQL adapter

julia> Pkg.clone("https://github.com/essenciary/Flax.jl") # Genie's templating engine

julia> Pkg.clone("https://github.com/essenciary/SearchLight.jl") # Genie's ORM

julia> Pkg.clone("https://github.com/essenciary/Genie.jl") # Finally the Genie itself 👻

Bring it into scope:

julia> using Genie

Create a new app:

julia> Genie.REPL.new_app("your_cool_new_app")

info: Done! New app created at /your_cool_new_app

warn: Please restart the current Julia session before loading the new app to properly reinitialize Genie.

cd into the new app's dir and start the server:

$> bin/server

See it in action by navigating to http://localhost:8000/ with your favorite browser.


In order to start a Genie interactive session, use:

$> bin/repl

Alternatively, from a regular Julia session, you can just

julia> include("genie.jl")

Once the app is loaded you can start the web server anytime with

julia> AppServer.startup()

Next steps

If you want to learn more about Genie you can

Acknowledgements

  • The amazing Genie logo was designed by my friend Alvaro Casanova (www.yeahstyledg.com).
  • Genie uses a multitude of packages that have been contributed by so many incredible developers.
  • I wouldn't have made it so far without the help and the patience of the amazing people at the julia-users group.

Thank you all.