YSvelGoK (Yaxel's Svelte + Go Kit) is a robust, full-stack boilerplate designed for rapid application development. It combines the raw speed and stability of Go for the backend with the reactive simplicity of Svelte for the frontend, all powered by the flexible MongoDB database.
There are three core components to this project, ensuring separation of workload, and maintainability.
This project follows a Model View Controller (MVC) architecture pattern to maintain. Svelte serves as the view, and the API as both the model (enforcing structure) and controller.
This layer utilizes MongoDB to provide a flexible and scalable data persistence solution.
The backend, built with Go, acts as the central hub, providing high-performance routing, enforcing authorization, and handling core logic.
The user interface, powered by Svelte, delivers an eye-pleasing, reactive, and highly efficient user experience.
This set-up will be made with Docker compose, not only to streamline the deployment process, but to provide the blueprints to run this project in any OS.
git clone https://github.com/yxl-prz/YSvelGoK
cd ./YSvelGoK
Rename .env.example to .env so Docker can read it once docker compose is executed.
cp ./.env.example ./.env
nano ./.env
docker compose up -d