Skip to content

Latest commit

 

History

History
77 lines (71 loc) · 1.7 KB

README.md

File metadata and controls

77 lines (71 loc) · 1.7 KB

MERN Stack

MERN stack development using MongoDB, Express.js, React.js, Node.js, and Docker-compose. Front-End development using React.js, Back-End development using Node.js and MongoDB.

Technology Stack

  • Back-End development using Node.js, Express.js, MongoDB
  • Front-End development using React, React Boostrap
  • Docker-compose

Prerequisites

Getting started

  • Clone the repository
git clone https://github.com/khachornchit/MERN-stack
  • Build the project
cd MERN-stack
docker-compose build
docker-compose up -d

URLs

CRUD

POST /scanresults
GET /scanresults
GET /scanresults/{id}
PUT /scanresults/{id}
DELETE /scanresults/{id}

DATA

{
    "status":"In Progress",
    "repositoryName":"Repository Name # 1",
    "findings":[
       {
          "type":"sast1",
          "ruleId":"G402",
          "location":{
             "path":"connectors/apigateway.go",
             "positions":{
                "begin":{
                   "line":60
                }
             }
          },
          "metadata":{
             "description":"TLS InsecureSkipVerify set true.",
             "severity":"HIGH"
          }
       },
       {
          "type":"sast",
          "ruleId":"G404",
          "location":{
             "path":"util/util.go",
             "positions":{
                "begin":{
                   "line":32
                }
             }
          },
          "metadata":{
             "description":"Use of weak random number generator (math/rand instead of crypto/rand)",
             "severity":"HIGH"
          }
       }
    ]
}