Geektime Todo is a demo todo project for Geektime column.

Overview

Geektime Todo

简介

这是《极客时间》专栏的 Todo 项目示例。

基本用法

  • 生成 IDEA 工程
./gradlew idea
  • 检查
./gradlew check
  • 数据库迁移
./gradlew flywayMigrate
  • 生成构建产物
./gradlew build
  • 生成发布包

对于 CLI 项目,运行如下命令

./gradlew uberJar

在 todo-cli/build/libs 下就会生成一个 Uber JAR,它是可以独立运行的。

java -jar todo-uber-<version>.jar
You might also like...

Demo microservice architecture with Spring ,Spring Cloud Gateway , Spring Cloud config server , Eureuka , keycloak and Docker.

Demo microservice architecture with Spring ,Spring Cloud Gateway , Spring Cloud config server , Eureuka , keycloak and Docker.

spring-microservice Demo microservice architecture with Spring ,Spring Cloud Gateway , Spring Cloud config server , Eureuka , keycloak and Docker. Arc

Sep 13, 2022

Spring Boot ECommerce Demo

Spring Boot ECommerce Demo

springboot-ecommerce2 Things todo list Clone this repository: git clone https://github.com/hendisantika/springboot-ecommerce2.git Navigate to the fold

Aug 30, 2022

Spring testcontainers demo

Getting Started Reference Documentation For further reference, please consider the following sections: Official Apache Maven documentation Spring Boot

Feb 16, 2022

Spring-boot application to demo JVM HEAP and Native memory leak

Description This repo can be used as demo repo for finding memory leaks. Example spring-boot project to show how to find and fix JVM HEAP memory leak

Jul 22, 2022

Demo for Dapr v1.x

Demo for Dapr v1.x 1. Demo Services dapr-demo-proto: protocol buffer definition, contains the generated code. dapr-demo-order: product java service, s

Mar 16, 2022

Demo Repo for our CDC-based Strangler Fig Pattern Session @ VoxxedDays Romania 2021

Strangler Fig Pattern Demo Build applications Before being able to spin up the docker-compose based demo environment please make sure to successfully

Feb 20, 2022

A demo of Rongcloud uniapp sdk integration for compiling debug-apk in Android Studio

Rongcloud-uniapp-sdk-demo A demo of Rongcloud uniapp sdk integration for compiling debug-apk in Android Studio 这是一个为了给uniapp在Android平台打出debug-apk的demo

Oct 13, 2021

Google's ML-Kit-Vision demo (android) for pre encoded video.

Google's ML-Kit-Vision demo (android) for pre encoded video.

Android ML Kit Vision demo with Video Google's ML-Kit-Vision demo (android) for pre encoded video. Demos for camera preview and still image are also i

Dec 29, 2022

Euphony Demo for patients and assistants in case of an emergency.

Euphony Demo for patients and assistants in case of an emergency.

sound-helper Eutophia sample project Overview sound-helper is a sample application using the euphony Acoustic Data Telecommunication Library. This app

Sep 6, 2021
Comments
  • fix: fix gradlew migrate error

    fix: fix gradlew migrate error

    without flyway-mysql when execute ./gradlew migrate will throw error below:

    > Task :todo-api:migrateToDev FAILED
    
    FAILURE: Build failed with an exception.
    
    * What went wrong:
    Execution failed for task ':todo-api:migrateToDev'.
    > Error occurred while executing migrateToDev
      No database found to handle jdbc:mysql://localhost:3306/todo_dev?useUnicode=true&characterEncoding=utf-8&useSSL=false&allowPublicKeyRetrieval=true
    
    opened by hellboy0621 0
  • todo-core模块分包

    todo-core模块分包

    请教下老师todo-core模块有必要分包吗,还是说代码比较少放一起,如果分包应该是怎么样子的呢

    • domain or model ? TodoItem、TodoParameter、TodoIndexParameter
    • service TodoItemService
    • repository TodoItemRepository
    • exception TodoException
    opened by comeCU 1
  • todo-cli 如何运行起来

    todo-cli 如何运行起来

    老师你好,参考picocli运行todo-cli 我碰到了下面的这个报错

    E:\idea-workspace\geektime-todo\todo-cli\build\libs> java -cp "picocli-4.6.1.jar;todo-cli-20210807-SNAPSHOT.jar" com.github.dreamhead.todo.cli.Bootstrap
    Exception in thread "main" java.lang.NoClassDefFoundError: com/github/dreamhead/todo/core/TodoItemRepository
            at com.github.dreamhead.todo.cli.Bootstrap.main(Bootstrap.java:10)
    Caused by: java.lang.ClassNotFoundException: com.github.dreamhead.todo.core.TodoItemRepository
            at java.net.URLClassLoader.findClass(Unknown Source)
            at java.lang.ClassLoader.loadClass(Unknown Source)
            at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
            at java.lang.ClassLoader.loadClass(Unknown Source)
            ... 1 more
    
    opened by comeCU 2
  • 项目运行gradlew bootRun问题

    项目运行gradlew bootRun问题

    老师您好,我build正常,但运行的时候碰到这个问题 参考了stackoverflow 重启idea无果

    Execution failed for task ':todo-cli:bootRun'.
    > Process 'command 'D:\Program Files\Java\jdk1.8.0_121\bin\java.exe'' finished with non-zero exit value 1
    
    * Try:
    Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.
    
    opened by comeCU 1
