Giter Club home page Giter Club logo

minitwit's Introduction

Minitwit

version upstatus codecov GitHub branch checks state GitHub pull requests GitHub

https://nextjs.org/ https://www.typescriptlang.org/

An application created for the 'DevOps, Software Evolution and Software Maintenance' course at ITU in Copenhagen. This application was refactored from the original minitwit project written in Python using flask.

Since then, it's been refactored to use TypeScript using modern DevOps features and practices:

  • Continuous integration using GitHub Actions, with automatic unit testing, static analysis and coverage reporting.
  • Continuous delivery through GitHub releases.
  • Containerized using Docker.
  • Logging support using Pino, ElasticSearch and Kibana.
  • Performance monitoring using Promethus which is integrated through Grafana.

Contribting

For contributing, please read the CONTRIBUTING.md guide.

Continuous Deployment

A new docker image is built when a new release is published using Github Actions and the docker stack is managed by shepherd which checks for new docker versions every five minutes.

Setup

  1. Create the following .env file in the main directory:
MONGO_INITDB_ROOT_USERNAME=dbuser
MONGO_INITDB_ROOT_PASSWORD=changeme
MONGO_INITDB_DATABASE=minitwit
CONNECTION_STRING=mongodb://changeme:changeme@db:27017/minitwit?authSource=admin
TOKEN_SECRET=changeme
KIBANA_SYSTEM_PASSWORD=changeme
ELASTIC_PASSWORD=changeme
LOGSTASH_INTERNAL_PASSWORD=changeme
ELASTICSEARCH_PASSWORD=changeme
KIBANA_PASSWORD=changeme

Deployment

sudo docker swarm init
sudo docker stack deploy -c deployment.yml minitwit

with deployment.yml

Maintainers

  • Alexander Bastian Magno Jacobsen
  • Anton Marius Nielsen
  • Deniz Isik
  • Deniz Yildirim
  • Mikkel Lindgreen Bech

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.