Skip to content

TCG Card Builder is a React-based application that allows users to create custom trading card game (TCG) cards for games like Lorcana and Yu-Gi-Oh.

Notifications You must be signed in to change notification settings

johnuberbacher/react-card-builder

Repository files navigation

TCG Card Builder

React TailwindCSS

TCG Card Builder is a React-based application that allows users to create custom trading card game (TCG) cards for games like Lorcana and Yu-Gi-Oh. Users can select templates, customize attributes such as card type, names, abilities, power levels, rarity, and upload custom artwork. Finished cards can be exported as images or PDFs for easy sharing and printing.

Live Demo

https://tcgbuilder.netlify.app/

Features

  • Template Options: Choose from various card types such as:
    • Character
    • Action
    • Magic
    • Trap
    • Fusion
  • Customization:
    • Enter custom card names and abilities.
    • Adjust power levels, rarity, and other attributes.
    • Upload custom artwork for your cards.
  • Export Options:
    • Save your cards as images.
    • Generate PDF versions for easy sharing or printing.

Supported Card Games

  • Lorcana
  • Yu-Gi-Oh
  • Pokémon (Coming Soon!)
  • Magic: The Gathering (Coming Soon!)

Installation

To run the project locally, follow these steps:

  1. Clone the repository:
    git clone https://github.com/your-username/tcg-card-builder.git
  2. Navigate to the project directory:
    cd tcg-card-builder
  3. Install dependencies:
    npm install
  4. Start the development server:
    npm start

Docker Setup

If you prefer to use Docker for development or deployment, you can follow these steps:

  1. Ensure you have Docker and Docker Compose installed on your system.

  2. Clone the repository:
    git clone https://github.com/your-username/tcg-card-builder.git

  3. Navigate to the project directory:
    cd tcg-card-builder

  4. Build and run the Docker container:
    docker-compose up --build

    This will build the app, install dependencies, and serve it using Nginx on port 3000.

  5. Open your browser and visit:
    http://localhost:3000

Build

To create a production-ready build locally using Docker:

  1. Run docker-compose up --build to rebuild the container.
  2. After the build process completes, the app will be available on http://localhost:3000.

Alternatively, you can run the build without Docker using the following command: npm run build

Dependencies

The project uses the following key libraries:

Scripts

Available scripts for development and production:

  • npm start: Starts the development server.
  • npm run build: Builds the app for production.
  • npm test: Runs the test suite.

License

This project is licensed under the MIT License.

About

TCG Card Builder is a React-based application that allows users to create custom trading card game (TCG) cards for games like Lorcana and Yu-Gi-Oh.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published