GithubHelp home page GithubHelp logo

osw6858 / tech-hub Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 1.49 MB

React로 만든 기술블로그!

Home Page: https://my-blog-6a8bd.web.app/

License: MIT License

JavaScript 0.39% HTML 5.03% TypeScript 94.58%
front-end react typescript firebase

tech-hub's Introduction

Tech Hub

💪 기획 배경

  • 처음엔 단순히 프론트엔드 개발자들이 모여 급격하게 바뀌는 프론트엔드 기술 트렌드를 공유하는 블로그가 있었으면 좋겠다 생각했습니다.

💪 해결 컨셉

  • 프론트엔드 개발자들의 교류와 협업을 촉진하는 공간을 마련하기 위해, 오직 프론트엔드 개발자들만이 모이는 블로그 템플릿을 설계하였습니다. 이 블로그는 사용자들이 자신의 경험, 아이디어, 그리고 최신 기술 트렌드를 공유할 수 있는 플랫폼을 제공함으로써, 프론트엔드 개발 커뮤니티 내에서 지식의 확산과 협업의 촉진을 목표로 정했습니다.

🤖 기술스택

Frontend

  • React
  • TypeScript
  • styled-components
  • react-router
  • react-query
  • Redux
  • axios
  • vite

Backend

  • Firebase

🥊 트러블 슈팅

게시글 작성시 이미지를 2개 넣으면 썸네일이 제대로 안나오는 문제

문제점

  • 사용자가 게시글에 이미지를 두 개 이상 첨부했을 때 썸네일이 제대로 표시되지 않는 문제에 직면했습니다.

해결방법

  • 이 문제를 해결하기 위해 JavaScript 내에서 정규 표현식을 활용하는 방법을 고안했습니다. 구체적으로, 게시글 내용에서 이미지 URL을 정확히 추출하기 위한 정규 표현식을 작성하고 적용함으로써, 첫 번째 이미지 URL을 성공적으로 썸네일로 설정할 수 있는 로직을 구현하였습니다.

tech-hub's People

Contributors

osw6858 avatar

Watchers

 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.