-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: add @fastify/vue version of the frontend app (#53)
- Loading branch information
Showing
31 changed files
with
8,781 additions
and
0 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 |
---|---|---|
@@ -0,0 +1 @@ | ||
VITE_GRAPHQL_API_ENDPOINT=http://127.0.0.1:3042/graphql |
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 |
---|---|---|
@@ -0,0 +1 @@ | ||
VITE_GRAPHQL_API_ENDPOINT=string() |
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 |
---|---|---|
@@ -0,0 +1,11 @@ | ||
{ | ||
extends: [ | ||
'plugin:vue/recommended', | ||
'standard', | ||
], | ||
rules: { | ||
'comma-dangle': ['error', 'always-multiline'], | ||
'import/no-absolute-path': 'off', | ||
'vue/multi-word-component-names': 'off', | ||
}, | ||
} |
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 |
---|---|---|
@@ -0,0 +1,2 @@ | ||
.DS_Store | ||
src/dist |
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 |
---|---|---|
@@ -0,0 +1,43 @@ | ||
# 🎬 Movie Quotes application | ||
|
||
This is the application code for the | ||
[Movie Quotes App Tutorial](https://docs.platformatic.dev/docs/getting-started/movie-quotes-app-tutorial/). | ||
|
||
## Requirements | ||
|
||
Platformatic supports macOS, Linux and Windows ([WSL](https://docs.microsoft.com/windows/wsl/) recommended). | ||
|
||
You'll need to have these things installed: | ||
|
||
- [Node.js](https://nodejs.org/) >= v16.17.0 or >= v18.8.0 | ||
- [npm](https://docs.npmjs.com/cli/) v7 or later | ||
|
||
## Setup | ||
|
||
Clone this repository with Git (`git clone`), then run these commands in the | ||
project directory: | ||
|
||
```bash | ||
npm install | ||
|
||
npm run setup | ||
``` | ||
|
||
## Usage | ||
|
||
Run the API and frontend applications in parallel with: | ||
|
||
```bash | ||
npm run dev | ||
``` | ||
|
||
### Explore | ||
|
||
- 🧑💻 Head over to http://localhost:3000/ and start saving your favourite movie quotes! | ||
- ⚡ The Platformatic DB server is running at http://localhost:3042/ | ||
- 📔 View the REST API's Swagger documentation at http://localhost:3042/documentation/ | ||
- 🔍 Try out the GraphiQL web UI at http://localhost:3042/graphiql | ||
|
||
## License | ||
|
||
Apache 2.0 |
Oops, something went wrong.