# todos **Repository Path**: githubsync/todos ## Basic Information - **Project Name**: todos - **Description**: vertx todo 测试 - **Primary Language**: JavaScript - **License**: Apache-2.0 - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2018-08-11 - **Last Updated**: 2020-12-18 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # Vert.x Blueprint - Todo Backend [![Travis Build Status](https://travis-ci.org/sczyh30/vertx-blueprint-todo-backend.svg?branch=master)](https://travis-ci.org/sczyh30/vertx-blueprint-todo-backend) Vert.x blueprint application - A todo-backend implementation using Vert.x and various persistence (e.g. Redis or MySQL). This repository is an introduction to basic Vert.x web RESTful service development. Detailed tutorials (both in Chinese and English) are provided below. ## Contents - What is Vert.x and its principles - What is and how to use `Verticle` - How to develop a REST API using Vert.x Web - How to make use of **asynchronous development model** - `Future`-based asynchronous pattern - How to use persistence such as *Redis* and *MySQL* with the help of Vert.x async data components ## Detailed Document - [English Version](http://sczyh30.github.io/vertx-blueprint-todo-backend/) - [中文文档](http://sczyh30.github.io/vertx-blueprint-todo-backend/cn/) ## Want to improve this blueprint ? Forks and PRs are definitely welcome ! ## Build To build the code: gradle build -x test Run service locally: - with Redis: `java -jar build/libs/vertx-blueprint-todo-backend-fat.jar -conf config/config.json` - with MySQL: `java -jar build/libs/vertx-blueprint-todo-backend-fat.jar -conf config/config_jdbc.json` Run with Docker Compose: docker-compose up --build ## OpenShift - [OpenShift Live Demo URL](http://verttodo-sczyh30.rhcloud.com/todos) - [API Test](http://www.todobackend.com/specs/index.html?http://verttodo-sczyh30.rhcloud.com/todos) - [Client Test](http://www.todobackend.com/client/index.html?http://verttodo-sczyh30.rhcloud.com/todos) ## API Test Test result of the RESTful API (using [todo-backend-js-spec](https://github.com/TodoBackend/todo-backend-js-spec)): ![RESTful API Test Result](docs/img/vert-api-test.png) You can also run it with [the todo backend frontend client](http://www.todobackend.com/client/index.html): ![Todo Frontend](docs/img/vertx-todobackend-ui.png) ## add UI to this project http://localhost:8082/index.html?http://localhost:8082/todos