Skip to content
This repository has been archived by the owner on Jul 22, 2022. It is now read-only.

heitor-lassarote/iolp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Inatel Open Low-Code Platform

Code Generator

This serves as the code generator for the platform and contains functions and types that can be used to convert the editor's language into other languages (currently only JavaScript, CSS and HTML).

Building

You can use stack build to build this project. For that, you can get The Haskell Tool Stack.

You can run the project with stack run -- --dbhost ADDRESS --dbname postgres --dbpassword PASSWORD --dbport DB_PORT --dbuser USERNAME --connections CONNECTION_POOL_COUNT --port PORT --certificate PATH_TO_CERTIFICATE --key PATH_TO_KEY. A PostgreSQL database running in the background is needed. The database schema will automatically be created once the project is run for the first time (as defined in Database.hs).

Additionally, you can specify the additional flags --accept-insecure to accept HTTP connections, --detailed-request-logging to have a more verbose logging of requests and --ip-from-header to use IP from reader when logging (useful when using a reverse proxy).

In case you need to generate a key and certificate, try reading the warp-tls README.

Afterwards, navigate to the given host to use it.

Tech

The main technologies being used in this project are:

For a complete list of dependencies, see low-code.cabal.

IDE

This project was developed to undergraduate thesis of INATEL.

This project was generated with Angular CLI version 11.0.1.

Made by

Bruno Pereira Garcia Caputo & Heitor Toledo Lassarote de Paula.

Contributing

Anyone is free to contribute! Just make sure to follow the Code of Conduct.

As for the coding style, the most important is to stay consistent with the existing code, but this should be a good starting point.

License

This project is licensed under the MIT License.