# Next.js samples

This directory contains Next.js examples demonstrating how to integrate the Dynamsoft Barcode Reader into Next.js apps.

**Included examples**

- `scan-using-foundational-api/` — Next.js example using the foundational API.
- `scan-using-rtu-api/` — Next.js example using the RTU API. (**Recommended for most users**)

## Quick start

1. Change to the example directory, e.g.:

   ```bash
   cd scan-using-foundational-api

   ```

2. Follow the subexample README for exact steps (typically: npm install && npm run dev).

## Notes

- Run via the framework dev server to ensure module loading and camera access work correctly.
- See the repository root README.md for general usage and license information.