Chrysolites Tech Academy

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

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

About this lesson

This live build from Clever Programmer is the first of three parts in a project that recreates a well-known ride-hailing app for the web. The series uses Next.js with React for the application, Tailwind CSS for styling, Mapbox for interactive maps and Firebase for the back-end services such as signing in. In this first part the project is created from scratch and the foundations of the app are laid. You see how a Next.js project is organised, how its pages map to the routes of the app and how Tailwind CSS is set up so that the interface can be styled quickly with utility classes. The main work of the session is building the opening screens of the app in the style of the real thing, arranging the layout so that it works on a phone-sized screen and organising it into reusable components. A key milestone is bringing an interactive Mapbox map into the app, which requires creating an account, obtaining an access token and connecting the map library to a React component so that the map appears and responds to the user. Because the series is recorded live, the session also shows how an experienced developer reasons through problems, explains choices and fixes errors as they come up, which is valuable practice in itself. The work continues in the second and third parts, which build on the same codebase. Afterwards, read Chapter 1 of the course book, which explains how web maps, tiles and zoom levels work, with the scale worked out 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.