/ensalamento

Primary LanguageJavaScriptGNU General Public License v3.0GPL-3.0

Trabalho 2 - CI1163

Observações:

  • No diagrama UML utilizou-se uma linha reta e uma label denotando a relação polimórfica - que não pertence ao UML originalmente.
  • Implementou-se apenas uma classe para o mural, pois concluímos que os filtros mais desejados poderiam ser implementados utilizando os parâmetros envolvidos em pegar um ou vários avisos. Por exemplo: caso a intenção fosse ilustrar os avisos de uma turma específica, pode-se filtrar passando o ID da turma.

Readme original:

Ensalamento-back

Getting Started

 git clone --recurse-submodules git@gitlab.c3sl.ufpr.br:ensalamento/ensalamento-back
 cd ensalamento-back
 docker-compose up

Prerequisite: install Node.js

If you haven't already installed Node, download and install Node.js. For best results, use the latest LTS (long-term support) release of Node.js.

{% include warning.html content="LoopBack does not support Node.js versions prior to 4.x. " %}

Install LoopBack tools

Although in theory, you could code a LoopBack application from scratch, installing a LoopBack CLI tool makes it much easier to get started. It will scaffold an application that you can then customize to suit your needs. For more information, see Command-line tools.

You have two options for LoopBack tools:

You can also use the legacy StrongLoop CLI tool slc.

Install LoopBack CLI tool

To install the LoopBack command-line interface (CLI) tool, enter the command:

npm install -g loopback-cli

This installs the lb command-line tool for scaffolding and modifying LoopBack applications. For more information, see Command-line tools.

Install IBM API Connect v5 developer toolkit

IBM API Connect is an end-to-end API management solution that uses LoopBack to create APIs, and provides integrated build and deployment tools:

  • Integrated experience across the entire API lifecycle, including API and micro-service creation in Node.js and Java.
  • Self-service access to APIs with built-in developer portals and social collaboration tools.
  • Unified management and orchestration of Node.js and Java for deployment on-premises and in IBM Cloud.
  • Built-in security and gateway policies with extensive security options and governance policies.

For more information, see IBM API Connect.

IBM API Connect v5 developer toolkit includes:

  • The graphical API Designer tool that you can use to create and modify LoopBack applications.
  • The apic command-line tool for scaffolding and modifying LoopBack applications.

To install IBM API Connect v5 developer toolkit:

$ npm install -g apiconnect

For more information, see Installing the API Connect Developer Toolkit.

{% include important.html content="If you are an IBM customer, for technical support see the IBM Support Portal. " %}

Updating your installation

Update your installation with this command:

$ npm install -g strongloop

If you encounter any problems, you may need to perform a clean reinstallation. Follow these steps:

$ npm uninstall -g strongloop
$ npm cache clear
$ npm install -g strongloop