A simple base application demonstrating how to use @singlestore/client
in a Next.js project.
It shows how to perform CRUD operations and create chat completions using @singlestore/ai
.
- Create a
.env.local
file based on the.env.example
file. - Install the dependencies by running
npm install
. - Build the app by running
npm run build
. - Start the app by running
npm run start
. - Open
http://localhost:3000
in your browser to view the app.
- Download an SSL certificate using this link.
- Place the SSL certificate in the root directory of the project.
- Set the value of the
IS_FREE_TIER
variable to1
in the.env.local
file.