Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/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.
https://github.com/khachornchit/mern-stack.js

expressjs mongodb mongoose nodejs reactjs reactjs-bootstrap

Last synced: 5 days ago
JSON representation

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.

Awesome Lists containing this project

README

        

# 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
* Install [Docker](https://www.docker.com/)

## 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
* [Frontend](http://localhost:8081/)
* [API Endpoint](http://localhost:8082/api)

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