StackOverflow-lite is a platform where people can ask questions and provide answers
POST /api/v1/auth/signup
{
"username": "abadojack",
"password": "password",
"email" : "[email protected]"
}
POST /api/v1/auth/login
{
"username": "abadojack",
"password": "password"
}
POST /api/v1/auth/signout
GET /api/v1/questions
{
"token": "token_from_login"
}
GET /api/v1/questions/{question_id}
{
"token": "token_from_login"
}
POST /api/v1/questions
{
"token": "token_from_login"
}
{
"title": "question title",
"body" : "question body"
}
DELETE /api/v1/questions/{question_id}
{
"token": "token_from_login"
}
POST /api/v1/questions/{questiond_id}/answers
{
"token": "token_from_login"
}
{
"body" : "answer body"
}
PUT /questions/{question_id}/answers/{answer_id}
{
"token": "token_from_login"
}
{
"body" : "answer body"
}
This project is licensed under the MIT License - see the LICENSE.md file for details.