Skip to content

Commit

Permalink
chore: realworld -> anythink market, readme change
Browse files Browse the repository at this point in the history
  • Loading branch information
darmalovan committed Jan 8, 2024
1 parent 981a66e commit a5fbe13
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 12 deletions.
8 changes: 3 additions & 5 deletions .framework/java/backend/README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
# Anythink Market Backend

> ### Spring boot + MyBatis codebase containing real world examples (CRUD, auth, advanced patterns, etc)
# How it works

The application uses Spring Boot (Web, Mybatis).
Expand All @@ -19,10 +17,10 @@ You'll need Java 11 installed.

./gradlew bootRun

To test that it works, open a browser tab at http://localhost:3000/tags .
Alternatively, you can run
To test that it works, open a browser tab at http://localhost:3000/api/tags
Alternatively, you can run:

curl http://localhost:3000/tags
curl http://localhost:3000/api/tags

# Run test

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@
import org.springframework.boot.autoconfigure.SpringBootApplication;

@SpringBootApplication
public class RealWorldApplication {
public class AnythinkMarketApplication {

public static void main(String[] args) {
SpringApplication.run(RealWorldApplication.class, args);
SpringApplication.run(AnythinkMarketApplication.class, args);
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,12 @@
public class JacksonCustomizations {

@Bean
public Module realWorldModules() {
return new RealWorldModules();
public Module anythinkMarkerModules() {
return new AnythinkMarketModules();
}

public static class RealWorldModules extends SimpleModule {
public RealWorldModules() {
public static class AnythinkMarketModules extends SimpleModule {
public AnythinkMarketModules() {
addSerializer(DateTime.class, new DateTimeSerializer());
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
import org.springframework.boot.test.context.SpringBootTest;

@SpringBootTest
public class RealworldApplicationTests {
public class AnythinkMarketApplicationTests {

@Test
public void contextLoads() {}
Expand Down

0 comments on commit a5fbe13

Please sign in to comment.