Article directory
foreword
Today, seniors share with you a java web project:
Design and implementation of health management platform based on java web
Project acquisition:
https://gitee.com/sinonfin/L-javaWebSha
1. Project design
1. Modular design
Front-end function of the website
Website background function
2. Realize the effect
Users can record their own health diary, and also record their daily sleep, drinking, smoking, blood pressure, weight, mood, etc., and enter their daily diet. The health log is recorded using kindeditor, a text editor with a health log function interface
There are too many functions, so I won’t show them one by one here
2. Part of the source code
There are a lot of source codes, and the length of the article is limited, so I won’t post them here. Only a small part of the key codes will be shown. Those who need it can go to the link at the end of the article to get the source codes.
Some code examples:
package cn.itbaizhan.health.service;
import java.util.List;
import cn.itbaizhan.health.po.Food;
public interface FoodServiceInter {
/**
* 一天的食物列表
* @return
* @throws Exception
*/
public List<Food> find() throws Exception;
/**
* 所有的食物列表
* @return
* @throws Exception
*/
public List<Food> findAll()throws Exception;
/**
* 根据id查找食物
* @param id
* @return
* @throws Exception
*/
public Food find(Integer id)throws Exception;
}
Project source code
Project acquisition:
https://gitee.com/sinonfin/L-javaWebSha