Skip to content

Commit

Permalink
Account Page still not done yet.
Browse files Browse the repository at this point in the history
Tests Written.
One Test Failing in CI. NO idea why
Created User Tokens With Verification
Package Updates
90% Code Coverage
Handle different users + account setting page #33
Co-authored-by: rhit-norflwe <rhit-norflwe@users.noreply.github.com>
  • Loading branch information
rhit-villencr committed Jan 11, 2025
1 parent c2c8b98 commit 5fe3844
Show file tree
Hide file tree
Showing 7 changed files with 510 additions and 1,171 deletions.
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -22,4 +22,4 @@ expo-env.d.ts
# @end expo-cli
credentials.json

backend/omniplanner/src/main/resources/application.properties
/backend/omniplanner/src/main/resources/application.properties
Binary file modified backend/omniplanner.db
Binary file not shown.
5 changes: 3 additions & 2 deletions backend/omniplanner/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -31,9 +31,10 @@ dependencies {
implementation 'com.google.apis:google-api-services-calendar:v3-rev20220715-2.0.0'
implementation 'org.springframework.boot:spring-boot-starter-security'
implementation 'io.jsonwebtoken:jjwt-api:0.11.5'
implementation 'org.glassfish.jaxb:jaxb-runtime:2.3.0'

runtimeOnly 'io.jsonwebtoken:jjwt-impl:0.11.5'
runtimeOnly 'io.jsonwebtoken:jjwt-jackson:0.11.5'
implementation 'io.jsonwebtoken:jjwt-impl:0.11.5'
implementation 'io.jsonwebtoken:jjwt-jackson:0.11.5'

testImplementation 'org.springframework.boot:spring-boot-starter-test'
testImplementation 'org.mockito:mockito-core:5.3.1'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,3 +9,8 @@ spring.jpa.show-sql=true
spring.jpa.database-platform=org.hibernate.community.dialect.SQLiteDialect
spring.jpa.hibernate.ddl-auto=update

jwt.secret=uNkNbJvurJtLdYV2pa0YG6jwGMBapa4+HAzbuT4Q9VAbdocVsc5ich2cIuy+BzbHb9n6bzQTGk7YTdROTR+4QQ=
jwt.expiration=86400000

spring.datasource.hikari.connection-timeout=30000
spring.datasource.hikari.maximum-pool-size=10
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
import static org.junit.jupiter.api.Assertions.assertDoesNotThrow;

@SpringBootTest
@TestPropertySource(properties = "spring.datasource.url=jdbc:sqlite:omniplanner.db")
@TestPropertySource(locations = "classpath:application-test.properties")
class OmniplannerApplicationTest {

@Test
Expand Down
Loading

0 comments on commit 5fe3844

Please sign in to comment.