Skip to main content

Using Tigris with your Next.js project

Tigris is a Serverless NoSQL Database and Search Platform that allows you to rapidly build dynamic data-driven Next.js applications without having to deal with the complexity of managing infrastructure.

Getting started

System requirements

Sign up

To get started, go to the Tigris console and sign up.

Create Tigris Project

Once you have signup into the Tigris console, click on the Create a new project button to create a new project from your

Tigris Cloud dashboard.

The create a project dialog within the Tigris console web application

Enter todo as your project name and click on the Create button. Tigris will generate the Cloud credentials for your application. You will also be shown a command to create your application using the credentials.

Every Tigris project comes with a pre-configured database.

Create your Next.js project

To create your Next.js project, copy the create-tigris-app command generated in your Tigris console.

The create-tigirs-app terminal command displayed within a dialog within the Tigris web console

This will prompt you to pick the template for your project, select the nextjs-api-routes template, and click enter.

Run

Run the app and see it automatically create your collections.

cd todo
npm run dev

🎉 Your full-stack web app is ready and accessible on localhost:3000 in the browser.

Now, if you go back to your Tigris console, you will see the collections created for the project.

The collections for the project within the Tigris web console

Guides

Here you will find a set of guides to help you build a dynamic data-rich Next.js app with Tigris.