Giter VIP home page Giter VIP logo

react-learning-guide's Introduction

리액트 러닝 가이드

리액트 라이브러리를 사용해 사용자 인터페이스를 구축하는 방법을 학습합니다.

학습 저장소 복제

학습 저장소를 복제하는 명령어를 복사하여 터미널에 붙여넣고 실행합니다.

npx degit yamoo9/react-learning-guide react-learning-guide

인스톨레이션

학습을 위해 종속성 패키지를 설치합니다.

pnpm install

커멘드

클라이언트 앱 실행 명령어입니다.

pnpm dev
pnpm dev:client

서버 앱 실행 명령어입니다.

pnpm dev:server

클라이언트 + 서버 앱 동시 실행 명령어입니다.

pnpm dev:all

Post API

포스트 리스트 읽기

포스트 리스트를 응답합니다.

GET /api/v1/posts

포스트 검색

포스트를 검색하여 응답합니다.

작성자 쿼리

요청한 작성자 이름으로 포스트를 검색하여 응답합니다.

GET /api/v1/posts?author={author-name}

검색어 쿼리

요청한 포스트 본문 내용을 검색하여 응답합니다.

GET /api/v1/posts?q={search}

페이지네이션 쿼리

요청한 페이지 번호 또는 페이지 갯수에 맞춰 포스트를 검색하여 응답합니다.

GET /api/v1/posts?page=2&perPage=3

포스트 읽기

요청한 아이디 속성 값과 일치하는 포스트를 응답합니다.

GET /api/v1/posts/:id

포스트 쓰기

새로운 포스트를 생성한 뒤 응답합니다.

POST /api/v1/posts

포스트 수정

요청한 아이디 속성 값과 일치하는 포스트 수정한 뒤 응답합니다.

PUT /api/v1/posts/:id

포스트 삭제

요청한 아이디 속성 값과 일치하는 포스트 삭제한 뒤 응답합니다.

DELETE /api/v1/posts/:id

포스트 초기화

포스트 리스트를 초기화합니다.

DELETE /api/v1/posts/reset

react-learning-guide's People

Contributors

yamoo9 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.