budibase/examples/nextjs-api-sales
mike12345567 05352703b9 Final version of example, has save form and table of sales, supporting relationships and pagination all from Postgres. 2022-03-09 15:00:36 +00:00
..
components Final version of example, has save form and table of sales, supporting relationships and pagination all from Postgres. 2022-03-09 15:00:36 +00:00
config Adding API communications to nextjs app. 2022-03-08 17:29:49 +00:00
db Final version of example, has save form and table of sales, supporting relationships and pagination all from Postgres. 2022-03-09 15:00:36 +00:00
definitions Adding in pagination to next frontend. 2022-03-08 20:17:07 +00:00
pages Final version of example, has save form and table of sales, supporting relationships and pagination all from Postgres. 2022-03-09 15:00:36 +00:00
public Final version of example, has save form and table of sales, supporting relationships and pagination all from Postgres. 2022-03-09 15:00:36 +00:00
styles Final version of example, has save form and table of sales, supporting relationships and pagination all from Postgres. 2022-03-09 15:00:36 +00:00
.eslintrc.json initial version of nextjs app with bulma, for use with BB public API. 2022-03-08 13:43:12 +00:00
.gitignore initial version of nextjs app with bulma, for use with BB public API. 2022-03-08 13:43:12 +00:00
README.md Adding API communications to nextjs app. 2022-03-08 17:29:49 +00:00
next-env.d.ts initial version of nextjs app with bulma, for use with BB public API. 2022-03-08 13:43:12 +00:00
next.config.js Adding in pagination to next frontend. 2022-03-08 20:17:07 +00:00
package.json Final version of example, has save form and table of sales, supporting relationships and pagination all from Postgres. 2022-03-09 15:00:36 +00:00
tsconfig.json initial version of nextjs app with bulma, for use with BB public API. 2022-03-08 13:43:12 +00:00
yarn.lock Final version of example, has save form and table of sales, supporting relationships and pagination all from Postgres. 2022-03-09 15:00:36 +00:00

README.md

This is a Next.js project bootstrapped with create-next-app.

Getting Started

First, run the development server:

npm run dev
# or
yarn dev

Open http://localhost:3000 with your browser to see the result.

You can start editing the page by modifying pages/index.tsx. The page auto-updates as you edit the file.

API routes can be accessed on http://localhost:3000/api/hello. This endpoint can be edited in pages/api/hello.ts.

The pages/api directory is mapped to /api/*. Files in this directory are treated as API routes instead of React pages.