|
4 | 4 | * @file BackendTemplates.hpp |
5 | 5 | * @author Gaspard Kirira |
6 | 6 | * |
7 | | - * File-content templates for the production backend `vix new` template. |
| 7 | + * Public facade for the production backend `vix new` template. |
8 | 8 | */ |
9 | 9 |
|
10 | | -#include <string> |
11 | | - |
12 | | -#include <vix/cli/commands/new/NewTypes.hpp> |
13 | | - |
14 | | -namespace vix::commands::new_cmd::templates |
15 | | -{ |
16 | | - |
17 | | - std::string make_backend_main_cpp(const std::string &projectName); |
18 | | - |
19 | | - std::string make_backend_app_bootstrap_hpp(const std::string &projectName); |
20 | | - std::string make_backend_app_bootstrap_cpp(const std::string &projectName); |
21 | | - |
22 | | - std::string make_backend_route_registry_hpp(const std::string &projectName); |
23 | | - std::string make_backend_route_registry_cpp(const std::string &projectName); |
24 | | - |
25 | | - std::string make_backend_middleware_registry_hpp(const std::string &projectName); |
26 | | - std::string make_backend_middleware_registry_cpp(const std::string &projectName); |
27 | | - |
28 | | - std::string make_backend_health_controller_hpp(const std::string &projectName); |
29 | | - std::string make_backend_health_controller_cpp(const std::string &projectName); |
30 | | - |
31 | | - std::string make_backend_production_config_json(); |
32 | | - std::string make_backend_env_example(); |
33 | | - std::string make_backend_basic_test_cpp(const std::string &projectName); |
34 | | - |
35 | | - std::string make_readme_backend(const std::string &projectName); |
36 | | - |
37 | | - std::string make_project_manifest_backend( |
38 | | - const std::string &projectName, |
39 | | - const FeaturesSelection &features); |
40 | | - |
41 | | - std::string make_vix_json_backend(const std::string &projectName); |
42 | | - |
43 | | -} // namespace vix::commands::new_cmd::templates |
| 10 | +#include <vix/cli/commands/new/templates/backend/BackendBootstrapTemplates.hpp> |
| 11 | +#include <vix/cli/commands/new/templates/backend/BackendConfigTemplates.hpp> |
| 12 | +#include <vix/cli/commands/new/templates/backend/BackendControllerTemplates.hpp> |
| 13 | +#include <vix/cli/commands/new/templates/backend/BackendManifestTemplates.hpp> |
| 14 | +#include <vix/cli/commands/new/templates/backend/BackendMiddlewareTemplates.hpp> |
| 15 | +#include <vix/cli/commands/new/templates/backend/BackendReadmeTemplates.hpp> |
| 16 | +#include <vix/cli/commands/new/templates/backend/BackendRouteTemplates.hpp> |
| 17 | +#include <vix/cli/commands/new/templates/backend/BackendTestTemplates.hpp> |
| 18 | +#include <vix/cli/commands/new/templates/backend/BackendSupportTemplates.hpp> |
0 commit comments