1.0.5 โ€ข Published 2 years ago

vanilla-tuto v1.0.5

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

Version License Package Monthly Downloads Docs

Tuto is the short of Tutorial and the best/easier way to start creating a SPA using the best frameworks out there!

๐Ÿ‘จ๐Ÿปโ€๐Ÿซ Basic topics

๐Ÿ’Ž Features

  • Basic login/logout state definition using Vuex Store v3.x.
  • Basic Store configured using Vuex and Persist Plugin (stores/index.js).
  • Basic "Home" and "Login" pages defined (src/pages/).
  • 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.
  • API Unit test included.
  • Path alias defined (webpack.config.js).
  • GitHub actions workflow example defined.

๐Ÿ› Project Structure

tuto
โ”œโ”€ .babelrc
โ”œโ”€ LICENSE
โ”œโ”€ README.md
โ”œโ”€ babel.config.json
โ”œโ”€ jest.config.js // ๐Ÿƒ Unit tests configuration
โ”œโ”€ jsconfig.json
โ”œโ”€ package-lock.json
โ”œโ”€ package.json
โ”œโ”€ router.js // ๐Ÿงญ Handle page routes
โ”œโ”€ src
โ”‚  โ”œโ”€ App.vue
โ”‚  โ”œโ”€ assets
โ”‚  โ”‚  โ”œโ”€ css
โ”‚  โ”‚  โ”‚  โ””โ”€ index.css // ๐ŸŽจ Main stylesheet file
โ”‚  โ”‚  โ”œโ”€ favicon.ico
โ”‚  โ”‚  โ”œโ”€ logo.png
โ”‚  โ”‚  โ”œโ”€ screenshots
โ”‚  โ”‚  โ”‚  โ””โ”€ login.png
โ”‚  โ”‚  โ””โ”€ scripts
โ”‚  โ”‚     โ””โ”€ api.js // ๐Ÿ“ก Handle api calls
โ”‚  โ”œโ”€ components
โ”‚  โ”‚  โ”œโ”€ MainSection.vue
โ”‚  โ”‚  โ””โ”€ UserSessionLink.vue
โ”‚  โ”œโ”€ index.html
โ”‚  โ”œโ”€ 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
โ”‚  โ””โ”€ unit
โ”‚     โ””โ”€ spotify.spec.js
โ”œโ”€ vue.config.js // ๐Ÿฆ Vue framework setup
โ””โ”€ webpack.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.0.5

2 years ago

1.0.4

2 years ago

1.0.3

2 years ago

1.0.2

2 years ago

1.0.1

2 years ago

1.0.0

2 years ago