-
Notifications
You must be signed in to change notification settings - Fork 1
Local Setup
Divyansh jamwal edited this page Jun 22, 2026
·
1 revision
This guide will help you get CMS Web running locally on your development machine. The project is split into a Go backend and a React + TypeScript frontend.
Ensure you have the following installed:
- Go (version 1.20+)
- Node.js (v18+) and npm
- A relational database (SQLite by default or PostgreSQL/MySQL depending on configuration)
The backend is built in Go using the Gin framework and GORM.
- Navigate to the root directory of the project.
- Create your
.envconfiguration file from the example:Configure your database credentials and secret keys insidecp .env.example .env
.env. - Install the dependencies:
go mod download
- Run the backend server:
The backend should now be running on its configured port (typically
go run main.go
:8080).
The frontend is located in the /app folder.
- Navigate to the
/appdirectory:cd app - Install dependencies:
npm install
- Run the Vite development server:
npm run dev
- Open the local address printed in the terminal (usually
http://localhost:5173) in your browser.
To verify that everything is working as expected, run the Go test suite:
go test -v ./test/...