This API allows querying and managing a database of questions for use in questionnaires.
- GET /questions/: Retrieve a list of questions.
- POST /questions/: Create a new question (admin only).
Basic authentication is used with the following users:
- alice: wonderland
- bob: builder
- clementine: mandarine
Admin user:
- username: admin
- password: 4dm1N
- Install dependencies:
pip3 install -r requirements.txt
- Start the server:
uvicorn app.main:app --reload
- Test the API:
./test_api.sh