Skip to content

dbstylesnet/php-auth-project

 
 

Repository files navigation

PHP authetication project

Project allows to create users via UI, log in and carry on using application after being logged in.

Tech stack:

  • PHP
  • MySQL
  • Symphony
  • React
  • Docker

PHP Authentification

Project structure:

  • www - root directory
  • src - application source code
  • static - directory with statics
  • tests - tests (unit)
  • docker - container docker settings

Installation:

  • Install docker
  • Install docker-compose
  • In Docker folder run: $ docker-compose up -d

http://localhost:5004/auth to view it in the browser.

  • In case there is autoload error under localhost, run:
  • docker-compose run --rm composer install

In order to run tests:

  • $ docker exec -ti docker_php_1 bash
  • $ vendor/bin/phpunit tests/

In order to close all containers:

  • $ docker-compose down -v

About

PHP authentification project, you are able to create users and log in.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • PHP 75.3%
  • JavaScript 17.4%
  • CSS 4.5%
  • HTML 2.0%
  • Dockerfile 0.7%
  • Hack 0.1%