A Next.js application with real-time chat capabilities, analytics, and user management.
- Real-time chat functionality
- User authentication
- Analytics dashboard
- Bot integration
- Redis-based rate limiting
- TypeScript support
- Tailwind CSS styling
- Node.js 16+
- Redis server
- SSL certificates (for production)
- Clone the repository
git clone [your-repository-url]
cd project-16- Install dependencies
npm install- Set up environment variables
cp .env.local.example .env.local
# Edit .env.local with your configuration- Run development server
npm run devnpm run dev- Start development servernpm run build- Build production versionnpm run test- Run testsnpm run lint- Run linter
Use the provided deployment scripts:
deploy.sh- Main deployment scriptdeploy-node.sh- Node.js deploymentsetup-ssl.sh- SSL certificate setup
/app- Next.js application routes/components- React components/lib- Core functionality/config- Configuration files/types- TypeScript type definitions/styles- CSS and styling/scripts- Utility scripts/server- Server-side code
- Fork the repository
- Create your feature branch (
git checkout -b feature/amazing-feature) - Commit your changes (
git commit -m 'Add some amazing feature') - Push to the branch (
git push origin feature/amazing-feature) - Open a Pull Request
[Your chosen license]