The completed app is deployed here
I created this repo as part of presentation for Dubai Js Meetup 03.
In this repo, I am demonstrating the basics of a NuxtJs App. I am creating a simple app that lists buildings but to see the details of the buildings you need to login into the app.
This is a test repo I have created for reference for the live demo I will be doing.
- Added a layout for building listing. Links for design "inspirations".
- Added a layout for login. Layout and page design from here
- Added a page to list buildings
Changes here
- Added Nuxt Axios to the project.
- Added endpoint
api/buildings
that return a list of buildings. Since Nuxtjs basically is a nodeJs server. We can add routes and consume them - Consumed the created endpoint to make the list of buildings dynamic.
Changes here
- Added a detail page for building details
Changes here
- Added endpoint to accept email and password for authentication.
- Added endpoint to get detail of the authenticated user.
- Added login and logout functionality for frontend.
- Added a condition so that only authenticated user can see the detail page.
Changes here
- Added seo for the homepage
Changes here
- Deploy to Heroku
Changes here