GithubHelp home page GithubHelp logo

react-news-app's Introduction

image

설명

사용률이 높은 프론트엔드 라이브러리/프레임워크를 연습 해보기 위한 프로젝트.

  • 뉴스 검색 기능 : api fetching, infinite scroll
  • 로그인 기능 : api mocking, jwt login
  • 즐겨찾기 기능 : local storage

사용 기술

  • Typescript
  • ReactJS
  • styled-components
  • RTK
  • RTK Query
  • Vite

다이렉토리 구조

- src
  - app : 공용 컴포넌트, 훅, 스토어, 타입, 설정
  - features : 기능 별 컴포넌트, 훅, 스토어, 서비스
    - auth : 로그인
    - bookmark : 즐겨찾기
    - search : 검색
  - routes : 페이지 컴포넌트
  - utils : 헬퍼 함수

기타

로그인 기능을 구현하기 위해 간단한 express mock 서버를 추가했습니다.


 

구동 방법

세팅

  1. 패키지 설치
yarn
  1. API 키 업데이트
// src/app/configs/app.ts
const API_KEY = 'New Key';

News Api

실행

  1. Run mock api server
yarn mock
  1. Run Vite
yarn dev

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.