Skip to content

Template to kickstart web development with c++ and vue 3

License

Notifications You must be signed in to change notification settings

mass1ve-err0r/drogon-vue-template

Repository files navigation

C++ Web Development Template

Powered by Drogon & Vue 3

This template kickstarts your development with a C++ backend and a Vue 3 frontend , providing a high-performance foundation for Single Page Applications (SPA).

Prerequisites

All you need is Docker –no manual setup required! If you prefer to build it manually, jump to the Build Instructions* below.

Quick Start with Docker

To build the application image:

docker compose build

To run it in detached mode:

docker compose up -d

Build Instructions

If you want to build the project manually without Docker, follow these steps:

  1. Install Drogon

  2. Install Node + npm

    • Follow the instructions at nodejs
  3. Clone the Repository & Build

git clone https://github.com/mass1ve-err0r/drogon-vue-template <your-project-folder>
cd <your-project-folder>
mkdir build && cd build
cmake ..
make -j$(nproc)
  1. Run the Application
./dv3

(The executable name depends on your configuration, default is "dv3")


Components

Backend (Drogon)

drogon documentation

Frontend (Vue 3)

vue.js documentation

Docker Integration

GitHub Workflows Integration

Commits prefixed with [REL] will trigger the build & release workflow. It will automatically tag and build a release binary for you.


License

This project is MIT licensed – modify it freely to suit your needs! 🚀