https://github.com/kazordoon/php-login-mongodb
Login with PHP using MongoDB as database.
https://github.com/kazordoon/php-login-mongodb
docker docker-compose login php php-login-mongodb php-mongodb php-mongodb-driver
Last synced: about 1 year ago
JSON representation
Login with PHP using MongoDB as database.
- Host: GitHub
- URL: https://github.com/kazordoon/php-login-mongodb
- Owner: kazordoon
- License: mit
- Created: 2020-03-09T19:18:18.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2023-12-16T16:52:26.000Z (over 2 years ago)
- Last Synced: 2025-01-20T07:14:52.251Z (over 1 year ago)
- Topics: docker, docker-compose, login, php, php-login-mongodb, php-mongodb, php-mongodb-driver
- Language: PHP
- Homepage:
- Size: 110 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# php-login-mongodb
Login with PHP using MongoDB as database.
## Getting Started
### Prerequisites
- Docker
- Docker Compose
### Installation
- Clone the repository: `git clone https://github.com/kazordoon/php-login-mongodb.git`
- Get in the project directory: `cd php-login-mongodb`
- Run the containers: `docker-composer up -d`
- Run the script to configure the database: `./scripts/configure-database.sh`
- Run the script to install the PHP dependencies: `./scripts/install-php-dependencies.sh`
## Configuration
- Edit the `src/config/config.inc.php` file, changing the constants `MAIL_*`
After the configuration, access the following URL at the browser: [http://localhost:8080/](http://localhost:8080/)
## Built with
- [PHP 8.1](https://www.php.net/)
- [coffeecode/router](https://packagist.org/packages/coffeecode/router)
- [twig/twig](https://packagist.org/packages/twig/twig)
- [mongodb/mongodb](https://packagist.org/packages/mongodb/mongodb)
- [phpmailer/phpmailer](https://packagist.org/packages/phpmailer/phpmailer)
- [MongoDB](https://www.mongodb.com/)
## Versioning
For the versions available, see the [tags on this repository](https://github.com/kazordoon/php-login-mongodb/tags).
## Authors
* **Felipe Barros** - *Initial work* - [kazordoon](https://github.com/kazordoon)
## License
This project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details