This is a sample (take home) project.
npm run dev
npm run build
npm run preview
An express server instance is used for deployment. The app can later be easily wrapped in a Docker container.
# build the application
npm run build
# run the application
npm start
Backend calls are mocked. The chance of a "successful" mock response is purposefully set to 80% to demonstrate functionality.