Owner
Zheng Ye
Zheng Ye
Hexagonal Architecture Demo Project about Ticketing and Payment

This project is a sample production-ready implementation for demonstrating the power of Hexagonal Architecture (aka Ports And Adapters Pattern) written in Java.

Alican Akkuş 382 Jan 1, 2023
Microservices with Spring Boot and Kafka Demo Project

Example microservices showing how to use Kafka and Kafka Streams with Spring Boot on the example of distributed transactions implementations with the SAGA pattern

Piotr Mińkowski 98 Jan 7, 2023
The project is a simple vulnerability Demo environment written by SpringBoot

The project is a simple vulnerability Demo environment written by SpringBoot. Here, I deliberately wrote a vulnerability environment where there are arbitrary file uploads, and then use the `scan` attribute in the loghack configuration file to cooperate with the logback vulnerability to implement RCE.

Panda 76 Dec 14, 2022
Spring for GraphQL demo project with a Vue frontend.

Spring Books - Hello GraphQL This is a demo project that will introduce you to [https://spring.io/projects/spring-graphql](Spring for GraphQL). The Sp

Dan Vega 11 Dec 2, 2022
An assistance platform made using Spring framework that analyses your code, and helps you either to start a devops project, or to turn an existing project into a devops project using open source software (Git, Docker, Jenkins..)

DevOpsify Description An assistance platform made using Spring framework that analyses your code, and helps you either to start a devops project, or t

obaydah bouifadene 14 Nov 8, 2022
A demo shopping cart Java Akka Serverless

shopping-cart-java-akka-serverless This project is an Akka Serverless service that demonstrates a simple shopping cart implemented as an Akka Serverle

Hugh McKee 7 Dec 3, 2021
source code of the live coding demo for "Building resilient and scalable API backends with Apache Pulsar and Spring Reactive" talk held at ApacheCon@Home 2021

reactive-iot-backend The is the source code of the live coding demo for "Building resilient and scalable API backends with Apache Pulsar and Spring Re

Lari Hotari 4 Jan 13, 2022
Apache Log4j2 CVE-2021-44228 RCE Demo with RMI and LDAP

CVE-2021-44228-Demo 利用 CVE-2021-44228,通过 RMI 和 LDAP 两种方式远程注入代码的示例。 Exploit class from RMI Server loaded Hello, ${jndi:rmi://127.0.0.1:1099/exploit} Ex

Zhuang Ma 2 Dec 14, 2021
Representational State Transfer + Structured Query Language(RSQL): Demo application using RSQL parser to filter records based on provided condition(s)

Representational State Transfer + Structured Query Language: RSQL Demo application using RSQL parser to filter records based on provided condition(s)

Hardik Singh Behl 9 Nov 23, 2022
A short demo of CVE-2021-44228

sample-ldap-exploit A short demo of CVE-2021-44228 Build $ mvn clean verify Run Attacker $ java \ -cp 'attacker/target/sample-attacker.jar:attacker

Philip Oswald 6 Oct 19, 2022