Skip to content
This repository was archived by the owner on Apr 27, 2025. It is now read-only.

kkamara/users-api-repository-design

Repository files navigation

php-reactjs-boilerplate.png

php-reactjs-boilerplate2.png

Users API Repository Design API

(02/03/2025) A Laravel 12.x users API with the Repository Design. Includes API feature tests.

Using Postman?

Get Postman HTTP client.

Postman API Collection for Users API Repository Design.

Postman API Environment for Users API Repository Design.

Installation

# Create our environment file.
cp .env.example .env
# Update database values in .env file.
# Install our app dependencies.
composer i
php artisan key:generate
# Before running the next command:
# Update your database details in .env
php artisan migrate --seed
yarn install
yarn build

Usage

php artisan serve --port=3000
# Website accessible at http://localhost:3000

API Documentation

php artisan route:list
# output
...
POST       api/user ............................ login › API\UserController@login
GET|HEAD   api/user/authorize .................. API\UserController@authorizeUser
POST       api/user/register ................... API\UserController@register
...

View the api collection here.

Feature Tests

php artisan test --filter=API

View the feature test code here.

Misc.

See PHP ReactJS Boilerplate app

See Python ReactJS Boilerplate app

See MRVL Desktop

See MRVL Web

See PHP Docker Skeleton

See Python Docker Skeleton

See Laravel 10 API 3

See movies app

See Food Nutrition Facts Search web app

See Ecommerce Web

See City Maps Mobile

See Ecommerce Mobile

See CRM

See Birthday Currency

See PHP Scraper.

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

Please make sure to update tests as appropriate.

License

BSD

About

(02/03/2025) A Laravel 12.x users API with the Repository Design. Includes API feature tests.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages