# devfrk
**Repository Path**: oneflyingfish/devfrk
## Basic Information
- **Project Name**: devfrk
- **Description**: an alternative solution for Springboot
- **Primary Language**: Java
- **License**: Apache-2.0
- **Default Branch**: main
- **Homepage**: None
- **GVP Project**: No
## Statistics
- **Stars**: 0
- **Forks**: 0
- **Created**: 2021-09-21
- **Last Updated**: 2021-09-21
## Categories & Tags
**Categories**: Uncategorized
**Tags**: None
## README
# 1. Background
an alternative solution for Springboot
## 1.1 Authors
- wuheng@iscas.ac.cn
## 1.2 Limitions
- Only support key features of Springboot
- It is under heavy development
~~- [Java >1.8 and support -parameter](https://blog.csdn.net/sanyuesan0000/article/details/80618913)~~
~~- [Swagger](https://editor.swagger.io/?_ga=2.101767682.249745839.1589876051-842250693.1589876051)~~
# 2. Quick start
## 2.1 Create a Maven project in your IDE
## 2.2 Add dependency
```
io.github.kubesys
devfrk
2.0.6
pdos-repos
PDOS Releases
http://182.92.208.39:31021/repository/maven-public/
```
## 2.3 Create application.yml in src\main\resources
You can modify it as your want.
```
server:
port: 8080
servlet:
contextPath: /httpfrk
```
## 2.4 Examples
- SpringBootApplication, EnableAutoConfiguration deprecated
- [RequestMapping/RestController/ComponentScan/HttpServerRunner(SpringApplication)](https://github.com/kubesys/kube-examples/tree/main/devfrk/basic)
- [ExceptionHandler/ResponseBody](https://github.com/kubesys/kube-examples/tree/main/devfrk/resp)
- [Autowired](https://github.com/kubesys/kube-examples/tree/main/devfrk/bean)
[postman](https://www.getpostman.com/collections/b75b81e82082768fd26f)
# 4. RoadMap
- 2.0.x replace springboot (JSON-style)
- 2.0.1 support key attributes of RequestMapping, RestController, ComponentScan, HttpServerApplication(SpringBootApplication)
- 2.0.2 support key attributes of application.yml
- 2.0.3 support key attributes of RequestMethod, and only support GET and POST
- 2.0.4 support key attributes of ExceptionHandler and ResponseBody
- 2.0.5 support key attributes of Autowired
- 2.0.6 export Bean and Countext
- 2.0.7 imporve code quality
# 4. RoadMap
- ETCDCTL_API=3 etcdctl --endpoints=https://127.0.0.1:2379 --cacert=/etc/kubernetes/pki/etcd/ca.crt --cert=/etc/kubernetes/pki/etcd/healthcheck-client.crt --key=/etc/kubernetes/pki/etcd/healthcheck-client.key get /registry/pods/default --prefix --keys-only