Skip to content

cs5grproj/cs1

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

71 Commits
 
 
 
 
 
 

Repository files navigation

About Project

To incorporate REST API endpoints with various functionalities required for a website (similar to Quora).


Course:

Course 5 Group Project


Project Name:

Social Q&A web-app


Git Repository

https://github.com/cs5grproj/cs1.git


Team Members


REST API Endpoints

Endpoint 1

  • User Controller
    EP1

    EP1

    EP1

Endpoint 2

  • QuestionController EP2

Endpoint 3

  • AnswerController EP3

Project import instructions (Intellij IDEA)

  1. Import Project from Version Control Project Import

  2. Provide GIT repository path to clone the project to the local target directory Project Import

  3. Import Maven dependencies Project Import

    Project Import


Project build instructions

  1. Open terminal available in the Intellij IDE

  2. Change to the project directory i.e Trello_quora

  3. Execute the below Maven commands on the terminal:

    mvn clean install -PskipTests

    mvn clean install -Psetup


Swagger UI

http://localhost:8080/api/swagger-ui.html


Manual Testing Results on Swagger UI

  • Endpoint 1

    TC1

    TC2

    TC3

  • Endpoint 2

    • createQuestion - "/question/create"

      TC4

      TC5

      TC6

    • getAllQuestions - "/question/all"

      TC7

      TC8

      TC9

    • editQuestionContent - "/question/edit/{questionId}"

      TC10

      TC11

      TC12

      TC13

      TC14

    • deleteQuestion - "/question/delete/{questionId}"

      TC15

      TC16

      TC17

      TC18

      TC19

    • getAllQuestionsByUser - "question/all/{userId}"

      TC20

      TC21

      TC22

      TC23

  • Endpoint 3

    • createAnswer - "/question/{questionId}/answer/create"

      TC24

      TC25

      TC26

    • editAnswerContent - "/answer/edit/{answerId}"

      TC27

      TC28

    • deleteAnswer - "/answer/delete/{answerId}"

      TC29

      TC30

      TC35

    • getAllAnswersToQuestion - "answer/all/{questionId}"

      TC31

      TC32

      TC33

      TC34

About

Group Case Study 1

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •  

Languages