wyzetalk-cms-users-fe v0.1.12
To run the project run the following commands:
yarn
&&
yarn start
The project uses a small package called Easy Peasy for state management. This exact scenario does not need state management but I used it for demonstration purposes. https://easy-peasy.now.sh/
To connect to the BE, you need to change the BASE_URL in src/api/constants to point to the appropriate IP address.
The project makes use of a scaffolding tool called Plop, which works off of the internals folder. https://github.com/plopjs/plop
Scaffolding can be used by running the following command:
yarn generate
To deploy, follow the following steps:
1 - Login to npm registry
npm login
enter your credentials
2 - bump up the version in package.json
3 - build the project by running:
yarn build
4 - publish to npm by running:
npm publish