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.
Genie is fully compatible with Julia v0.6.
In a Julia session clone
Genie and its dependencies:
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 /path/to/your_cool_new_app
Genie will automatically load the new app into the REPL and start an interactive
/path/to/your_cool_new_app/config/routes.jl and append:
route("/hello") do "Hello - Welcome to Genie!" end
Start the web server:
genie> AppServer.startup() Listening on 0.0.0.0:8000...
http://localhost:8000/hello for a warm welcome!
At any time, from the command line you can start a Genie interactive session by using
Or you can use
to start the app in non-interactive mode.
server.bat are provided inside the
bin/ folder. Just double click them to start an interactive REPL session or a server session, respectively.
using Genie Genie.REPL.run_repl_app()
If you want to learn more about Genie you can
Thank you all!
4 days ago