MantisBase v0.3.4
Loading...
Searching...
No Matches
mantis.h
Go to the documentation of this file.
1
9#ifndef MANTIS_H
10#define MANTIS_H
11
12// Utility functions
13#include "utils/utils.h"
14#include "utils/uuidv7.h"
15#include "utils/soci_wrappers.h"
16
17// Core application
18#include "mantisbase.h"
19
20// Core components
21#include "core/context_store.h"
22#include "core/database.h"
23#include "core/exceptions.h"
24#include "core/expr_evaluator.h"
25#include "core/files.h"
26#include "core/http.h"
27#include "core/auth.h"
28#include "core/logger/logger.h"
29#include "core/middlewares.h"
30#include "core/route_registry.h"
31#include "core/router.h"
32#include "core/kv_store.h"
33#include "core/types.h"
34
35// Models and data structures
37#include "core/models/entity.h"
40
41// For convenience to using json,
42// lets include it here
43#include <nlohmann/json.hpp>
44namespace mb {
45 using json = nlohmann::json;
46}
47
48// For argparse lib
49#include <argparse/argparse.hpp>
50
51// Add soci include
52#include <soci/soci.h>
53
54#include <httplib.h>
55
56#endif //MANTIS_H
Entity class for database table operations and CRUD functionality.
Entity schema builder and management class.
Entity schema field definition and validation.
Custom exception class for MantisBase errors.
Expression Evaluator Unit for database access rules.
File management for record-level file assets.
Key-value store for application settings.
The main application for mantisbase.
Middleware functions for request processing.
router.h
Definition auth.h:15
nlohmann::json json
Shorten JSON namespace.
Definition context_store.h:18
Route registry.
SOCI database wrapper utilities.
Type definitions and aliases for MantisBase.
Collection of utility functions that are re-used across different files.
UUID v7 generation utilities.
Validation utilities for entity schemas and request bodies.