Giter Club home page Giter Club logo

civiclife's Introduction

CivicLife

LICENSE SHIELD

AppLogo

CivicLife is a Spring Application made for the Tecniche e architetture avanzate per lo sviluppo del software exam in the master's degree in computer science at UniTO. It is a toy application that offers to a citizen the ability to manage his civic life. With these application 3 main operations could be performed:

  1. Retrieve personal information about:
    • administered and certified vaccines;
    • state bonuses such as the educational ones that can bring some privileges to students in performing some activities;
  2. Create/Subscribe/Unsubscribe/Delete civic initiatives. Indeed the people can use the application to create initiative and organize with each other about civic issue that they care about such as:
    • volunteering
    • increase social events in a neighborhood
    • etc.
  3. Voting

Documentation

All the documentation that we have produced is in the documentation folder. Here you can find the incremental project reviews slides and all the other files associated with the project that we have updated since november.

Architectural Design

The application has a microservice architecture made with Spring and React. Without boring you much here this is an image that sumps up some ideas:

Data

To test the application with some default data you can use the following link to a postman collection and click on run collection in the drop down menu that appears after pressing the three dot icon in your Postman desktop app. The POST methods that will be run by doing so are the ones containing the data expressed in the data folder. Obviously you have to start and run the application before, and so...

How to run it

The application could run as a docker or kubernetes project. All the microservices images and the frontend image will be downloaded from the Docker Hub repository

Docker

To run all the containers all you have to do is to go to the code folder and do the following command:

docker compose up

and then:

docker compose down --rmi all --volumes

to stop all the containers and remove the containers, networks, volumes, and images created by the up command.

Kubernetes

To run all the pods each within its own node, go to the k8s folder and run:

minikube start

kubectl apply -f .

To see everything running use:

kubectl get all

Then, to stop and delete all:

kubectl delete all --all

civiclife's People

Contributors

lorenzosciandra avatar michelestaffieri avatar

Watchers

 avatar  avatar

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.