Coder Social home page Coder Social logo

javi-cc / vue3-api-client Goto Github PK

View Code? Open in Web Editor NEW
4.0 2.0 1.0 8.09 MB

Application made with Vue 3 using Quasar Framework that contains responsive web interface, PWA and exported in APK using Apache Cordova and Capacitor. The application is connected to an API made in Laravel. https://laravel-api-server.up.railway.app

Home Page: https://vue-api-client.vercel.app

JavaScript 54.26% Dockerfile 0.70% Vue 42.62% SCSS 0.68% HTML 0.64% Java 1.09%
vue3 quasar-framework vue3-composition-api spa pwa apk api-client vuex axios vuelidate

vue3-api-client's Introduction

Application made with Vue 3 using Quasar Framework that contains responsive web interface, PWA and exported in APK using Apache Cordova and capacitor. The application is connected to an API made in Laravel.https://laravel-api-server.up.railway.app

Application made with Vue 3 consists of the creation of a CRUD and authentication system that come from a games API and the development of styles using Quasar Framework. The application made with Vue 3 contains the following functionalities:

  • I use the Vue3 version with the composition API.
  • Style development with Quasar Framework.
  • VUEX.
  • AXIOS.
  • Keep-alive.
  • Vue-router.
  • PWA (Progressive Web Apps).
  • SPA (Single Page Application).
  • Application exported in APK using Apache Cordova.
  • Application exported in APK using Capacitor.
  • Electron.
  • The project contains the files to implement it in Docker.
  • Vue-validate.
  • Helpers.
  • Watchers.
  • Props.
  • Slots.
  • Emits.
  • Websockets with Pusher.
  • End to end tests with CYPRESS.
  • Unit tests with JEST.
  • The application is connected to a games API made in Laravel: https://github.com/JAVI-CC/Laravel-API-Server

Demo

https://vue-api-client.vercel.app
User: [email protected]
Password: 12345678

Start the app in the development mode

$ yarn && quasar dev -m pwa

Start the app in the production mode

$ yarn && quasar build -m pwa

Export the app in APK apache cordova in the development mode

$ yarn && quasar dev -m cordova -T android

Export the app in APK apache cordova in the production mode

$ yarn && quasar build -m cordova -T android

Export the app in APK capactior in the production mode

$ yarn && quasar build -m capacitor -T android -d

Start the app in the electron mode

$ yarn && quasar dev -m electron

Export the app in EXE electron in the production mode

$ yarn && quasar build -m electron

Start the websockets with Pusher in the development mode (Optional)

1. In your Pusher account create a channel called: juegos-api
2. Enter the file: development.env
3. fill in the following credentials:

PUSHER_APP_KEY={App Keys in the channel juegos-api key}
PUSHER_APP_CLUSTER={App Keys in the channel juegos-api cluster}

Start the websockets with Pusher in the production mode (Optional)

1. In your Pusher account create a channel called: juegos-api
2. Enter the file: production.env
3. fill in the following credentials:

PUSHER_APP_KEY={App Keys in the channel juegos-api key}
PUSHER_APP_CLUSTER={App Keys in the channel juegos-api cluster}

Start Jest unit tests

$ yarn && [ yarn test:unit || quasar test --unit jest ]

Start Cypress end to end tests

$ yarn && yarn cypress:open

Show get all registries API SERVER:

Login form:

Create or update registrer sending it to the API SERVER:

Application web responsive:

Deploy to Docker ๐Ÿณ

Setup:

$ git clone https://github.com/JAVI-CC/VUE3-API-client.git
$ cd VUE3-API-client
$ cd VUE3-API-client
$ cp development.env.example development.env
$ cp production.env.example production.env
$ docker-compose up -d

Running mode dev:

$ docker compose up

Running mode build:

$ docker compose up -d
$ docker compose exec app quasar build -m pwa

Running mode prod:

It is about creating a new container that contains the application once the build is done on the nginx web server listening on port :85->80/tcp
โ”œโ”€โ”€ vue-quasar-crud-template-app-prod
$ docker compose -f docker-compose.prod.yml up -d

In case you are using your IDE to develop the application and it does not detect the files it contains within the node_modules folder, you have to copy the files from the node_modules folder of the container to the host machine with the following command.

$ docker compose cp app:/src/node_modules .

Once you have the containers deployed, you can access the APP at http://localhost:9000

vue3-api-client's People

Contributors

javi-cc avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

bright-spark

vue3-api-client's Issues

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.