From the course: Vibe Coding with Bolt.new
Unlock this course with a free trial
Join today to access over 25,200 courses taught by industry experts.
Adding streaks and sessions with a database - Bolt Tutorial
From the course: Vibe Coding with Bolt.new
Adding streaks and sessions with a database
So we have a basic application, let's add some more features. We're going to add streaks and sessions. So we want to make sure that as a user, when we log into our application, we can see how many days in a row we've done a task. So we're going to add this capability in. To do so, we're going to introduce the Bolt database. Let's go ahead and take a look. So I'm back in our task tracker in Bolt, and let's go ahead and click on this database icon at the top. So in here, we can see that there are two different tables, categories and tasks. What we're going to do is we're going to add a new table for users, sessions, and streaks. So let's go ahead and describe this by exiting and going into our Bolt entry point. So let's go ahead and type in, I want to track how many days in a row I complete a task. add a streak tracker, and update it for every day I complete a task. Add some dummy test data to start. Let's go ahead and click enter. You can see here, there are five tasks that the AI…
Contents
-
-
-
Defining our project: Productivity tracker1m 49s
-
(Locked)
Building our main page5m 1s
-
(Locked)
Making style changes and adding animations4m 53s
-
(Locked)
Adding streaks and sessions with a database2m 31s
-
(Locked)
Creating back-end APIs with BoltDatabase9m 19s
-
(Locked)
Adding user authentication with BoltDatabase5m 7s
-
-
-