Reader small image

You're reading from  Building Real-World Web Applications with Vue.js 3

Product typeBook
Published inJan 2024
Reading LevelIntermediate
PublisherPackt
ISBN-139781837630394
Edition1st Edition
Languages
Tools
Right arrow
Author (1)
Joran Quinten
Joran Quinten
author image
Joran Quinten

Joran Quinten's passion involves getting people to love technology and getting technology to play nice. With over a decade of experience in developing and designing software, he has built up a broad background in development and architecture. He loves sharing knowledge and has been invited to speak at several tech events. Joran graduated from Fontys University of Applied Sciences, Eindhoven in 2010. Currently, he works for Jumbo Supermarkten, a national grocery chain where he is the technical lead of the design system team and acts as an ambassador for the tech department. He is passionate about mentoring and coaching junior developers. Joran lives close to Eindhoven with his wife, son and daughter.
Read more about Joran Quinten

Right arrow

Setting up the database

As with previous chapters, we’ll start this chapter by setting up our database. We’ll create another project called quiz, set a strong database password, and select a geographically close region.

Remember to note the Project URL and API Key values!

Note

The intent of this chapter is not to focus on database management and the following settings should not be considered a best practice for a production app!

Follow these steps to set up the database:

  1. Go to Table Editor and choose Create a new table. Here, do the following:
    1. For the name, insert quiz.
    2. Uncheck Enable Row Level Security (RLS) and confirm the dialog after reading its warning.
    3. In the Columns section, change the type of the id field to uuid.
    4. That’s enough for this table, so click Save.

    We will only use this table as a grouping mechanism for questions, so we’re keeping it as simple as possible.

  2. Now, return to Table Editor and click Create a new table. Apply...
lock icon
The rest of the page is locked
Previous PageNext Page
You have been reading a chapter from
Building Real-World Web Applications with Vue.js 3
Published in: Jan 2024Publisher: PacktISBN-13: 9781837630394

Author (1)

author image
Joran Quinten

Joran Quinten's passion involves getting people to love technology and getting technology to play nice. With over a decade of experience in developing and designing software, he has built up a broad background in development and architecture. He loves sharing knowledge and has been invited to speak at several tech events. Joran graduated from Fontys University of Applied Sciences, Eindhoven in 2010. Currently, he works for Jumbo Supermarkten, a national grocery chain where he is the technical lead of the design system team and acts as an ambassador for the tech department. He is passionate about mentoring and coaching junior developers. Joran lives close to Eindhoven with his wife, son and daughter.
Read more about Joran Quinten