Giter Site home page Giter Site logo

๐Ÿ“Œ React.js_community

์ปค๋ฎค๋‹ˆํ‹ฐ ์„œ๋น„์Šค

ํฌํŠธํด๋ฆฌ์˜ค

๋ธ”๋กœ๊ทธ

์ œ์ž‘ ๊ธฐ๊ฐ„

  • 2023๋…„ 5์›” ~ 6์›”
  • ๊ฐœ์ธ ํ”„๋กœ์ ํŠธ

์‚ฌ์šฉ ๊ธฐ์ˆ 

Front-end

  • react: ^18.2.0
  • axios: ^1.4.0
  • bootstrap: ^5.2.3
  • firebase: ^9.22.0
  • framer-motion: ^10.12.16
  • http-proxy-middleware: ^2.0.1
  • moment: ^2.29.4,
  • react-router-dom: ^6.11.1
  • emotion: ^11.11.0
  • reduxjs-toolkit: ^1.7.1

Back-end

  • aws-sdk: ^2.348.0
  • express: ^4.17.2
  • mongoose: ^6.1.3
  • nodemon: ^2.0.22
  • path: ^0.12.7
  • multer: ^1.4.4
  • multer-s3: ^2.10.0

ํ•ต์‹ฌ ๊ธฐ๋Šฅ

๋กœ๊ทธ์ธ ๊ธฐ๋Šฅ
๊ฒŒ์‹œ๊ธ€ ์ˆ˜์ •,์‚ญ์ œ,๋“ฑ๋ก ๊ธฐ๋Šฅ
๊ฒŒ์‹œ๊ธ€ ์ •๋ ฌ ๊ธฐ๋Šฅ
๋‚ด์šฉ ๊ฒ€์ƒ‰ ๊ธฐ๋Šฅ

ํŠธ๋Ÿฌ๋ธ” ์ŠˆํŒ…

server, res.sendFile(๊ฒฝ๋กœ ๋ฌธ์ œ)
  • path ๋‚ด์žฅ ๋ชจ๋“ˆ, app.use(express.static(...)) ์‚ฌ์šฉํ•˜์—ฌ ํ•ด๊ฒฐ
  • ๋ธ”๋กœ๊ทธ
Axios ๋ฌดํ•œ ๋ Œ๋” ๋ฌธ์ œ
  • useEffectํ›…์„ ์‚ฌ์šฉํ•˜์—ฌ ํ•ด๊ฒฐ
CORS ์ด์Šˆ ๋ฌธ์ œ
  • http-proxy-middleware๋ฅผ ์‚ฌ์šฉํ•˜์—ฌ cors ์ •์ฑ…์„ ์šฐํšŒ๋กœ ํ•ด๊ฒฐ
  • ๋ธ”๋กœ๊ทธ
client์—์„œ ๋ณด๋‚ด์˜จ req.body, server์—์„œ ํ™•์ธ์‹œ ๋””ํดํŠธ ๊ฐ’์œผ๋กœ Undefined ์„ค์ • ๋ฌธ์ œ
  • ๋ฒ„์ „ ์—…๋ฐ์ดํŠธ๋กœ react์— ๋‚ด์žฅ๋œ body-parser ๋ชจ๋“ˆ ์‚ฌ์šฉ
  • ๋ธ”๋กœ๊ทธ
server์—์„œ mongoDB ๋ฐ์ดํ„ฐ find()๋กœ ์ฐพ์„ ์‹œ์— ์ƒ๊ธฐ๋Š” ๋ฌธ์ œ
  • findOne() ์‚ฌ์šฉ์œผ๋กœ ๋‹จ์ผ ๊ฐ์ฒด๋ฅผ ๋ฐ˜ํ™˜ํ•˜์—ฌ ํ•ด๊ฒฐ
  • ๋ธ”๋กœ๊ทธ
video ํƒœ๊ทธ๋กœ ๋ฐ”ํƒ•ํ™”๋ฉด์— ์˜์ƒ ์ž…ํž ์‹œ์— ์•„์ดํฐ ์ž๋™ ์˜์ƒ ํ™•๋Œ€ ๋ฌธ์ œ(์•ˆ๋“œ๋กœ์ด๋“œ๋Š” ์ •์ƒ)
  • videoํƒœ๊ทธ์— playsInline ์†์„ฑ ์ถ”๊ฐ€๋กœ ํ•ด๊ฒฐ
firebase import ๋ฒ„์ „ ๋ฌธ์ œ
redux ๋น„์ง๋ ฌํ™” ๊ด€๋ จ ์—๋Ÿฌ
  • ๋ฏธ๋“ค์›จ์–ด ์„ค์ •์œผ๋กœ ์ž„์‹œํ•ด๊ฒฐ
  • ๋ธ”๋กœ๊ทธ
Axiosํ†ต์‹  ์‹œ์— ๋”œ๋ ˆ์ด ๋ฌธ์ œ๋กœ ์ ‘๊ทผ์„ฑ ๋‚ฎ์•„์ง€๋Š” ๋ฌธ์ œ

ํŒ€ ํ”„๋กœ์ ํŠธ ๋ฐ ๊ฐœ์ธ ์ž‘์—…๋ฌผ

ํŒ€ํ”„๋กœ์ ํŠธ)์นด์นด์˜ค๋งต์„ ํ™œ์šฉํ•˜์—ฌ ๊ด€๊ด‘์ง€ ๊ฒ€์ƒ‰ ์‚ฌ์ดํŠธ ๊ตฌํ˜„
  • ๋งก์€ ์ž‘์—…
    • ์ง€์—ญ๋ณ„ ๊ด€๊ด‘์ง€ ์ •๋ณด ๋ฐ ์ขŒํ‘œ api data searching
    • ์„œ๋ธŒ ํŽ˜์ด์ง€, ๊ฒŒ์‹œํŒ ๊ตฌํ˜„
๊ฐœ์ธ)์›น ์‚ฌ์ดํŠธ ๊ตฌํ˜„
  • javascript, jQuery, html, css๋ฅผ ์‚ฌ์šฉํ•˜์—ฌ ์›น์‚ฌ์ดํŠธ ๊ตฌํ˜„
  • ์‚ฌ์ดํŠธ
๊ฐœ์ธ)react๋‹ค์ด์–ด๋ฆฌ ์‚ฌ์ดํŠธ ๊ตฌํ˜„(๊ณต๋ถ€์šฉ)
๊ฐœ์ธ)์›น(nike) ์‚ฌ์ดํŠธ ๊ตฌํ˜„(ํ•™์› ๊ณต๋ถ€์šฉ)

daegons's Projects

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.