Mantis App v0.1.13
Loading...
Searching...
No Matches
mantis.h
Go to the documentation of this file.
1//
2// Created by allan on 17/05/2025.
3//
4
5#ifndef MANTIS_H
6#define MANTIS_H
7
8// Utility functions
9#include "utils/utils.h"
10
11// Core application
12#include "app/app.h"
13
14// Core components
15#include "core/database.h"
16#include "core/http.h"
17#include "core/logging.h"
18#include "core/router.h"
19#include "core/expr_evaluator.h"
20
21// CRUD and JWT
22#include "core/crud/crud.h"
23#include "core/jwt.h"
24
25// Models and data structures
26#include "core/models/models.h"
27
28// Table operations
29#include "core/tables/tables.h"
31
32// For convenience to using json,
33// lets include it here
34#include <nlohmann/json.hpp>
35using json = nlohmann::json;
36
37// For argparse lib
38#include <argparse/argparse.hpp>
39
40// Add soci include
41#include <soci/soci.h>
42
43#endif //MANTIS_H
The main application for mantis.
Database Unit file for managing base database functionality: connecton, pooling, logging,...
Expression Evaluator Unit for database access rules.
Wrapper around http-lib to add middleware support and context values to be passed from middlewares up...
Handles JSON Web Token (JWT) creation and verification.
Wrapper around spdlog's functionality.
nlohmann::json json
Definition mantis.h:35
Collection of utility functions that are re-used across different files.