Chrysolites Tech Academy

Video by Clever Programmer · streamed from YouTube. All rights remain with the creator.

Lesson 2: Ride App Clone with Next.js, Part 2

About this lesson

This second live session from Clever Programmer continues the ride-hailing app built with Next.js, React, Tailwind CSS, Mapbox and Firebase, picking up from the home screen and map created in the first part. The focus moves from the opening screen to the core journey of the app: telling it where you are and where you want to go, and seeing that trip on a map. The session works on the pages that let a rider enter and confirm their journey, styled with Tailwind CSS in the look of the real app and organised into React components that can be reused across pages. It shows how information entered on one page can be carried to the next in a Next.js app, so that the following page knows which places the rider chose. A major part of the work involves Mapbox beyond simply showing a map: using its services to find the locations the rider has asked for and displaying them on the map so that the trip can be seen at a glance. As in the first part, the session is recorded live, so you see the development process as it really happens, including reading documentation, testing ideas in the browser, explaining each decision and tracking down errors when something does not work as expected. By the end of the session the app has a working flow from entering a trip to viewing it, ready for the ride options and sign-in added in the final part. Afterwards, read Chapter 2 of the course book, which works through geocoding, map bounds and distance by hand.

Install Chrysolites Tech Academy

Android / Chrome / Edge: open the browser menu and choose Install app or Add to Home screen.

iPhone / iPad (Safari): tap the Share button, then Add to Home Screen.