Skip to content

REST API for issuing a list of users from an external service via API

License

Notifications You must be signed in to change notification settings

alexdru/users-list

Repository files navigation

Users list

REST API for issuing a list of users from an external service via API

Installation

Step-by-step instructions for starting a project:

Run docker-compose:

docker-compose up

Create .env and generate app key:

docker exec -it app cp .env.example .env
docker exec -it app php artisan key:generate

Make database migration:

docker exec -it app php artisan migrate:fresh

Get vk token and insert into .env file:

Find out your vk id via this service. Copy and paste vk id into VK_USER_ID

Get your vk token via this link. Copy vk token from url and paste into VK_ACCESS_TOKEN

Clear config cache:

docker exec -it app php artisan config:clear

Run vk import console command:

docker exec -it app php artisan vk:import

API Routes:

/api/users - list of all users
/api/users/{id} - obtaining detailed information about a user by ID

License

This project is licensed under the MIT License

About

REST API for issuing a list of users from an external service via API

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages