Pokémon TCG Collection is a web application that allows users to explore and manage their Pokémon Trading Card Game collections. It provides features for viewing Pokémon cards, adding them to your collection, and more.
- Description 📄
- Table of Contents 📋
- Features ✨
- Getting Started 🚀
- API Key 🔑
- Usage 📝
- Contributing 🤝
- License 📜
- Browse and search for Pokémon cards.
- Add Pokémon cards to your collection.
- View detailed information about each card.
- Explore different sets and their cards.
- User-friendly and responsive design.
Follow these instructions to get the project up and running on your local machine.
- Clone the repository:
git clone https://github.com/your-username/pokemon-tcg.git - Navigate to the project directory:
cd pokemon-tcg - Install PHP dependencies using Composer:
composer install - Configure your database connection by creating a .env file and updating the database
settings:
cp .env.example .envUpdate the following lines in .env:DB_DATABASE,DB_USERNAME,DB_PASSWORD,DB_HOST,DB_PORT,DB_CONNECTION - Generate an application key:
php artisan key:generate - Run database migrations and seed the database:
php artisan migrate --seed - Start the development server:
php artisan serveThe application should now be accessible at http://localhost.
- Enter in a terminal of your container:
./vendor/bin/sail bash - Install npm dependencies:
npm install - Compile assets:
npm run dev
To fetch Pokémon card data, you'll need an API key from https://pokemontcg.io/. Once you have the API key, add it to
your .env file: POKEMON_TCG_API_KEY=your-api-key
- Open your web browser and navigate to http://localhost.
- Sign up for an account or log in if you already have one.
- Start exploring Pokémon cards, adding them to your collection, and managing your collection.
Contributions are welcome! If you'd like to contribute to this project, please follow these steps:
- Fork the project on GitHub.
- Create a new branch with a descriptive
name:
git checkout -b feature/my-feature or git checkout -b bugfix/issue-description. - Make your changes and commit them:
git commit -m "Description of changes". - Push your changes to your fork:
git push origin feature/my-feature. - Create a pull request on the original repository. ######Please make sure to follow the project's coding standards
This project is licensed under the MIT License - see the LICENSE file for details.