# springboot-demo01
**Repository Path**: MarkPolaris/springboot-demo01
## Basic Information
- **Project Name**: springboot-demo01
- **Description**: springboot练习
- **Primary Language**: Unknown
- **License**: Not specified
- **Default Branch**: master
- **Homepage**: None
- **GVP Project**: No
## Statistics
- **Stars**: 0
- **Forks**: 0
- **Created**: 2019-08-15
- **Last Updated**: 2022-11-11
## Categories & Tags
**Categories**: Uncategorized
**Tags**: None
## README
参考文档:[http://springboot.zimug.com/1177583](http://springboot.zimug.com/1177583)
### IDEA创建springboot项目
1. 设置自动代理(如果报错timeout的话)
> file--setting--http proxy
设置为自动

2. file--new project 选择spring initialir

3.next 命名
4.next 选择 web--spring web starter

5.最后finish
6.写一个controller进行测试

```java
@RestController
public class UserController {
@RequestMapping("/hello")
public String hello(){
return "hello springboot";
}
}
```
7.运行结果
