Local launch / DONE
First you need to access the source code bx4/../exchanger-client-web
Clone the project locally from your repository to your desktop PC
By default the project will have a box branch you need to create your own branch to work in. The box branch will receive updates and you should accept them in your branch.
You must have NodeJS installed on your work PC to work with the project
After the project is downloaded and NodeJS is installed go to the project folder and execute the following commands (to install the necessary packages and create the basic configuration):
After configuring the project, our project has a client configuration file
config/app.json
in which we need to point the client to the serverconfig/app.jsonа) To do this, set the URL to http://domain/service instead of http://localhost:3010. For example, you will have the following: https://www.domain.com/service. (enter ‘www’ if you have a domain in the format www.domain.com or without ‘www’ if in the format domain.com or subdomain if in the format subdomain.domain.com).
"__proxy_to_rest_api": "https://www.domain.com/service"
б) The developer's IP must be whitelisted in CloudFlare. The IP must be static. Insturctions: IP whitelisted by CloudFlareThen save the file and you can run the project in development mode using the command
Now you can modify the code and immediately see the changes at the path http://localhost:8080
Last updated