To start using Syncano with your project follow the steps:
The syncano-cli
is the main tool for setting up and managing your projects on the Syncano Platform. To install it, run:
$ npm install @syncano/cli --save-dev
Once the Syncano CLI is installed you need to sign up for an account. Run the following command in the root directory of your project:
$ npx s init
s
is an alias tosyncano-cli
- you can simply typesyncano-cli
e.g.npx syncano-cli init
You'll be asked for an email
and password
so that we can create an account for you.
You'll also be prompted for a project template. Choose the recommended Hello World
template and press enter.
Now it's time to deploy your app to the cloud. To do this, run the following command:
npx s deploy
You've just deployed you first Syncano backend. Now you can verify what kind of endpoints you can reach on the backend side:
npx s list
Try to call endpoints using browser or any HTTP Client.
That's it
! If you have any questions, join our Spectrum community space. Happy coding!