Skip to content

Commit

Permalink
add templates email and index for documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
Lewoaragao committed Sep 14, 2023
1 parent a9cec80 commit 7971f8b
Show file tree
Hide file tree
Showing 8 changed files with 531 additions and 95 deletions.
13 changes: 11 additions & 2 deletions pom.xml
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
<project xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<parent>
Expand All @@ -13,7 +14,11 @@
<version>0.0.1-SNAPSHOT</version>
<packaging>war</packaging>
<name>aniversend</name>
<description>AniverSend é um serviço open source que automatiza os votos de aniversário. Todos os dias, ele verifica as pessoas com aniversário na data atual e envia e-mails personalizados de parabéns, tornando as celebrações de aniversário no ambiente de trabalho mais especiais e memoráveis.</description>
<description>AniverSend é um serviço open source que automatiza os votos de
aniversário. Todos os dias, ele verifica as pessoas com aniversário na
data atual e envia e-mails personalizados de parabéns, tornando as
celebrações de aniversário no ambiente de trabalho mais especiais e
memoráveis.</description>
<properties>
<java.version>1.8</java.version>
</properties>
Expand Down Expand Up @@ -65,6 +70,10 @@
<artifactId>spring-boot-starter-tomcat</artifactId>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-thymeleaf</artifactId>
</dependency>
</dependencies>
<build>
<finalName>${project.artifactId}</finalName>
Expand Down
17 changes: 17 additions & 0 deletions src/main/java/com/aniversend/controllers/RouteController.java
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
package com.aniversend.controllers;

import javax.servlet.http.HttpSession;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;

@Controller
public class RouteController {

@GetMapping("/")
public String index(HttpSession session) {
session.setAttribute("nameApp", "AniverSend");
return "index";
}

}
Loading

0 comments on commit 7971f8b

Please sign in to comment.