GithubHelp home page GithubHelp logo

isystk / amplify-nuxt3-sample Goto Github PK

View Code? Open in Web Editor NEW
16.0 4.0 4.0 2.85 MB

Nuxt3 & Vuetify3 & Amplify を利用した学習用のサンプルアプリケーションです。

License: MIT License

TypeScript 29.81% Vue 52.11% SCSS 0.59% JavaScript 16.72% Shell 0.35% HTML 0.42%
nuxt3 typescript amplify graphql storybook vuetify3

amplify-nuxt3-sample's Introduction

🌙 amplify-nuxt3-sample

CircleCI GitHub issues GitHub forks GitHub stars GitHub license

📗 プロジェクトの概要

AWS Amplify の学習用サンプルアプリケーションです。

利用している技術

  • Nuxt.js 3
  • Typescript
  • Vuetify
  • TailwindCSS & Sass
  • Amplify (Cognito/AppSync/DynamoDB)
  • GraghQL
  • Storybook

🌐 Demo

https://dev.dl83z1vvxx26n.amplifyapp.com

TOP画面 マイページ一覧 投稿フォーム

🔧 AWS クライド上にamplifyの環境を構築する

$ rm -Rf amplify
$ amplify init
? Initialize the project with the above configuration? No
? Enter a name for the environment dev
? Choose your default editor: IntelliJ IDEA
? Choose the type of app that you're building javascript
Please tell us about your project
? What javascript framework are you using react
? Source Directory Path:  src
? Distribution Directory Path: .output/public
? Build Command:  npm run build
? Start Command: npm run start
Using default provider  awscloudformation
? Select the authentication method you want to use: (Use arrow keys)
❯ AWS profile 
  AWS access keys (node:42574) [DEP0128] DeprecationWarning: Invalid 'main' field in '/Users/iseyoshitaka/.nodebrew/node/v16.13.1/lib/node_modules/@aws-amplify/cli/node_modules/cloudform/package.json' of 'packages/cloudform/index.js
? Select the authentication method you want to use: AWS profile

# init で作成した環境を AWS から一括で削除したい場合
$ amplify delete

📦 ディレクトリ構造

.
├── LICENSE
├── README.md
├── amplify
│   ├── README.md
│   ├── backend
│   ├── cli.json
│   ├── hooks
│   └── team-provider-info.json
├── node_modules
├── nuxt.config.ts
├── package.json
├── src
│   ├── __tests__
│   ├── app.vue
│   ├── assets
│   ├── aws-exports.js
│   ├── components
│   ├── constants
│   ├── layouts
│   ├── locales
│   ├── middleware
│   ├── mixins
│   ├── pages
│   ├── plugins
│   ├── public
│   ├── services
│   ├── store
│   └── stories
├── tailwind.config.js
├── tsconfig.jest.json
├── tsconfig.json
└── yarn.lock

🖊️amplify の利用方法

# amplify コマンドをインストールする
$ npm install -g @aws-amplify/cli
$ amplify -v
8.3.1

# amplify を利用する為の設定
$ amplify configure
? user name:  amplify-lBpzV

# AWS から amplify の状態をローカルに取り込む
$ amplify pull --appId dl83z1vvxx26n --envName dev

# ローカル の状態を AWS の amplify へ反映する
$ amplify push

# 最新モジュールをホスティング環境にデプロイする
$ amplify publish

💬 使い方

# edit nuxt.config.ts
// global: {}, // ← yarn dev するときはコメントアウトを外して下さい
# module install
yarn
# app run
yarn dev

🎨 参考

プロジェクト 概要
Nuxt3 Docs Nuxt3 Docs
Vuetify 3 Beta Vuetify 3 Beta
AWS Amplify はじめてみる編 AWS Amplify はじめてみる編
Material Design Icons Material Design Icons
Tailwind CSS Tailwind CSS
vee-validate vee-validate
husky v6 のインストール方法と使い方。lint-staged も導入して、品質を保とう husky v6 のインストール方法と使い方。lint-staged も導入して、品質を保とう

🎫 Licence

MIT

👀 Author

isystk

amplify-nuxt3-sample's People

Contributors

isystk avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.