Skip to content

hamzeloudev/nextjs-todo

Repository files navigation

My Next.js App

This is a Next.js application that can be run using Docker for both development and production environments.

Prerequisites

Before you begin, ensure you have the following installed on your machine:

  • Docker
  • Docker Compose
  • Make

Getting Started

Development Environment

  1. Clone the repository:

    git clone https://github.com/your-username/my-next-app.git
    cd my-next-app
  2. Start the development environment:

    make dev

    This command will:

    • Build the Docker image for development
    • Start the Next.js application with live-reloading enabled
  3. Access the application:

    • Open your browser and navigate to http://localhost:3000

Production Environment

  1. Build the Docker image:

    make build

    This command will build the Docker image for the production environment.

  2. Start the production environment:

    make prod

    This command will:

    • Start the Docker containers for the Next.js application
    • Run the application in production mode
  3. Access the application:

    • Open your browser and navigate to http://localhost:3000

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published