Skip to content

Commit

Permalink
WIP auth
Browse files Browse the repository at this point in the history
  • Loading branch information
akbatra567 committed Jul 21, 2024
1 parent d6ea7b4 commit 3f5e1f9
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
import org.springframework.web.bind.annotation.RestController;

@RestController
public class UserController {
public class AuthController {

@Autowired
private UserRepository userRepository;
Expand Down
10 changes: 5 additions & 5 deletions src/main/resources/application.properties
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,11 @@ server.port=8080
springdoc.api-docs.path=/api-docs
springdoc.swagger-ui.path=/swagger-docs.html

spring.datasource.url=${DATABASE_URL}
spring.datasource.username=${DATABASE_USERNAME}
spring.datasource.password=${DATABASE_PASSWORD}
flyway.user=${DATABASE_USERNAME}
flyway.password=${DATABASE_PASSWORD}
spring.datasource.url=jdbc:postgresql://localhost:5432/knight
spring.datasource.username=postgres
spring.datasource.password=root
flyway.user=postgres
flyway.password=root
spring.jpa.show-sql=true

## Hibernate Properties
Expand Down

0 comments on commit 3f5e1f9

Please sign in to comment.