before running the server:
- rename .env-template file to .env
- fill it (.env) variable with your configuration. eg:
SERVER_PORT="3000"
MINIO_BUCKET="node-s3"
MINIO_ACCESS_KEY_ID="CLQ9PV3UJ3BXWGXA2EX4"
MINIO_SECRET_ACCESS_KEY="OS4AN6zry9xid2L68mN7NkBn/JmVlWcI5F9Ja1Zf"
MINIO_ENDPOINT="http://127.0.0.1:9000"
SIGNATURE_VERSION="v2"
- install dependencies:
$ npm i
or optional but recommended, use
$ yarn
running the server
$ npm start
or running the server with the hot reload module
$ npm run start:hot
with yarn
$ yarn start
$ yarn start:hot
© 2018 Ahmad Aidil