Skip to content

muffinnxz/karntarad

Repository files navigation

🎮 Karntarad

Karntarad License Next.js TypeScript Tailwind CSS

📱 Overview

Karntarad is a gamified platform where users create, manage, and challenge themselves with social marketing scenarios. This interactive application allows marketers and aspiring social media managers to test their skills in a risk-free environment through dynamic, real-world simulations.

Karntarad Banner

✨ Features

🚀 Dynamic Scenarios

  • Experience ever-changing marketing challenges that simulate real-world social media trends
  • Practice your marketing skills in a risk-free environment
  • Learn from detailed performance analytics and feedback

🏢 Multi-Company Play

  • Manage multiple companies simultaneously
  • Test diverse strategies in parallel game sessions
  • Compare results across different industry verticals

🔄 Community Challenges

  • Create and share your own marketing scenarios
  • Take on challenges crafted by fellow players
  • Contribute to a growing library of marketing simulations

🛠️ Technology Stack

  • Frontend: Next.js 14, React 18, TypeScript
  • Styling: Tailwind CSS, Framer Motion
  • Authentication: Firebase Authentication
  • Database: Firebase Firestore
  • Analytics: Google Analytics, Microsoft Clarity
  • AI Integration: Together AI for dynamic scenario generation
  • Charts: Recharts for data visualization

🚀 Getting Started

Prerequisites

  • Node.js 18.0.0 or higher
  • npm or yarn package manager
  • Firebase account for authentication and database

Installation

  1. Clone the repository
git clone https://github.com/yourusername/karntarad.git
cd karntarad
  1. Install dependencies
npm install
# or
yarn install
  1. Set up environment variables
    • Copy .env.example to .env.local
    • Add your Firebase configuration and other API keys
cp .env.example .env.local
  1. Run the development server
npm run dev
# or
yarn dev
  1. Open http://localhost:3000 with your browser to see the application

📂 Project Structure

karntarad/
├── public/             # Static assets
├── src/
│   ├── app/            # Next.js app router pages
│   ├── components/     # React components
│   ├── contexts/       # React contexts (e.g., AuthContext)
│   ├── interfaces/     # TypeScript interfaces
│   ├── lib/            # Utility functions and libraries
│   ├── middleware/     # Next.js middleware
│   ├── prompts/        # AI prompts templates
│   ├── services/       # Service layer for API interactions
│   └── types/          # TypeScript type definitions
├── .env.example        # Example environment variables
├── .env.local          # Local environment variables (not in repo)
├── next.config.mjs     # Next.js configuration
├── tailwind.config.ts  # Tailwind CSS configuration
└── tsconfig.json       # TypeScript configuration

🔒 Authentication

Karntarad uses Firebase Authentication for user management. Currently, we support:

  • Google Sign-In
  • Email/Password authentication (coming soon)

🌐 Deployment

The application is designed to be deployed on Vercel or any other Next.js-compatible hosting provider:

# Build the application
npm run build
# or
yarn build

# Start the production server
npm start
# or
yarn start

🤝 Contributing

We welcome contributions to Karntarad! Please feel free to submit issues and pull requests.

  1. Fork the repository
  2. Create your feature branch (git checkout -b feature/amazing-feature)
  3. Commit your changes (git commit -m 'Add some amazing feature')
  4. Push to the branch (git push origin feature/amazing-feature)
  5. Open a Pull Request

📄 License

This project is licensed under the MIT License - see the LICENSE file for details.

📞 Contact

For questions or support, please reach out to the maintainers:


Built with ❤️ by the Karntarad Team

About

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages