1.1.2 โ€ข Published 2 months ago

vue-bolt v1.1.2

Weekly downloads
-
License
MIT
Repository
github
Last release
2 months ago

Build status Version License Package Monthly Downloads Docs

Create a cutting-edge website using the latest technologies available. Vue Bolt, an all-inclusive solution, will provide you with essential features such as framework integration, state management, routing, API communication, unit testing, and much more.

๐Ÿ‘จ๐Ÿปโ€๐Ÿซ Learn More

๐ŸŒˆ Features

  • Basic login/logout state definition using Pinia.
  • Basic Store configured using Pinia and Persist Plugin (stores/index.js).
  • Basic "Home" and "Login" pages defined (src/pages/).
  • Basic "Title" and "Button" components defined using slots and custom properties.
  • Basic router configuration defined (/router.js).
  • Basic GET request using Axios (Spotify Tracker API). This request needs an Authorization Bearer Token . For security purposes you can just set this token on environment files.
  • Environment file example.
  • Jest configuration defined.
  • Unit test suite per each defined page, API test included.
  • Path alias defined (vite.config.js).
  • GitHub actions workflow example defined.

๐Ÿ› Folder Structure

vue-bolt
โ”œโ”€ .gitignore
โ”œโ”€ LICENSE
โ”œโ”€ README.md
โ”œโ”€ babel.config.json
โ”œโ”€ index.html
โ”œโ”€ jest.config.js // ๐Ÿƒ Unit tests configuration
โ”œโ”€ jsconfig.json
โ”œโ”€ package-lock.json
โ”œโ”€ package.json
โ”œโ”€ public
โ”‚  โ””โ”€ favicon.ico
โ”œโ”€ router.js // ๐Ÿงญ Handle page routes
โ”œโ”€ src
โ”‚  โ”œโ”€ App.vue
โ”‚  โ”œโ”€ assets
โ”‚  โ”‚  โ”œโ”€ css
โ”‚  โ”‚  โ”‚  โ””โ”€ index.css // ๐ŸŽจ Main stylesheet file
โ”‚  โ”‚  โ”œโ”€ logo.png
โ”‚  โ”‚  โ”œโ”€ screenshots
โ”‚  โ”‚  โ”‚  โ””โ”€ login.png
โ”‚  โ”‚  โ””โ”€ scripts
โ”‚  โ”‚     โ”œโ”€ api.js // ๐Ÿ“ก Handle api calls
โ”‚  โ”‚     โ””โ”€ session.js // ๐Ÿ‘ฆ๐Ÿป Handle user session
โ”‚  โ”œโ”€ components
โ”‚  โ”‚  โ”œโ”€ Button.vue
โ”‚  โ”‚  โ”œโ”€ MainSection.vue
โ”‚  โ”‚  โ”œโ”€ Title.vue
โ”‚  โ”‚  โ””โ”€ UserSessionLink.vue
โ”‚  โ”œโ”€ main.js // ๐Ÿชด Application's entry point
โ”‚  โ””โ”€ pages
โ”‚     โ”œโ”€ Home.vue
โ”‚     โ”œโ”€ Login.vue
โ”‚     โ””โ”€ SpotifyTracker.vue
โ”œโ”€ stores
โ”‚  โ””โ”€ index.js // ๐Ÿ’พ Save general state of the app
โ”œโ”€ tests // ๐Ÿƒ Unit tests
โ”‚  โ”œโ”€ routerMock.js
โ”‚  โ””โ”€ unit
โ”‚     โ”œโ”€ spotify.spec.js
โ”‚     โ””โ”€ user-session.spec.js
โ””โ”€ vite.config.js // ๐Ÿ“ฆ Bundler setup, alias and more

๐Ÿš€ Install

Install it locally in your project

npm install

npm run dev

๐Ÿงช Unit tests

npm run test
1.1.2

2 months ago

1.1.1

4 months ago

1.1.0

6 months ago

1.0.17

7 months ago

1.0.16

7 months ago

1.0.15

11 months ago

1.0.14

12 months ago

1.0.13

1 year ago

1.0.12

1 year ago