-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Make Handler API more concise for ticket reservation app
- Loading branch information
Showing
4 changed files
with
124 additions
and
149 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -81,26 +81,11 @@ Here is an incomplete list of simplifications to the application that are possib | |
- Latest stable version of [NodeJS](https://nodejs.org/en/) >= v18.17.1 and [npm CLI](https://docs.npmjs.com/downloading-and-installing-node-js-and-npm) >= 9.6.7 installed. | ||
- [Docker Engine](https://docs.docker.com/engine/install/) to launch the Restate runtime (not needed for the app implementation itself). | ||
### Setup | ||
Clone this GitHub repository and navigate to the `ticket-reservation` folder: | ||
```shell | ||
git clone [email protected]:restatedev/examples.git | ||
cd ticket-reservation | ||
``` | ||
Next, install the dependencies: | ||
### Run the example | ||
Install the dependencies, build the app and run it: | ||
```shell | ||
npm install | ||
``` | ||
### Run the service | ||
Once you are done with the implementation, build/run the example app with: | ||
```shell | ||
npm run build | ||
npm run app | ||
``` | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters