# Vueアプリケーションの作成 [](https://codesandbox.io/s/github/kou029w/hasura-rest-hands-on/tree/main/frontend?file=/src/App.vue) [](https://stackblitz.com/github/kou029w/hasura-rest-hands-on/tree/main/frontend?terminal=dev&file=src/App.vue) いずれかのリンクにアクセスし、Vueアプリケーションを作成します。 ```vue <!-- src/App.vue --> {{#include ../frontend/src/App.vue}} ``` ローカル環境で作成する場合は、CodeSandboxにアクセスし、左の[Files]パネルから[↓ (Export to Zip)]ボタンを押すと、ソースコード一式をダウンロードできます。ダウンロードしたZIPファイルを展開後、`npm install` コマンドなどで必要なパッケージを導入することで同様にVueアプリケーションを作成できます。 ソースコードの中には、HasuraのREST APIのエンドポイントURLが含まれます。そのURLに含まれるドメイン名の部分の `memo-demo` は、Hasura Cloudプロジェクト名です。プロジェクトによって異なるので、自分の作成したプロジェクトに合わせて書き換えましょう。 ```js // src/App.vue {{#include ../frontend/src/App.vue:8:9}} ``` このエンドポイントURLを自分の作成したプロジェクトのものに書き換えると完成です。 Hasuraを使用してPostgresデータベースに接続したREST APIを構築し、それを利用したWebアプリを作成できました 🎉 Hasuraのコンソールにアクセスすると、実際にデータが更新されていることを確認できます。 