khachornchit / MERN-Stack.js

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.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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"
          }
       }
    ]
}

About

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.

License:MIT License


Languages

Language:JavaScript 85.4%Language:HTML 8.9%Language:CSS 4.0%Language:Dockerfile 1.6%