Skip to content

ashishtam/jsApp

Repository files navigation

js-app

CircleCI

A JavaScript framwork to get Posts with unit testing with Jest and CI/CD with CircleCI

Build Setup

# install dependencies
npm install

# serve with hot reload at localhost:8080
npm run dev

# run unit tests
npm run unit

# run all tests
npm test

Framework and Libraries

Folder Structure

js-app/
├── src/
|    └── api  # Vuex state management files
|          ├── actions.js 
|          ├── mutation-types.js 
|          ├── mutations.js 
|          └── store.js 
|    ├── assets/
|    └── components/  # Front end components
|          ├── Alert.vue
|          └── Posts.vue   # Posts template
|    ├── App.vue   # App template
|    └── main.js   # main starter file
├── static
├── test  # test configuration files
|    └── unit/
|            └── specs/
|                     └── store.spec.js   # Unit testing about store
|
└── package.json