AWS AWS 디딤 클라우드
알림톡 통합메시징(알림톡)
이니톡 결제 이니톡(알림톡) 결제!
일본결제지원 일본결제지원!
서버쪽을 node를 통해서 만들어 보고 있습니다.
postman에서 토큰을 통해서 두명의 유저가 각각의 글을 쓰는 것까지가 데모입니다.
마이크산 기념으로 목소리도 넣어 봤습니다. ㅠㅠ
https://youtu.be/4mGHI1yc1b4
광고가 아닌 글을 신고하면 회원님의 신고 권한이 제한될 수 있습니다. 신중하게 신고해 주세요.
전체 104개 중 61-90번째
댓글 7개
http://api.mydomain.com:4000 이런 식일까요? 포트번호 없이 https://api.mydomain.com/user/username 이런 식일까요... 네트워크 보안통신을 위해서는 ssl을 적용해야할 것 같은데... ㅜㅜ; 어흑...
도메인 셋업은 어떤식으로 해도 됩니다. 즉 둘다 가능합니다.
https://api.lovingword.net 으로... ㅎㅎ (아직 라우팅 기능 등 하나도 없지만... ^^;)
========================
const express = require('express');
const fs = require('fs');
const path = require('path');
const https = require('https');
const PORT = process.env.PORT || 443;
const app = express();
const options = {
key: fs.readFileSync('/etc/letsencrypt/live/api.lovingword.net/privkey.pem'),
cert: fs.readFileSync('/etc/letsencrypt/live/api.lovingword.net/cert.pem'),
ca: fs.readFileSync('/etc/letsencrypt/live/api.lovingword.net/fullchain.pem')
};
https.createServer(options, app).listen(PORT);
https://minder97.tistory.com/entry/Linux-background-%EB%A1%9C-process-run