Generated Project Structure
After running the CLI command, you will see a structure similar to this:
text
my-storefront/
├── .env.local # Environment variables
├── app/ # Next.js App Router (Pages & Layouts)
├── components/ # Reusable React Components
├── public/ # Static assets (images, fonts)
├── lib/ # Utilities and API clients
├── package.json # Dependencies
└── next.config.js # Next.js configurationKey Directories
app/: Contains the routes of your application (e.g.,/product,/cart). This is where you will integrate the Bagisto Native components.public/: This is where you will later place thebundle.jsrequired for the native bridge.lib/: Contains the GraphQL client configuration used to talk to your Bagisto backend.
Next Steps
- Explore Environment variables
- Understand CLI command
- Check Repository reference
