Skip to content

felipao-mx/queens

Repository files navigation

queens

Api for N queens problem.

how to run:

  1. Checkout the repository
  2. Create .env file and declare environment variables:
    1. DATABASE_NAME
    2. DATABASE_USER
    3. DATABASE_USER_PWD
  3. Execute command docker-compose up
  4. Make GET request to http://localhost:8888/queens/{queenNum}/solutions, where {queenNum} refers to chessboard size and queens