Development server

Run ng serve for a dev server. Navigate to http://localhost:4200/.

Json Server

安装: npm i --g json-server

运行: npm run json

访问API: http://localhost:3000/api/todos