Giter Club home page Giter Club logo

k_todo_list's Introduction

Assignment - TO DO List

Environment

  • Language
    • JDK 1.8
    • javascript
    • html
  • IDE
    • Intellij
  • Build Tool
    • Gradle
  • Library
    • Common
      • Akka Actor
      • Akka Remote
      • Lombok
      • Jackson
    • Front-end Server
      • Spring Boot Webflux
      • Thyemeleaf Template Engine
      • JQuery
    • Proccess
      • Ignite Indexing
      • Akka test-kit

Getting started

Installation

Download the release files

Download the front-end.zip and 'process.zip' in the release page by the version of 2.0-SNAPSHOT. PageLink

Build with Gradle

First, git Clone the source file. Then in the project Root directory build with gradlew.

// windows

// build front-end server
gradlew assemble

// build process server
gradlew shadowJar


// linux or mac, similar to windows

// build front-end server
./gradlew assemble

// build process server
./gradlew shadowJar

Execute the Jar File

If you download the release files or build with the gradle, then in the path(${ProjectRoot}/front-end/build/libs/ and ${ProjectRoot}/process/build/libs/) you could find the jar file and runnable linux script and windows batch file.

Default port is 8187 and the host is the local host. If you want to change it, please modify the script file or execute the jar file with the spring param(-Dserver.port=8090).

Server Structer

k_todo_list's People

Contributors

ztkmkoo avatar

Watchers

James Cloos avatar

k_todo_list's Issues

ServerResponse cannot render html page..

There is no time to develop template engine to resolve html resource.

  1. use thymeleaf => add dependency compile('org.springframework.boot:spring-boot-starter-thymeleaf:2.0.4.RELEASE')

  2. set resolver to HandlerStrategies.

@Autowired
private ViewResolver viewResolver;

public void start() {
 HandlerStrategies handlerStrategies = HandlerStrategies.builder()
  .viewResolver(viewResolver)
  .build();

 HttpHandler httpHandler = RouterFunctions.toHttpHandler(route, handlerStrategies);
}

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.