Skip to content

Cogito GO or CogiGO is the backend solution for the new COGITO NTNU website

Notifications You must be signed in to change notification settings

CogitoNTNU/cogi-go

Repository files navigation

COGI-GO!!

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!


Table of Contents

Introduction

The COGITO NTNU backend is written in GO using Gin and other frameworks.

Getting Started

Prerequisites

Before you begin, ensure you have the following installed on your machine:

Installation

  1. Clone the repository:
git clone https://github.com/CogitoNTNU/cogi-go.git
  1. Change into the directory
cd cogi-go

Usage

To start the development server, run:

make cogigo-dev
make migrate

Configuration

To 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

Technologies Used

This project leverages the following technologies:

  • TODO

Contributors


Simon Sandvik Lee

Simon Sandvik Lee

License

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.

About

Cogito GO or CogiGO is the backend solution for the new COGITO NTNU website

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 5

Languages