17 Commits

Author SHA1 Message Date
Martin Berg Alstad
2e9f6cd171 Macro for creating routes 2024-06-17 12:55:11 +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
6b6f4b4779 Table endpoint for generating a truth table from a string expression 2024-06-17 00:21:18 +02:00
Martin Berg Alstad
d0198eab5d Is legal endpoint to check if expression is legal.
Moved endpoints to own dir
2024-06-16 21:01:50 +02:00
Martin Berg Alstad
849c87a878 Fixed bug with deserializing of bool 2024-06-16 20:19:03 +02:00
Martin Berg Alstad
d24fafdcb7
Operations (#2)
* Fixed? operations for elim_of_implication

* Removed simplify

* Returned to original operations. Moved som dupelicate code to func
2024-06-16 19:24:52 +02:00
Martin Berg Alstad
5dc4a8e429 Show openapi docs in release mode 2024-06-16 12:54:53 +02:00
Martin Berg Alstad
4d953178e3 Host OpenAPI Redoc page in dev mode 2024-06-16 01:24:29 +02:00
Martin Berg Alstad
32d5089b44 Options for truth table.
Propagate error message from parser to client
2024-06-15 23:45:06 +02:00
Martin Berg Alstad
db4dc2db54 Removed Language and ErrorKind 2024-06-14 16:34:11 +02:00
Martin Berg Alstad
a805eb4b73 BaseResponse struct that gets version from cargo.toml 2024-06-13 23:35:05 +02:00
Martin Berg Alstad
2a826be8ea Logging. CORS(*). Version in response and error type for JSON response 2024-06-13 18:58:50 +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
Martin Berg Alstad
3ad1ad53fc Fixed truth table generation 2024-06-13 11:34:57 +02:00
Martin Berg Alstad
f3fa0334c2 Simplify query argument.
Truth table and array utils.

Count distinct atomic values.
2024-06-09 11:57:59 +02:00
Martin Berg Alstad
9cb0fa0a59 Fix opposite_eq method.
Simplify method in Simplify trait.

Fix distributive law.

Response for the simplify endpoint.

HTTP client.

camelCase and SCREAMING_SNAKE_CASE for struct and enum
2024-06-07 13:06:09 +02:00
Martin Berg Alstad
c4393e94bf Started implementing Axum 2024-06-05 22:09:12 +02:00