Skip to content

epuig83/stackoverflow-questions

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Stackoverflow Questions API

Prerequisites

  • PHP 7.4
  • Symfony 5.3.*
  • Docker + Docker Compose

Install

Clone

$ git clone https://github.com/epuig83/stackoverflow-questions.git
$ cd stackoverflow-questions

Build up all containers

$ docker-compose build
$ docker-compose up -d

Composer dependencies

$ docker-compose exec webserver composer install --no-interaction

Access to bash webserver container

$ docker exec -it webserver bash

Testing

Run tests

$ docker-compose exec webserver php ./vendor/bin/phpunit

Questions Endpoint

http://localhost:8080/api/stackoverflow/questions/{tagged}
Name Required Type Description
tagged required string The question tag
fromdate optional string The date format is accepted: YYYY-MM-DD HH:MM:SS, where the hour, minute, and second values are optional.
todate optional string The date format is accepted: YYYY-MM-DD HH:MM:SS, where the hour, minute, and second values are optional.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published