Skip to content

Khalil215/vueShop

Repository files navigation

vue-shop

Frontend Third Semester Examination Project


Question Three(3)

Create a new vue js application using the cli then simulate a fake authentication experience using vuex and vue router. Make sure that you make provisions for wildcard routes a.k.a 404 pages. Also, your fake authentication experience should consist of the login route - ‘/login’, the sign up route - ‘/signup’ and the products route - ‘/products’. Users shouldn’t be able to access the products route until they’re logged in and they shouldn’t be able to access the login route if they’re already logged in. In this exercise I hope to see the use of nested routes for the navigation menu that will show on each page, and authguards. bonus - extract out a composable to get the currently logged-in user and create a page that shows the product’s details by using this api https://dummyjson.com/products/1. You can use this api - ‘https://dummyjson.com/products’

PROJECT LINK

Project setup

npm install

Compiles and hot-reloads for development

npm run serve

Compiles and minifies for production

npm run build

Lints and fixes files

npm run lint

Customize configuration

See Configuration Reference.

About

An Altschool Exam simulating fake authentication with firebase, state management with vuex and vue-router

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published