Giter Club home page Giter Club logo

pokemon-laravel-be's Introduction

Pokémon Card Collection API

This is a Laravel API for managing a Pokémon card collection. The API includes endpoints for user authentication, adding, updating, deleting, viewing, and searching Pokémon cards. Each card can be filtered and sorted by various attributes and is associated with the currently logged-in user.

Features

  • User registration and authentication using Laravel Passport
  • CRUD operations for Pokémon cards
  • Filtering and sorting of cards based on various attributes
  • Pagination support for card listings
  • Protected routes ensuring only authenticated users can access card data

Requirements

  • PHP >= 8.2
  • Laravel >= 11.9
  • PostgreSQL
  • Composer
  • Node.js and npm (for frontend if applicable)

Installation

Step 1: Clone the Repository

git clone https://github.com/diontristen/pokemon-laravel-be.git
cd pokemon-laravel-be

Step 2: Install Dependencies

composer install
npm install

Step 3: Environment Configuration

cp. .env.example .env

Step 4: Environment Configuration

php artisan key:generate

Step 5: Configure Database

DB_CONNECTION=pgsql
DB_HOST=127.0.0.1
DB_PORT=5432
DB_DATABASE=your_database_name
DB_USERNAME=your_database_username
DB_PASSWORD=your_database_password

Step 6: Run Migrations

php artisan migrate

Step 7: Install Laravel passport

php artisan passport:install

Step 8: Serve the application

php artisan serve

Running Tests

To run the unit tests, use the following command:

php artisan test

pokemon-laravel-be's People

Contributors

diontristen avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.