The pragmatic backend for COGITO NTNU
NB: Any pushes to main will update the current website at the url! If you wish upon any changes, either make a branch or contact Simon Sandvik Lee on Slack!
The COGITO NTNU backend is written in GO using Gin and other frameworks.
Before you begin, ensure you have the following installed on your machine:
- Clone the repository:
git clone https://github.com/CogitoNTNU/cogi-go.git- Change into the directory
cd cogi-goTo start the development server, run:
make cogigo-dev
make migrateTo setup email sending, you need to populate the environmental variables in the .example.env file.
SMTP_HOST=
SMTP_PORT=
SMTP_USER=
SMTP_PASSWORD=
SMTP_ENCRYPTION=
The config variable SMTP_ENCRYPTION is an ENUM that follows:
0 - No encryption
1 - DEPRECATED: Only SSL
2 - DEPRECATED: Only TLS
3 - SSLTLS
4 - STARTTLS
This project leverages the following technologies:
- TODO
![]() Simon Sandvik Lee |
![]() Simon Sandvik Lee |
This project is licensed under the MIT License.
The MIT License is a permissive open-source license that allows you to use, modify, and distribute the code in both open source and proprietary projects. Make sure to review the full text of the license for a comprehensive understanding of your rights and responsibilities.


