Prerequisite
- Nodejs 10
Usage
Start
-
Install dependency.
npm install
-
Set up configurations.
cp src/config/config.sample.json src/config/config.json
-
Compile typescript to javascript.
npm run build
-
Start server.
npm run start
OK! Now you can visit http://localhost:5566 to watch.
How to develop
- Compile typescript in watch mode:
npm run dev
- Modify the code under src
- Every time you modify the code, the server will auto hot-reload :)
Test
To be completed