바이러스 정보를 알려주는 서비스 입니다.
기능 | 설명 | 사용기술 |
---|---|---|
실시간 바이러스 정보 제공 | 최신 바이러스 발생 현황 및 감염자 수 통계 제공, 사용자 위치 기반 지역 정보 제공, 근처 병원 위치 제공 | 프론트엔드: Swift 백엔드: SpringBoot API: RESTful API |
데이터 시각화 | 그래프와 지도를 통한 바이러스 확산 현황 시각화 | 데이터 시각화 라이브러리: Naver Maps API |
서버 프레임워크 | 빠른 서버 구축 및 확장성 제공 | SpringBoot |
데이터베이스 | 데이터 저장 및 관리 | SQL: MySQL, MariaDB NoSQL: MongoDB |
배포 및 유지보수 | 서버 및 데이터베이스 호스팅, 시스템 성능 모니터링 및 로그 분석 | 클라우드 인프라: AWS |
메인페이지 | --- | --- |
---|---|---|
클라이언트용 코드
접기/펼치기
To integrate NMapsMap into your Xcode project use CocoaPods, specify it in your Podfile:
# Uncomment the next line to define a global platform for your project
platform :ios, '9.0'
target 'DiseaseTrackerMap' do
# Comment the next line if you don't want to use dynamic frameworks
use_frameworks!
# Pods for DiseaseTrackerMap
pod 'NMapsMap'
end
import NMapsMap
func setMarker(data: [UserRoute]) {
_ = data.map { route in
let marker = NMFMarker()
marker.iconImage = NMF_MARKER_IMAGE_PINK
marker.position = NMGLatLng(lat: route.latitude, lng: route.longitude)
marker.mapView = view.mapView
marker.iconImage = NMFOverlayImage(image: UIImage(systemName: "allergens")!)//NMFOverlayImage(name: "allergens")
let infoWindow = NMFInfoWindow()
let dataSource = NMFInfoWindowDefaultTextSource.data()
dataSource.title = "\(route.identifier)"
infoWindow.dataSource = dataSource
infoWindow.open(with: marker)
}
}
서버 코드
접기/펼치기
We have information about the total confirmed cases.
@Entity
@Data
public class Virus {
@Id
private Long id;
// Date
private LocalDate date;
// Region
private String region;
// Confirmed Case Number
private int identifier;
// Whether Recovered
private boolean recovered;
// Latitude
private double latitude;
// Longitude
private double longitude;
}