annahxxl / sns-server Goto Github PK
View Code? Open in Web Editor NEWNode.js를 이용한 REST API 서버 만들기
Node.js를 이용한 REST API 서버 만들기
Error: Include unexpected. Element has to be either a Model, an Association or an object.
POST /users/join : 회원가입
POST /users/login : 로그인
GET /users/me : 마이페이지
GET /users/logout : 로그아웃
회원 스키마 정의
게시글 스키마 정의
댓글 스키마 정의
테이블 관계 설정
DB 연결
회원 쿼리문 작성
게시글 쿼리문 작성
댓글 쿼리문 작성
GET /posts : 모든 게시글 조회
GET /posts?username=:username : 유저에 대한 모든 게시글 조회
GET /posts/:id : 게시글 조회
POST /posts : 게시글 작성
PATCH /posts/:id : 게시글 수정
DELETE /posts/:id : 게시글 삭제
게시글 실시간
댓글 실시간
회원 테이블
게시글 테이블
댓글 테이블
POST /posts/:id/comment : 댓글 생성
PATCH /posts/:id/comment/:id : 댓글 수정
DELETE /posts/:id/comment/:id : 댓글 삭제
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.