---
# System prepended metadata

title: Snippets
tags: [cicd]

---

---
tags: cicd
---

# Snippets

### Team Members
Markus Seiberl  - S1910455019  
Andreas Roither - S1910455024  

### Motivation

Sometimes when writing code you forget what the optimal solution for a particular task like creating a button listener is. Furthermore, a lot of code has to be remembered which can be quite challenging.

### Goal

The goal of this project is to create a service where users can save code snippets. Users can login and view their snippets that they perviously added. These snippets can be easily copied and tweaked to the users liking. 


### Realization

With the Electron framework it's possible to create a cross-platform-desktop GUI application. CockroachDB is scalable and allows us to use multiple nodes. Golang will be used as an authentication service to access the database. Using docker all instances can be deployed in a fast and efficient way.

### Tools Used
- [Electron](https://www.electronjs.org/) as GUI framework  
- [Golang](https://golang.org/) Rest API with [JWT](https://jwt.io/)  
- [CockroachDB](https://www.cockroachlabs.com/product/) as backend  
- [Docker](https://www.docker.com/) for virtualization  

#### Development and extensions
- [Visual Studio Code](https://code.visualstudio.com/) for development  
    - [ESLint](https://marketplace.visualstudio.com/items?itemName=dbaeumer.vscode-eslint)  
    - [npm Inellisense](https://marketplace.visualstudio.com/items?itemName=christian-kohler.npm-intellisense)  
    - [Firefox debugger](https://marketplace.visualstudio.com/items?itemName=firefox-devtools.vscode-firefox-debug)  
    - [Prettier](https://marketplace.visualstudio.com/items?itemName=esbenp.prettier-vscode)  

#### [Github Repository](https://github.com/AndreasRoither/Snippets)  
