Skip to content

Commit

Permalink
feat: add @fastify/vue version of the frontend app (#53)
Browse files Browse the repository at this point in the history
  • Loading branch information
galvez authored Jul 22, 2024
1 parent fa84804 commit e2dde46
Show file tree
Hide file tree
Showing 31 changed files with 8,781 additions and 0 deletions.
1 change: 1 addition & 0 deletions apps/movie-quotes-frontend-vue/.env.example
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
VITE_GRAPHQL_API_ENDPOINT=http://127.0.0.1:3042/graphql
1 change: 1 addition & 0 deletions apps/movie-quotes-frontend-vue/.env.schema
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
VITE_GRAPHQL_API_ENDPOINT=string()
11 changes: 11 additions & 0 deletions apps/movie-quotes-frontend-vue/.eslintrc
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',
},
}
2 changes: 2 additions & 0 deletions apps/movie-quotes-frontend-vue/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
.DS_Store
src/dist
43 changes: 43 additions & 0 deletions apps/movie-quotes-frontend-vue/README.md
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
Loading

0 comments on commit e2dde46

Please sign in to comment.