/shorturl.nankov.mk

Powered by Docker, DeasyUI, Tailwind, OAuth2, Laravel, Livewire. Following N-Layered architecture.

Primary LanguageJavaScriptMIT LicenseMIT

project-shorturl

Even nanorocks can have personal url shortener

Docker devbox

The project is build on top of docker devbox so, all you need is to have docker desktop installed on you pc and then you can navigate to root to run:

docker-compose up -d | For starting the devbox

docker-compose down | To clean up all containers

Project access

Db creating for project

  • go to http://localhost:54320
  • set provider Mysql
  • set username root
  • set password secret
  • set server database
  • after login create database with name db_name and db_name_test for testing

Env setup

  • All you need it to copy the .env.example to .env and run the app container to execute

    • php artisan key:generate
    • php artisan migrate:fresh --seed
    • (for running tests) php artisan test
    • php artisan db:seed
    • php artisan migrate
    • composer i
    • php artisan passport:keys
  • Default demo user password is: password