Explore our releases, news, events, and much more
Today we’re pleased to announce a new addition to SurrealDB University, the best place to learn SurrealDB and its query language. This new tutorial brings the number of ways to learn SurrealDB through the university to four.
SurrealDB University began with quite a bit of content. When it was first announced it had the following two courses:
Later on we felt the need to have a course for people who want that sense of completion but don’t have a great deal of time, and added the Tour of SurrealDB as our third course. The Tour can be completed in as little as 30 minutes.
Those courses served as learning paths for three types of learners. However, there is another type whose learning preferences weren’t yet satisfied: people that want to learn by doing. Learners of this type tend to feel most satisfied by building, and want to have a running project at the end that they can continue to work on after the tutorial is over.
Now here is the interesting part: the last four chapters of Aeon’s Surreal Renaissance already do exactly that! These chapters involve taking loosely structured JSON data about the world’s most popular movies and using it to build an instance that allows you to take advantage of everything SurrealDB offers. In these last four chapters you follows along as this data is turned into strictly typed SurrealQL types inside a schemafull database with graph relations, full-text search, events and more.
However, pointing users to the last four chapters of a book didn’t feel quite right, because:
So that made these final four chapters perfect for a separate rewrite.
Here’s a rough overview of the learning path followed in the tutorial. You will:
In terms of sheer volume, this new tutorial clocks in at about 12,000 words. You could get through it in a focused afternoon, or over two days if you prefer a more leisurely pace.
Once this database is up and running, then it’s yours to keep building on! For example, you might want to add a UI to show how the edgengram filter in the full-text index can be used to display results for movie titles and plots as the user types a word (such as showing search results that include “Terminator 2” as soon as the user has typed “ter”), instead of requiring an exact match.
We have one example here of a frontend written in Rust that uses this movie database, and even shows the posters for each movie because the original movie data includes a field called Poster
that holds a link to a url to an image for the poster.
If you end up building something on top of the movie tutorial, feel free to open up a PR to add it to the examples in the same folder! That’s an easy way to show the world that you’ve not only completed the tutorial, but know how to integrate SurrealDB as a backend to your favourite programming language.
Explore our releases, news, events, and much more