Skip to content

PTU-DEV/Logic-hack-contest-template

Repository files navigation

🧠 Logic Hack

Frontend web application built with React + TypeScript + Vite.

Live Site: https://loot.fossptu.dev/


🚀 Overview

Logic Hack is a modern web application designed for coding challenges and competitive programming events. It provides a fast, responsive, and scalable frontend architecture using Vite for lightning‑fast builds and React for a modular UI system.


🛠 Tech Stack

  • ⚛️ React
  • 🟦 TypeScript
  • ⚡ Vite
  • 🎨 CSS / Tailwind (if used)
  • 🧹 ESLint

📦 Installation

Clone the repository:

git clone https://github.com/YOUR-USERNAME/logic-hack.git
cd logic-hack

Install dependencies:

npm install

💻 Development

Start the development server:

npm run dev

The app will run on:

http://localhost:5173

🏗 Build for Production

Create an optimized production build:

npm run build

Preview the production build locally:

npm run preview

📂 Project Structure

src/
 ├── assets/
 ├── components/
 ├── pages/
 ├── hooks/
 ├── utils/
 ├── App.tsx
 └── main.tsx

🧹 ESLint Configuration (Optional Advanced Setup)

For production-grade applications, enable type-aware linting:

export default defineConfig([
  globalIgnores(['dist']),
  {
    files: ['**/*.{ts,tsx}'],
    extends: [
      tseslint.configs.recommendedTypeChecked,
      tseslint.configs.strictTypeChecked,
      tseslint.configs.stylisticTypeChecked,
    ],
    languageOptions: {
      parserOptions: {
        project: ['./tsconfig.node.json', './tsconfig.app.json'],
        tsconfigRootDir: import.meta.dirname,
      },
    },
  },
])

🌍 Deployment

This project can be deployed easily on:

  • Vercel
  • Netlify
  • Render
  • Any static hosting provider

📜 License

MIT License


👨‍💻 Author

Built with ❤️ for competitive programming and logic-based challenges.


If you want, I can also create:

  • 🔥 A professional GitHub-optimized README with badges
  • 📸 Screenshot section
  • 🧩 Contributing guidelines
  • 🐛 Issue & PR templates
  • 🚀 CI/CD setup instructions

About

This is template of Evets Orgnised by us

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages