7 Commits

Author SHA1 Message Date
Martin Berg Alstad
4b6608fd4f
Using library and removed common functions (#3)
* Added lib from git and removed code which is in lib now

* NormalizePathLayer to remove trailing slash
2024-06-22 17:33:33 +02:00
Martin Berg Alstad
d2f89ab827 Static files are created first then moved over to build, where they are compiled 2024-06-20 18:33:20 +02:00
Martin Berg Alstad
2dd361ce7e Not found page with html and moved utils into index and split http requests to separate files.
Static dir for hosting html files.

Helper function for loading HTML.

Changed location where openapi.html is generated and updated dockerfile
2024-06-20 14:05:51 +02:00
Martin Berg Alstad
9226060397 Library for Derive Macros and impl IntoResponse trait 2024-06-17 00:47:07 +02:00
Martin Berg Alstad
5dc4a8e429 Show openapi docs in release mode 2024-06-16 12:54:53 +02:00
Martin Berg Alstad
4b22fc4a7e Replaced macros with functions and Box with Rc 2024-06-14 18:38:37 +02:00
Martin Berg Alstad
c1b9273e0c
Deploy with docker-compose (#1)
Deploy using docker-compose and GitHub Actions.

Created a simple get endpoint to check if server is running on /

Updated address from 127.0.0.1 to 0.0.0.0
2024-06-13 14:42:42 +02:00