Hi there! You are the new developer for the SNiC website. Welcome! This document will guide you through the project and help you get started. If you have any questions, feel free to ask the previous developer or the SNiC board.
- Clone this repository.
- Install NodeJS 24, e.g. via Node Version Manager.
- Install dependencies by running
npm installinside thebackendfolder. - Copy the
.env.samplefile in thebackendfolder to.envand fill in the required values. - Run
npm run db:seedinside thebackendfolder to create the database schema and optionally create an admin account. - Run
npm run devinside thebackendfolder to start the backend.
- Seed the database with some initial data by running
npm run db:seedinside thebackendfolder. - Start the frontend and backend as described in the initial setup.
When changing or adding new API routes, make sure to update the OpenAPI specification with the command npm run tsoa. This will generate the new routes and types in the backend/src/generated folder.
For more information on how to set up email sending, see the backend/README.md file.
The website must be hosted on your own server. For this via in 2025 used kubernetes, helm charts can be found in the charts/ folder. Another way is to use a simple docker-compose setup, which is also provided in the docker-compose.yml file.
- Copy this repo (KEEPING THE HISTORY) to a new repository, e.g.
snic-website-2026. - Replace logo's and titles with the new year.