This is a hybrid Next.js + Python app that uses Next.js as the frontend and Flask as the API backend.
Prequisite:
node >=18.17.0
First, install the dependencies:
npm install
Then, run the development server:
npm run dev
Open http://localhost:3000 with your browser to see the result.
The Flask server will be running on http://127.0.0.1:5328 – feel free to change the port in package.json
(you'll also need to update it in next.config.js
).