Canopas Website screenshot

Canopas Website

Author Avatar Theme by Canopas
Updated: 1 Jan 2026
40 Stars

Responsive website built with Vue.js and vite by following best practices.

Categories

Overview:

Canopas Software Website is an open-source project that aims to keep its code repository up-to-date with the latest technologies and best practices. The website utilizes Server Side Rendering (SSR) to enhance performance by rendering the UI on the server side. The project requires Node 18 and Go 1.17 as dependencies.

Features:

  • Server Side Rendering: Improves performance by rendering the UI on the server side.
  • Front-end Development: Allows installation of dependencies, running Vue server, and compiling/minifying for production.
  • Back-end Development: Guides on starting the Go server and accessing APIs at http://localhost:8080.
  • Go Modules: Demonstrates initialization of go modules, adding packages to the project, and syncing dependencies.
  • Unit Testing in Golang: Provides instructions for writing unit tests in Golang and cleaning test cache.
  • APIs Reference: Lists the APIs used in the website.
  • Pre-commit Hook: Explains how to enable the pre-commit hook for the project.

Installation:

To run the front-end:

  1. Install dependencies.
  2. Run the Vue server.
  3. Compile and minify for production.

To run the back-end:

  1. Start the Go server.
  2. If there is a dependency error, run the command to resolve it.

To write unit tests in Golang:

  1. Change directory to the package for which you want to write tests.
  2. Create a file with the suffix “_test.go” and prefix “Test”.
  3. Write the test function.
  4. Run the tests using the specified command.

To enable pre-commit hook:

  1. Install the required dependencies.

Summary:

Canopas Software Website is an open-source project that utilizes Server Side Rendering and aims to keep its code repository up-to-date with the latest technologies and best practices. The project provides instructions for front-end and back-end development, including installation, server setup, and API reference. Additionally, it explains how to write unit tests in Golang and enable a pre-commit hook for the project.