All Projects → nekochans → nuxt-boilerplate

nekochans / nuxt-boilerplate

Licence: MIT License
Nuxt.js Boilerplate

Programming Languages

typescript
32286 projects
Vue
7211 projects
javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to nuxt-boilerplate

Vuesion
Vuesion is a boilerplate that helps product teams build faster than ever with fewer headaches and modern best practices across engineering & design.
Stars: ✭ 2,510 (+9940%)
Mutual labels:  jest, storybook, nuxtjs
react-tools-for-better-angular-apps
Use React ecosystem for unified and top notch DX for angular developement
Stars: ✭ 30 (+20%)
Mutual labels:  jest, storybook
angularjs-jest
Testing AngularJS applications with Jest
Stars: ✭ 24 (-4%)
Mutual labels:  jest, jest-snapshots
nextjs-starter-kit
NextJS Starter Kit with Testing Frameworks and CI/CD
Stars: ✭ 30 (+20%)
Mutual labels:  jest, storybook
Jest Image Snapshot
✨ Jest matcher for image comparisons. Most commonly used for visual regression testing.
Stars: ✭ 2,940 (+11660%)
Mutual labels:  jest, jest-snapshots
typescript-nuxtjs-boilerplate
🍱 Nuxt.js with TypeScript and Run with docker and docker-compose 🐶🦄🔥 visit: https://typescript-nuxtjs-boilerplate.netlify.com/example
Stars: ✭ 51 (+104%)
Mutual labels:  jest, nuxtjs
jest-extended-snapshot
Additional Jest matchers for snapshot testing.
Stars: ✭ 18 (-28%)
Mutual labels:  jest, jest-snapshots
Storybook Addon Jest
REPO/PACKAGE MOVED - React storybook addon that show component jest report
Stars: ✭ 177 (+608%)
Mutual labels:  jest, storybook
Ocelot-Social
Free and open-source social network for active citizenship.
Stars: ✭ 49 (+96%)
Mutual labels:  storybook, nuxtjs
medly-components
🧩 Medly components provides numerous themable react components, each with multiple varitaions of sizes, colors, position etc.
Stars: ✭ 66 (+164%)
Mutual labels:  jest, storybook
react-component-library-lerna
Build your own React component library managed with lerna, presented with storybook and published in private npm registry.
Stars: ✭ 55 (+120%)
Mutual labels:  jest, storybook
Arc
React starter kit based on Atomic Design
Stars: ✭ 2,780 (+11020%)
Mutual labels:  jest, storybook
vuetibook
Integrating Vue.js, Vuetify and Storybook
Stars: ✭ 16 (-36%)
Mutual labels:  jest, storybook
nodejs-vuejs-mysql-boilerplate
Node.js (REST API) + Vue.js/Nuxt.js (Frontend/Backend) + MySQL Boilerplate
Stars: ✭ 134 (+436%)
Mutual labels:  jest, nuxtjs
Lerna Yarn Workspaces Monorepo
🐉 A Monorepo with multiple packages and a shared build, test, and release process.
Stars: ✭ 201 (+704%)
Mutual labels:  jest, storybook
jest-playground
Playing around with Jest - Subscribe to my YouTube channel: https://bit.ly/CognitiveSurge
Stars: ✭ 24 (-4%)
Mutual labels:  jest, jest-snapshots
Mhy
🧩 A zero-config, out-of-the-box, multi-purpose toolbox and development environment
Stars: ✭ 128 (+412%)
Mutual labels:  jest, storybook
2019 12
🎟 급증하는 트래픽에도 안정적인 예약 서비스, Atomic Pattern을 적용한 재사용 가능한 컴포넌트, 실용적인 Testing을 주제로 하는 이벤트 서비스
Stars: ✭ 169 (+576%)
Mutual labels:  jest, storybook
snappify
A generator of Jest snapshot-based tests for React components written with TypeScript 📸
Stars: ✭ 64 (+156%)
Mutual labels:  jest, jest-snapshots
testing-reactjs-examples
🧪 "What should we test in our React components" - presentation examples.
Stars: ✭ 23 (-8%)
Mutual labels:  jest, jest-snapshots

nuxt-boilerplate

CircleCI

Nuxt.js Boilerplate用プロジェクトです。

Getting Started

以下の通りに実行して下さい。

developmentモードでアプリケーションが起動します。

ホットリロードが有効な状態です。

$ yarn install

$ yarn run dev

productionモードで実行する際は以下を実行して下さい。

$ yarn run build
$ yarn start

development、productionどちらのモードでもURLは下記になります。

http://127.0.0.1:3000

環境変数の登録

最低限以下の環境変数を登録して下さい。

direnv を利用すると良いでしょう。

export APP_URL=http://127.0.0.1:3000

デモ用の機能としてQiitaアカウントでログインを行い、Qiitaのプロフィール情報を取得する機能が実装されています。

これらを動作させる為には以下の手順でQiitaにアプリケーションを登録する必要があります。

1. 「設定」に遷移します

qiitaCreateApp1

2. 「アプリケーション」から「アプリケーションを登録する」に遷移します

qiitaCreateApp2

3. アプリケーションの情報を入力します

以下の2つは任意で構いません。

  • アプリケーションの名前
  • アプリケーションの説明

以下の2項目は必ず以下の値を入れて下さい。

qiitaCreateApp3

4. 「Client ID」と「Client Secret」をメモする

qiitaCreateApp4

それぞれの環境変数を以下のように登録して下さい。

export QIITA_CLIENT_ID=あなたのClient ID
export QIITA_CLIENT_SECRET=あなたのClient Secret

テストの実行

ユニットテスト

以下のコマンドでテストが実行されます。

yarn run test

コードカバレッジを出力する場合は以下のコマンドを実行して下さい。

yarn run test:coverage

カバレッジレポートは coverage に出力されます。

E2Eテスト

以下のコマンドを実行します。

テスト用のブラウザとしてGoogle Chromeが利用されますのでインストールされていない場合は動作しません。

yarn run test:e2e

またテストシナリオの中にはQiitaのアカウントでログインを行うシナリオがあります。

その為、以下の環境変数を設定しておく必要があります。

export TEST_QIITA_LOGIN_ID=あなたのQiitaアカウントのユーザーIDかメールアドレス
export TEST_QIITA_LOGIN_PASSWORD=あなたのQiitaアカウントのパスワード
export TEST_QIITA_PROFILE_IMAGE_URL=あなたのQiitaアカウントのプロフィール画像URL

Qiitaで二段階認証を設定している場合、テストに失敗するので事前に解除しておく必要があります。

Storybookの起動

yarn run storybook を実行します。

以下のURLでアクセスが可能です。

http://localhost:6006/

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].