Coder Social home page Coder Social logo

velog-clone_be's Introduction

πŸ”¨μ‚¬μš©ν•œ 기술 μŠ€νƒ

πŸ–₯ Back-End κΈ°μˆ μŠ€νƒ

이름 μ„€λͺ…
Node.js Javascript Runtime
Express Web Framework
MySQL Database
Sequelize ORM



πŸ“’ 라이브러리

name Appliance version
aws-sdk S3 bucket μ ‘κ·Ό 2.1073.0
bcrypt encrypt 5.0.1
cors Request resource μ œν•œ 2.8.5
dotenv ν™˜κ²½λ³€μˆ˜ μ„€μ • 16.0.0
express nodejs Framework 4.17.3
jsonwebtoken μœ μ € 인증 8.5.1
multer 이미지 데이터 처리 1.4.4
multer-S3 사진 파일 μ—…λ‘œλ“œ 2.10.0
mysql2 Database 2.3.3
nodemon server monitor restarter 2.0.15
s3 AWS bucket 2.0.0
sequelize ORM 6.16.1
sequelize-cli ORM config helper 6.4.1



β›³ Deploy

Deploy
EC2
AWS S3



ERD

API

λΆ„λ₯˜ κΈ°λŠ₯ Method API - URL request(client=>server) response(server=>client)
νšŒμ›κ΄€λ¦¬ νšŒμ›κ°€μž… post /join { email:string, password: string, nickname: string } {{msg : β€˜νšŒμ›κ°€μž… μ™„λ£Œ!’})
쀑볡체크 post /join/checkid { user_id: string, }
둜그인 post /login { email:[email protected] password: string } μ„±κ³΅μ‹œ:{{msg : β€œλ‘œκ·ΈμΈμ„±κ³΅β€β€}}, {{token : string}} μ‹€νŒ¨μ‹œ: {{msg: β€œλ‘œκ·ΈμΈ μ‹€νŒ¨ν–ˆμŠ΅λ‹ˆλ‹€β€}}
λ©”μΈνŽ˜μ΄μ§€ κ²Œμ‹œκΈ€ 뢈러였기 get /post {{post: img,title,content,createdAt,comments,nickname}}
μœ μ €νŽ˜μ΄μ§€ -(λ‚΄ 벨둜그) μœ μ €νŽ˜μ΄μ§€ 벨둜그 get /post/me headers{token}, {posts}
κ²Œμ‹œκΈ€ μΆœκ°„ν•˜κΈ° μΆœκ°„ν•˜κΈ°(κΈ€μž‘μ„±) post /post headers:{token} body (formData){ title: string content: string img_url(string) } { msg : β€˜μž‘μ„±μ™„λ£Œ!’ }
μƒμ„ΈνŽ˜μ΄μ§€ κ²Œμ‹œκΈ€ μƒμ„ΈνŽ˜μ΄μ§€ get /post/:post_id {posts : title,nickname,createdAt,img,content,, comments}
μˆ˜μ • patch /post/:post_id headers:{token} body: {postId: string, title: string content: string } { msg : β€˜μˆ˜μ •μ™„λ£Œ!’ postid에 λ§žλŠ” μˆ˜μ •λœλ°μ΄ν„° 객체 }
μ‚­μ œ delete /post/:post_id header:{token},body: { id :user_id: number } { msg : β€˜μ‚­μ œμ™„λ£Œ!’ }
λŒ“κΈ€ λŒ“κΈ€μž‘μ„± post /post/:post_id/comment header:{token},body: { content:string } { msg: β€˜μž‘μ„±μ™„λ£Œ!’ }
λŒ“κΈ€μˆ˜μ • put /post/:post_id/comment/:comment_id header:{token},body: { content:string} { msg:β€™μˆ˜μ •μ™„λ£Œ!’, comment }
λŒ“κΈ€μ‚­μ œ delete /post/:post_id/comment/:comment_id header: {token}, body: {id: user_id : number(INT) } { msg : β€˜μ‚­μ œμ™„λ£Œ!’ }
λŒ“κΈ€μ‘°νšŒ get /post/:post_id/comment { comments, }

velog-clone_be's People

Contributors

daonez avatar dzooooo 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.