|1.0.0||Jul 5, 2019|
#8 in #app
Target of this project is to write a complete web application including backend and frontend within Rust.
- A Web Application completely in Rust.
- Lessons learned on writing web applications completely in Rust.
The following build dependencies needs to be fulfilled to support the full feature set of this application:
The app consist of a frontend and a backend. For getting started with hacking,
the backend can tested via
make run-backend, whereas the frontend can be
make run-frontend. You can adapt the application configuration
Config.toml if needed.
If both, the backend and frontend are running, you can visit the web application
http://127.0.0.1:8000. After the successful
loading of the application you should see an authentication screen like this:
Now you are able to login with a matching username and password combination like
me (username) and
me (password). There is currently no further user
authentication yet, but non matching combination will result in an
authentication failure. After the successfully login you should be able to see
the content of the application:
The authentication should persist, even after a manual page reload. Logging out of the application via the logout button should also work as intended.
The complete control flow of the application looks like this:
To deploy the application as a docker image, simply run:
After that you can run the application side by side with a PostgreSQL container via:
The application should now be accessible at
You want to contribute to this project? Wow, thanks! So please just fork it and send me a pull request.