A modern Next.js application template integrating Stackflow and Appwrite for building scalable, full-stack web apps.
- Next.js: React framework for production.
- TypeScript: Type-safe codebase.
- Stackflow: Powerful navigation and state management.
- Appwrite: Backend-as-a-Service for authentication, database, storage, and more.
- ESLint & Prettier: Code quality and formatting.
- PostCSS: CSS processing.
- Environment Variables: Managed via
.env.
stackflow-appwrite/
├── .env # Environment variables
├── next.config.ts # Next.js configuration
├── package.json # Project dependencies and scripts
├── postcss.config.js # PostCSS configuration
├── tsconfig.json # TypeScript configuration
├── public/ # Static assets
├── src/
│ ├── app/ # Next.js app directory (routes, pages)
│ ├── components/ # Reusable React components
│ ├── lib/ # Library utilities
│ ├── models/ # Data models and types
│ ├── store/ # State management
│ ├── utils/ # Utility functions
│ └── middleware.ts # Custom middleware
└── ...
npm installCopy .env.example to .env and fill in your Appwrite credentials and other settings.
npm run devVisit http://localhost:3000 to view your app.
npm run dev– Start the development servernpm run build– Build for productionnpm run start– Start the production servernpm run lint– Run ESLint
MIT
Feel free to open issues or pull requests!