The Client module is a web project that encompasses all the components required to manage the web view of the Enticy Stuff application.
To set up the client module, follow these steps:
-
Install the necessary dependencies by running one of the following commands:
npm install # or npm install --force -
Copy the environment file and enter your sensitive data:
cp .env.example .env
To launch the client application, execute the following command:
npm startThis command will start the development server and make the web view accessible.
Use the following command to run the test suite for the client:
npm run testRunning tests is crucial for ensuring the reliability and correctness of your web application.
To prepare your application for production deployment, use the following script:
npm run buildThis script creates a production-ready build in the build folder, optimizing the application for the best performance. It includes minification of files, and filenames in the production build will also include unique hashes, improving cache management and security. Once this script has completed successfully, your application is ready for deployment in a production environment.