This is the frontend program of our QuotationManangement Web API, which is built for our commercial use.
In src/config/
, create two files: DebugConfig.ts
and ProdConfig.ts
, both of them should export a const variable named config
of type Config
.
See this page for an example.
Start webpack-dev-server with
npm start
Then access http://localhost:9000/
Issue a production build with
npm run build
The output files will be placed under ./build
. Configure the backend code to serve that folder as a static site.