Question Answer API
This project aims to develop a question-answer API. The API provides users with the ability to ask questions and receive answers. Additionally, API users can perform operations such as saving, updating, and deleting questions.
You can run the project locally by following the steps below.
Clone the GitHub repository to your local environment:
git clone https://github.com/burakozkan138/questionanswerapi.git
Navigate to the root directory of the project.
cd questionanswerapi
Copy the required config files from the example files and make the necessary modifications.
# For Linux
cp config/.env.example config/.env && cp config/.env.example config/.env.test
# For Windows
copy config\.env.example config\.env && copy config\.env.example config\.env.test
After configuring the environment, ensure that the database environment section in the docker-compose.yml file is correct, then deploy the project on Docker.
docker-compose up -d --build
If the project has been successfully deployed, visit the following URL to access the Swagger interface:
http://localhost:8080/swagger
To view the Postman workspace used in the project, you can utilize the following link: