abdu11aev-samandar / Abdigital

Test for Back-end developer

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

About project

What is Project?
This project test task for Backend developer.

Stacks

  1. PHP-8.1.3v. Framework Laravel 9.
  2. MySQL 5.7.
  3. Nginx-latest.

Installation guide

Before installation set up your SSH keys on Github and Docker.

Steps (with Docker):

$ git clone git@github.com:xkas01/Abdigital.git
$ cd Abdigital
$ cp .env.example .env
$ docker-compose up --build -d
Also our system have dashboard for database (phpMyAdmin).
$ open http://localhost:1051
Username: abdigital
Password: abdigital

Docker container's shell

PHP:
$ docker exec -it php-abdigital /bin/sh
Database:
$ docker exec -it database-abdigital /bin/sh

Documentation for API

Local URL:
abdigital/docs/Abdigital.postman_collection.json
Aritsan command for regenerate:

  1. $ docker exec -it php-abdigital /bin/sh
  2. $ php artisan migrate:refresh --seed
  3. Simple one line command: $ docker exec -it php-abdigital php artisan migrate:refresh --seed

.env

  • TELEGRAM_API_KEY = "Your bot token"
  • TELEGRAM_CHANNEL = "@Your_channel_name"

Structure of Database

alt text

About

Test for Back-end developer


Languages

Language:PHP 79.0%Language:Blade 19.2%Language:Dockerfile 1.3%Language:Shell 0.3%Language:JavaScript 0.2%