kmu-wink / house-rice-server Goto Github PK
View Code? Open in Web Editor NEW집밥공유 플랫폼 서버
집밥공유 플랫폼 서버
회원 탈퇴를 할 수 있는 API 를 구현한다. 회원의 username(통상 아이디라고 불리는 것)을 주소로 전달 받아 삭제 하는 기능 구현.
회원 정보를 수정 할 수 있는 API 를 구현한다. 회원의 username(통상 아이디라고 불리는 것)을 주소로 전달 받아 수정 하는 기능 구현.
{
"password": "tset",
"phone": "tset",
"nickname": "tset",
"name": "tset"
}
회원 정보를 수정 할 수 있는 API 를 구현한다. 회원의 username(통상 아이디라고 불리는 것)을 주소로 전달 받아 수정 하는 기능 구현.
{
"password": "tset"
}
개별 회원정보를 조회할 수 있는 API 를 구현한다. 회원의 username(통상 아이디라고 불리는 것)을 주소로 전달 받아 조회하는 기능을 구현.
카테고리를 저장할 수 있는 데이터 모델을 설계한다. 카테고리는 '한식', '일식', '디저트' 등 여러 내용들이 올 수 있으며 저장 내용으로 파일 이름을 명시 하여야한다.
즉 필수로 들어 가야할 필드는 다음과 같다.
이후 필요하다고 생각되는 필드는 작업자가 판단하여 추가, 삭제 한다.
아이콘 파일 경로의 경우 AWS S3에 업로드 되는 파일 명이 들어갈 예정이며 s3 path는 명시하지 않는다.
해당 시스템에서는 크게 회원을 3가지 분류로 나눈다.
위와 같이 사용자를 구분할 수 있는 필드를 추가하도록 한다.
각 API 별로 로그인 사용자를 식별할 수 있는 토큰을 발급하여 이후 API 사용 시 인증 헤더를 통해 토큰을 사용할 수 있는 시크릿 기반 키, 쿠키, 데이터 베이스에 저장하는 방식의 token 등을 사용하여 로그인 기능을 구현한다. 각종 라이브러리를 사용하여 구현하도록 한다. (ex : express-jwt)
{
"username": "test",
"password": "tset"
}
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.