Skip to content

Latest commit

Β 

History

History
144 lines (99 loc) Β· 3.77 KB

File metadata and controls

144 lines (99 loc) Β· 3.77 KB

NodeOps Task Manager Template

A simple task management application template designed for the NodeOps Cloud Marketplace. This project showcases how to deploy a template on the NodeOps Cloud Marketplace and start earning revenue share.

πŸš€ Features

  • Task Management: Create, complete, and delete tasks
  • Local Storage: Tasks are stored locally in your browser
  • Task Statistics: View total, completed, and remaining task counts
  • Docker Support: Containerized for easy deployment
  • Responsive Design: Modern UI with Tailwind CSS
  • NodeOps Integration: Ready for NodeOps Cloud Marketplace deployment

πŸ› οΈ Tech Stack

  • Frontend: Next.js 15, React 19, TypeScript
  • Styling: Tailwind CSS, Radix UI components
  • Icons: Lucide React
  • Containerization: Docker

πŸ“¦ Installation

Prerequisites

  • Node.js 24+
  • npm
  • Docker (optional)

Local Development

  1. Clone the repository

    git clone https://github.com/NodeOps-app/Nodeops-Template-Example-App.git
    cd Nodeops-Template-Example-App
  2. Install dependencies

    npm install
  3. Set up environment variables

    # Create .env.local file
    echo "NEXT_PUBLIC_TEST=Hello from local development!" > .env.local
  4. Run the development server

    npm start
    # or
    npm run dev
  5. Open your browser Navigate to http://localhost:3000

Docker Deployment

  1. Build the Docker image

    # With default environment variable
    docker build -t nodeops-task-manager .
    
    # With custom environment variable
    docker build -t nodeops-task-manager .
  2. Run the container

    docker run -p 8000:3000 nodeops-task-manager
  3. Access the application Navigate to http://localhost:8000

πŸ”§ Environment Variables

🎯 NodeOps Integration

This demo showcases:

  1. Template Creation: How to structure a deployable application
  2. Docker Containerization: Preparing apps for NodeOps Cloud Marketplace
  3. Environment Configuration: Managing runtime variables
  4. Revenue Sharing: Potential for earning through the marketplace

πŸ“š Resources

πŸ—οΈ Project Structure

Nodeops-Template-Example-App/
β”œβ”€β”€ app/                    # Next.js app directory
β”‚   β”œβ”€β”€ globals.css        # Global styles
β”‚   β”œβ”€β”€ layout.tsx         # Root layout
β”‚   └── page.tsx           # Main page
β”œβ”€β”€ components/            # React components
β”‚   └── ui/               # UI components (Radix UI)
β”œβ”€β”€ lib/                   # Utility functions
β”œβ”€β”€ public/                # Static assets
β”œβ”€β”€ Dockerfile            # Docker configuration
└── package.json          # Dependencies and scripts

πŸš€ Deployment to NodeOps

  1. Prepare your template:

    • Ensure Dockerfile is optimized
    • Set appropriate environment variables
    • Test locally with Docker
  2. Submit to NodeOps Marketplace:

  3. Start earning:

    • Users can deploy your template
    • Earn revenue share from deployments
    • Scale your template business

🀝 Contributing

This is a demo project. Feel free to fork and modify for your own NodeOps templates!

πŸ“„ License

This project is open source and available under the MIT License.


Built for NodeOps Hackathon πŸš€