Skip to content

Latest commit

 

History

31 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

AuthenticationMobileApp.png

Authentication Mobile App Backend API

(02-Sep-2026) A Laravel 13.x Docker auth API, with emails, for www.github.com/kkamara/AuthenticationMobileApp .

Using Postman?

Get Postman HTTP client.

Postman API Collection for Authentication Mobile App Backend.

Postman API Environment for Authentication Mobile App Backend.

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

Frontend Installation

npm install --global yarn
yarn install
yarn build

Usage

# Website accessible at http://localhost:80 .
docker-compose up -d
# Run event listener that runs dispatched jobs
# like send email verification.
docker exec app php artisan queue:listen --tries=1
# Run database commands.
docker exec app php artisan migrate --path=database/migrations/V1 --seed
# OR
docker exec -it app sh
> php artisan migrate:status --path=database/migrations/V1
> php artisan migrate --path=database/migrations/V1 --seed

API Documentation

php artisan route:list

Feature Tests

php artisan test --filter=API

View the feature test code here.

Sending & Viewing Test Emails

Requirements

docker run -p 8025:8025 -p 1025:1025 mailhog/mailhog

Ensure MAIL_MAILER setting in your .env file is set to smtp. After running the above command this app should now be able to connect to the Mailhog email server running through Docker.

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-Sep-2026) A Laravel 13.x Docker auth API, with emails, for www.github.com/kkamara/AuthenticationMobileApp .

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages