Get started using the microservice project template
Clone the project
First of all, clone the project to use it locally (you need Git)
git clone https://github.com/ScaleDynamics/microservice-template.git
How to use
backend folder and run those commands:
Live-reload for development
To enter a live-reload development session, use the command below. Feel free to update the frontend or the backend code, it will be rebuilt at each change.
npm run start
Deploy with ScaleDynamics
First you have to compile and minify your project for production.
npm run build
Then use your ScaleDynamics account credential to log in to the platform (create a FREE developer account here)
npx warp login
Finally, use the deploy command
npm run deploy
Note that when running this command, you have to select a project and an environment. On the ScaleDynamics platform a project identifies an application or a microservice.
Select an existing project or create a new one. An environment identifies the cloud execution environment to run your app. You can create as many as you want like ‘staging’, ‘demo’, ‘prod’... Each environment has its own url.
To deploy, select an existing environment or create a new one. For more details on projects or environments, see the documentation.