Skip to content

Bluetab/td-df

Repository files navigation

Truedat Dynamic Forms

TdDF is a back-end service developed as part of True Dat project that supports the managment of dynamic templates for building formularies

Getting Started

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.

Prerequisites

Install dependencies with mix deps.get

To start your Phoenix server:

Installing

  • Create and migrate your database with mix ecto.create && mix ecto.migrate

  • Start Phoenix endpoint with mix phx.server

  • Now you can visit localhost:4013 from your browser.

Running the tests

Run all aplication tests with mix test

Environment variables

SSL Connection

  • DB_SSL: Boolean value to enable SSL configuration. Default is false.
  • DB_SSL_CACERTFILE: Path to the Certification Authority (CA) certificate file, e.g. /path/to/ca.crt.
  • DB_SSL_VERSION: Supported versions are tlsv1.2 and tlsv1.3. Default is tlsv1.2.
  • DB_SSL_CLIENT_CERT: Path to the client SSL certificate file.
  • DB_SSL_CLIENT_KEY: Path to the client SSL private key file.
  • DB_SSL_VERIFY: Specifies whether server certificates should be verified (true/false).

Deployment

Ready to run in production? Please check our deployment guides.

Built With

  • Phoenix - Web framework
  • Ecto - Phoenix and Ecto integration
  • Postgrex - PostgreSQL driver for Elixir
  • Cowboy - HTTP server for Erlang/OTP
  • httpoison - HTTP client for Elixir
  • credo - Static code analysis tool for the Elixir language
  • guardian - Authentication library
  • canary - Elixir authorization and resource-loading library
  • canada - Permission definitions in Elixir apps
  • ex_machina - Create test data for Elixir applications
  • corsica - Elixir Plug to add CORS

Authors

  • Bluetab Solutions Group, SL - Initial work - Bluetab

See also the list of contributors who participated in this project.

License

This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program. If not, see https://www.gnu.org/licenses/.

In order to use this software, it is necessary that, depending on the type of functionality that you want to obtain, it is assembled with other software whose license may be governed by other terms different than the GNU General Public License version 3 or later. In that case, it will be absolutely necessary that, in order to make a correct use of the software to be assembled, you give compliance with the rules of the concrete license (of Free Software or Open Source Software) of use in each case, as well as, where appropriate, obtaining of the permits that are necessary for these appropriate purposes.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 14