Database structure - Sophievanderburg/blok-tech GitHub Wiki

💾 Database structure

Once you have created a database with MongoDB Atlas, you can start filling your database. In the database collection you should make documents like this:

_id: objectId(" "), <-- this one will be there automatically
firstname: " "
lastname: " "
age: " "
genre1: " "
genre2: " "
genre3: " "
favSongTitle: " "
favSongArtist: " "
imgSource: " "

You can fill the database manually, but you can also use the Sign in page to add users to the database. Just make sure every user has the keys that are listed above. 👍

⚠️ **GitHub.com Fallback** ⚠️