3. Adding Application Code
Now that you instantiated all your components and links between components, you can start writing the application code. If you have your usual scaffolding to bootstrap a new backend application, you can apply them into the corresponding directory - backend-service
.
Or you can use example apps we prepared for the purpose of this "Getting Started" guide. These include:
- Backend API written in Golang:
github.com/torquetech/docs-examples/releases/download/docs/backend-service-go-v3.tar.gz - Backend API written in Python:
github.com/torquetech/docs-examples/releases/download/docs/backend-service-python-v3.tar.gz
To download and unpack any of these apps inside your workspace, run:
Backend API written in Golang:
mkdir backend-service && \
curl -L https://github.com/torquetech/docs-examples/releases/download/docs/backend-service-go-v3.tar.gz \
| tar xzvf - -C backend-service
Backend API written in Python:
mkdir backend-service && \
curl -L https://github.com/torquetech/docs-examples/releases/download/docs/backend-service-python-v3.tar.gz \
| tar xzvf - -C backend-service
Do note that you can use any technology of your choice.