Guides
...
Frameworks - Tools
Express JS

Using TypeScript

6min

You can use the framework to create web applications of your choice, for example Express.

This section is being reviewed and expanded.

Express.js provides simplicity and complete control over how you configure your server. It's ideal for creating lightweight APIs.

Initial Setup

Create a new Node.js project and install Express:

bash


Install the SDK

npm
yarn


Create a file named server.js in the root directory.

Creating the Endpoint

Add the following code to server.js

sherry.controller.ts

  • Start the server
Bash


Access the endpoint locally:

  • http://localhost:3000/metadata

Deploy to Production

You can deploy your Express app on platforms like:

  • Railway: Easy-to-use deployment platform.
  • Render: Offers a balance of simplicity and advanced features.

Check the Code

Review the source code in our repository.

Updated 30 Jan 2025
Doc contributor
Did this page help you?