Skip to content

GitLab

  • Menu
Projects Groups Snippets
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • ENSportive Wiki ENSportive Wiki
  • Project information
    • Project information
    • Activity
    • Labels
    • Planning hierarchy
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 11
    • Issues 11
    • List
    • Boards
    • Service Desk
    • Milestones
  • Deployments
    • Deployments
    • Releases
  • Monitor
    • Monitor
    • Metrics
    • Incidents
  • Packages & Registries
    • Packages & Registries
    • Package Registry
    • Infrastructure Registry
  • Analytics
    • Analytics
    • Value stream
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • ENSportive
  • ENSportive Wiki ENSportive Wiki
  • Wiki
  • Configuração

Last edited by Mateus Campos Caçabuena Jun 29, 2024
Page history

Configuração

Documentação do negócio

Documentação técnica

Configurações do Projeto

Descrição

Esta seção é destinada para apresentação das tecnologias utilizadas pelo time e orientações de como configurar e rodar o Frontend e o Backend.

Configurações Gerais

Aqui serão encontradas informações das tecnologias utilizadas para o desenvolvimento do projeto e as instruções de configuração de ambos ambientes de desenvolvimento.

Tecnologias utilizadas

Frontend

Node Js Version: 20.11.1 More information to download: Download Node

Angular

$ npm install -g @angular/cli


Backend

spring-boot spring Boot

Java Java

Configurando o Backend

Prerequisites

Before installing and running this project, ensure you have the following prerequisites:

  1. Java: Make sure you have Java installed on your system. You can download and install Java from here.
  2. Maven: Maven is used as a build automation tool for Java projects. Make sure you have Maven installed. You can download and install Maven from here.
  3. Docker Desktop: Ensure you have Docker Desktop installed on your system. Docker Desktop provides an easy-to-install application for Docker Engine, Kubernetes, and other tools. You can download and install Docker Desktop from here.

Installation

  1. Clone the repository:

    git clone https://tools.ages.pucrs.br/ensportive/ensportive-backend.git
  2. Navigate to the project directory:

    cd ensportive-backend
  3. Build the project using Maven:

    mvn clean install

Usage

  1. Create the Docker volume (only need to be done the first time):

    docker volume create ensportive-db
  2. Run the Docker compose file:

    docker compose up
  3. Run the application:

    mvn spring-boot:run

    This will start the backend server.

  4. The backend server will be accessible at http://localhost:8080.

Configurando o Frontend

Prerequisites

Before installing and running this project, ensure you have the following prerequisites:

Angular: Ensure you have Angular installed on your system. This project requires Angular version 17. You can install Angular CLI version 17 by running the following command:

  npm install -g @angular/cli@17

Installation

  1. Clone the repository:

    git clone https://tools.ages.pucrs.br/ensportive/ensportive-frontend
  2. Navigate to the project directory:

    cd ensportive-frontend
  3. install the dependencies:

    npm install

Usage

  1. Run the Angular application:

    ng serve
  2. The application will be visible on the port that the terminal will show

Clone repository
  • Arquitetura
  • Banco de Dados
  • Configuração
  • Gerência
  • Processos
  • Home
  • mockups
  • sprints