dlgustn555 / health Goto Github PK
View Code? Open in Web Editor NEW헬스 관리 프로그램
헬스 관리 프로그램
Client
ㄴ src : 작업용 디렉토리
ㄴ sample : 여러 샘플용파일 디렉토리
ㄴ dist : 빌드된 결과물
handleChangeColor = () => {
const color = '#' + Math.floor(Math.random() * 16777215).toString(16);
this.setState({ color })
}
진행상황 | 설명 | 예시 | 비고 |
---|---|---|---|
완료 X | [GET] 스캐줄 리스트 조회 | /exercise/schedule/[[user ID]] | |
완료 X | [GET] ALL 템플릿 조회 | /exercise/schedule/ | |
완료 X | [POST] 템플릿 등록 | /exercise/schedule/ | |
완료 X | [DELETE] 템플릿 삭제 | ||
완료 X | [PETCH] 템플릿 수정 |
SPA 애플리케이션에서 vue-router가 일어나기 전에 사전에 라우팅될 페이지를 미리 랜더링해 놓는것 같다.
그런가?!
SPA 라면 라우팅 될때 craated life cycle 에서 ajax 호출해서 필요한 데이터를 셋팅한 다음 mounted를 할텐데... 그럼 그런것도 하는걸까?
간단한건...
A 페이지에서 a API 호출
B 페이지에서 b API 호출
A, B 라우팅 경로를 prerender-sap-plugin에 적용
A 페이지에 들어갔을때 B페이지의 b API도 호출 하는지 테스트!!
일단 prerneder-spa-plugin이 무엇인지 정확히 개념부터 파악하기!!
SPA에서 SSR 로 변경하는 이유는!?
SEO에 잘 노출 시키기 위해서!!!
constant.js 파일
사용하지 않는 상수 제거
4/17
4/24
5/1
5/8
TypeScript: TS를 TS답게
https://programmers.co.kr/learn/courses/9940
데코레이터 관련 소개 영상
https://youtu.be/favycnvMY1Q
챗봇빌더 DEV 서버
챗봇빌더 DEV 서버에 배포
health
ㄴ sample : 학습 및 프로토타입용
L src : 백단 작업
진행상황 | 설명 | 예시 | 비고 |
---|---|---|---|
완료 O | [GET] ALL 템플릿 리스트 조회 | /exercise/template/[[user ID]] | |
완료 O | [GET] 특정 템플릿 조회 | /exercise/template/[[user ID]]/[[template ID]] | |
완료 O | [POST] 템플릿 등록 | /exercise/template/[[user ID]] | |
완료 X | [DELETE] 템플릿 삭제 | ||
완료 O | [PETCH] 템플릿 수정 | /exercise/template/[[template ID]] | 보안체크 아무나 수정가능 |
달력 클릭시 쓰기 UI레이어 팝업
SCHEDULE: {
userId: '',
templateId: '',
order: 0,
part: '',
year: 2019,
month: 0,
date: 1,
cellIndex: 0,
aCourse: []
},
SCHEDULE_SET: { weigth: '', repeat: 0 },
SCHEDULE_COURSE: {
name: '',
aSet: [],
condition: ''
},
AS-IS
하나의 commit에 의해 같이 셋팅해 주어야하는것들이
개별 commit으로 나뉘어져있어 일일이 해주어야함
TO-BE
하나의 commit 안으로 state 설정해주는것 모아주기
부모 이슈: #4
{
_id: 스캐줄 ID,
userID: 사용자ID,
templateId: 템플릿 ID,
order: 프로그램 일차,
part: 운동명,
program: [
{
name: '벤치프레스',
course: [
{ set: 1, value: 10, unit: 'kg', repeat: 10},
{ set: 2, value: 10, unit: 'kg', repeat: 10},
{ set: 3, value: 10, unit: 'kg', repeat: 10}
]
},
{
name: '벤치프레스',
course: [
{ set: 1, value: 10, unit: 'kg', repeat: 10},
{ set: 2, value: 10, unit: 'kg', repeat: 10},
{ set: 3, value: 10, unit: 'kg', repeat: 10}
]
}
],
modDate: 운동날짜 (기록날짜)
}
[GET] : /template/[[userID]]
/[[templateID]]
[POST] : /template
[PUT] : /template/[[userID]]
/[[templateID]]
이름 | name | 타입 | example |
---|---|---|---|
운동타입 | tag | String | ex) 웨이트, 요가, 복싱 ... |
운동요일 | days | String[] | ex) 월화수목금토일 |
운동회차 | dayCount | Number | ex) 1회차 |
운동부위 | part | String[] | ex) 가슴 / 등 / 어깨 / 하체 |
운동명 | name | String[] | ex) 벤치 프레스 |
세트 | set | Number | ex) 3 |
단위 | unit | String | ex) Set / Km / Hour / Min |
{
_id: 'aaaaaaaasdf',
userId: 'dlgustn555',
tag: '웨이트',
days: ['월','화','수'],
programs: [
{
part: '가슴',
order: 1,
course: [
{ name: '벤치프레스', set: 3, unit: 'Set' },
{ name: '디클라인 벤치프레스', set: 3, unit: 'Set' },
{ name: '인클라인 벤치프레스', set: 3, unit: 'Set' }
]
},
{
part: '등',
order: 2,
template: [
{ name: '벤치프레스', set: 3, unit: 'Set' },
{ name: '디클라인 벤치프레스', set: 3, unit: 'Set' },
{ name: '인클라인 벤치프레스', set: 3, unit: 'Set' }
]
},
{
part: '데드리프트',
order: 3,
course: [
{ name: '벤치프레스', set: 3, unit: 'Set' },
{ name: '디클라인 벤치프레스', set: 3, unit: 'Set' },
{ name: '인클라인 벤치프레스', set: 3, unit: 'Set' }
]
},
]
}
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.