안가구 메인 서버
node 15.5.0
npm 7.3.0
ubuntu 18.04
- 프로젝트 설정
git clone https://github.com/ANGAGU/ANGAGU_Back.git
cd ANGAGU_BACK
npm i
cp config.sample.json config.json- config.json 설정
{
"dbConfig":{
"host":,
"user":,
"password":,
"database":,
"timezone": ,
"waitForConnections":,
"connectionLimit":
},
"awsConfig":{
"keyId":"aws key id",
"secretAccessKey":"aws secret access key",
"region":"aws region"
},
"jwtSecret": "insert jwt secret key",
"accessKey": "ncloud accessKey",
"secretKey": "ncloud secretKey",
"serviceId": "ncloud sms service id",
"myPhone": "sms calling number"
}- local에서 실행
npm run dev- test 실행
npm test