This is a template for building a Harper powered Nextjs application.
To get started, make sure you have installed Harper, which can be quickly done with npm install -g harperdb
. You can run this reposity by cloning it down and running the following in your terminal:
npm i
npm run dev
For more information about getting started with Harper and building your Next.js applications, see our getting started guides and documentation.
This template includes the default configuration, which specifies how files are handled in your application.
The schema.graphql is the schema definition. This is the main starting point for defining your database schema, specifying which tables you want and what attributes/fields they should have.
The resources.js provides a template for defining JavaScript resource classes, for customized application logic in your endpoints. This repo comes with sample product data in a json file.