Giter VIP home page Giter VIP logo

mum-moom-mi's Introduction

mum-moom-mi (멈뭄미)

description (설명)

"멈뭄미" 는 nodejs 기반으로 만들어진 api server 입니다.

데모를 위해 간단한 html 이 작성되어 있어 웹으로 접속할 수 있습니다.

api spec

[post] /v1/cursed

body: {
  type = '멈뭄미', // 변환 타입입니다. api를 통해 타입 리스트를 받을 수 있습니다.
  text, // 변환할 텍스트입니다.
  user // 데모를 위한 paramter 입니다. true 일경우 <pre> 태그로 감싸진 html 이 반환, 아닐 시 json 이 반환됩니다.
}

response: {
  success, / /성공 여부입니다.
  text // 변환된 텍스트입니다.
}

[get] /v1/list

response: [
  {
    name: '멈뭄미', // 저주의 이름입니다. 변환 api 사용시 type 이란 이름으로 사용됩니다.
    char: 'ㅁ', // 바뀌는 자음입니다.
    src: 'http://mmm.zifori.me/images/mmm.jpg' // 제공되는 이미지 주소입니다.
  },
  { name: '엉엉이', char: 'ㅇ', src: 'http://mmm.zifori.me/images/ooo.png' },
  { name: '헣헣히', char: 'ㅎ', src: 'http://mmm.zifori.me/images/hhh.jpg' },
  { name: '섯섯시', char: 'ㅅ', src: 'http://mmm.zifori.me/images/sss.jpg' },
  { name: '법붑비', char: 'ㅂ', src: 'http://mmm.zifori.me/images/bbb.png' }
]

install (설치)

> npm install

run (실행)

아래와 같이 입력후 http://localhost:8000 으로 접속합니다.

> npm start

feedback (피드백)

git issue를 통해 남겨주세요

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.