ipaas

command module
v1.0.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 5, 2022 License: Apache-2.0 Imports: 44 Imported by: 0

README

Stargazers Issues MIT License

IPAAS

Itis Paleocapa As A Service

Itis Paleocapa as a Service (abbreviated IPaaS) is a webapp dedicated to the students of the I.T.I.S. Pietro Paleocapa of Bergamo. Through an access guaranteed by PaleoID, the application allows users to host their web applications on the school server.

Description:

As anticipated, the program allows users to distribute their application on the school network servers, thus providing a useful and concrete tool for all the developers inside the institute. The main difference compared to other competitors in the sector lies in the simplification of use for students. The only requirement is to have an email from the institution, without requiring a credit card to verify its authenticity. Furthermore, IPaaS does not limit the number of applications that can be hosted by a single user, does not impose a maximum hour limit for hosted applications, and does not require payments or subscriptions of any kind.

Used technologies
  • Go: Go is the main programming language as it is used for the entire back-end.
  • html/css/js: The front-end is built with the HTML markup language, styling in CSS and application logic in JavaScript and related frameworks.
  • Docker: Thanks to docker the application can containerize databases and applications created by the end users.
Requirements
  • docker-compose
  • docker: make sure you have sudo privileges on the docker group (check this out to know how to do so docker post-installation on linux), if you don't wanna do that tho then run go build . and run the binary as sudo
  • required images (to install them run docker pull <image name>:
    • golang:1-alpine3.15
    • mysql:8.0.28-oracle
    • mariadb:10.8.2-rc-focal
    • mongo:5.0.6
How to use
  • Make sure to create a .env environent following the .env.example file
  • run $ docker-compose up --build -d
  • go run .

for the sorint reviewr i sent an email with a working .env file to hackersgen@sorint.it

Example

if you don't have a paleoID identity (an email that has as domain @itispaleocapa.it) but still would like to test the application then do a post request to: /api/mock/create with body a raw json with such fields: { "password":"aNicePassWord", "name": "aNiceName", "userID":"1234" }

Make sure that userID is a number. If an error is returned with body User already exists it means that another user has that userID so choose another one.

This account will be closed after a day of being created as it's a test user used to test to behaviour of the application.

If you prefer there is a web page at /mock where you can create a mock user using a gui.

you can use this repo vano2903/testing as a testing webserver

Latest Version

Currently IPaaS is being developed as a microservice application and it's source code can be found here. For now though this repository has a working version, when the microservice version will be stable enough this repo will be archived.

Credits:

All staff currently involved in the development of this project can be found from the list below.

  • @Vano2903 as Founder, Project Manager, Team Manager, Back-end developer, Front-end developer.
  • @davixlive as Front-end developer.

If you want to collaborate on the project, feel free to help us by proposing new issues. If you feel you can make an even greater contribution, consider joining the project development team by contacting us

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
internal
jwt Module
messanger Module
responser Module
utils Module

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL