Running our project for the first time
Next up, we’re going to start our project for the first time. If we’ve done everything right, we’ll see our Users
table being set up and our Apollo Server will start running.
In this part, we’ll cover how to start our project. After that, we’ll explore how to use our GraphQL API. We’ll learn about testing queries, which allow us to retrieve data, and mutations, which enable us to modify data. We’ll also discuss validations, which are checks to ensure the correctness of our data. Lastly, we’ll delve into the process of user login. Let’s get started!
If you followed the previous sections correctly and run the npm run dev
command, you should be able to see that the Users
table has been created and that Apollo Server is running on port 4000
:
Figure 13.3: Running our project for the first time
Now, let’s say that you want to modify your user model and change...