Skip to content

burakozkan138/questionanswerapi

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Question Answer API

Overview

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.

Installation

You can run the project locally by following the steps below.

Step 1: Clone the Repository

Clone the GitHub repository to your local environment:

git clone https://github.com/burakozkan138/questionanswerapi.git

Step 2: Navigate to the Project Directory

Navigate to the root directory of the project.

cd questionanswerapi

Step 3: Configure Environment

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

Step 4: Deploy with Docker

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

Usage

If the project has been successfully deployed, visit the following URL to access the Swagger interface:

http://localhost:8080/swagger

Notes

To view the Postman workspace used in the project, you can utilize the following link:

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published