- An API for the StackOverFLow hosted
here:). front end app. - StackOverFLowLite a platform where people can ask questions and provide answers. .
https://kiburu-stacklyte-api-heroku.herokuapp.com/
-
POST /api/v1/questions:headers = {content_type:application/json} { "id": 1, "title": "Build an API", "description": "How does one build an api", "user": "john doe", "answers": [] } -
GET /api/v1/questionsheaders = {content_type:application/json} -
GET /api/v1/questions/<id>headers = {content_type:application/json} -
POST /api/v1/questions/id/answer:headers = {content_type:application/json} { "id": 1, "answer": "Sample Answer", "user": "Leah" } -
DELETE /api/v1/questions/id/:headers = {content_type:application/json}
```
$ git clone https://kiburualex.github.io/StackOverflow-Lite/UI/
```
```
$ virtualenv -p python3 venv
$ source venv/bin/activate
```
```
(myenv)$ pip install -r requirements.txt
```
(myenv)$ python run.py
(myenv)$ pytest --cov=tests