Overview

StackIt Q&A Platform a minimal al question-and-answer platform that supports collaborative learning and structured knowledge sharing. It’s designed to be sim ple, user- friendly, and focused on the core experience of asking and answering questions within a com m unity.

Yeah!! Yeah!! There is more to implement but here it is for now🫑

Base URL

The base URL for all API endpoints is:

<http://localhost:8080>

Authentication

Authentication is required for most endpoints. Users can register and login to obtain authentication credentials.

Register a new user

POST /api/v1/auth/register

Request Body:

{
  "name": "string",
  "email": "string",
  "password": "string"
}

Response:

{
  "name": "string",
  "email": "string",
  "message": "string",
  "registeredAt": "string (date-time)"
}

Login

POST /api/v1/auth/login