Skip to content

Commit 2bdb930

Browse files
committed
added the entire project
0 parents  commit 2bdb930

File tree

223 files changed

+24993
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

223 files changed

+24993
-0
lines changed

.env.example

+37
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
# Base env vars
2+
NODE_ENV=#{NODE_ENV}
3+
LOG_LEVEL=#{LOG_LEVEL}
4+
PORT=#{PORT}
5+
6+
# Other env vars
7+
APP_URL=#{APP_URL}
8+
9+
# Email env vars
10+
EMAIL_PROVIDER=#{EMAIL_PROVIDER}
11+
EMAIL_PROVIDER_API_KEY=#{EMAIL_PROVIDER_API_KEY}
12+
EMAIL_PROVIDER_REPLY_EMAIL=#{EMAIL_PROVIDER_REPLY_EMAIL}
13+
14+
# AWS env vars
15+
AWS_ACCESS_KEY_ID=#{AWS_ACCESS_KEY_ID}
16+
AWS_SECRET_ACCESS_KEY=#{AWS_SECRET_ACCESS_KEY}
17+
AWS_SESSION_TOKEN=#{AWS_SESSION_TOKEN}
18+
AWS_DEFAULT_REGION=#{AWS_DEFAULT_REGION}
19+
S3_BUCKET_NAME=#{S3_BUCKET_NAME}
20+
21+
# Neptune DB env vars
22+
NEPTUNE_ENDPOINT=#{NEPTUNE_ENDPOINT}
23+
NEPTUNE_PORT=#{NEPTUNE_PORT}
24+
USE_IAM=#{USE_IAM}
25+
26+
# Logging related env vars
27+
LOG_STORAGE_PROVIDER=#{LOG_STORAGE_PROVIDER}
28+
LOCAL_LOG_FOLDER=#{LOCAL_LOG_FOLDER}
29+
30+
# Admin User Profile
31+
ADMIN_NAME=#{ADMIN_NAME}
32+
ADMIN_EMAIL=#{ADMIN_EMAIL}
33+
ADMIN_PASSWORD=#{ADMIN_PASSWORD}
34+
35+
# ORG Vars
36+
ORG_NAME=#{ORG_NAME}
37+
ENV_NAME=#{ENV_NAME}

.eslintignore

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
coverage/*
2+
node_modules/*
3+
build/*
4+
.eslintrc.js
5+
src/fastify/fastifyRoutes/fake/*

.eslintrc.js

+18
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
module.exports = {
2+
env: {
3+
browser: true,
4+
es2021: true,
5+
},
6+
extends: 'standard-with-typescript',
7+
overrides: [],
8+
parserOptions: {
9+
project: ['tsconfig.json'],
10+
ecmaVersion: 'latest',
11+
sourceType: 'module',
12+
},
13+
rules: {
14+
'@typescript-eslint/no-misused-promises': 'off',
15+
'@typescript-eslint/ban-ts-comment': 'off',
16+
'@typescript-eslint/space-before-function-paren': 0,
17+
},
18+
}

.github/ISSUE_TEMPLATE/bug_report.md

+29
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
---
2+
name: Bug report
3+
about: Create a report to help us improve
4+
title: '[BUG]: '
5+
labels: ['bugs']
6+
assignees: 'abhishekctv'
7+
8+
---
9+
10+
**Describe the bug**
11+
A clear and concise description of what the bug is.
12+
13+
**To Reproduce**
14+
Steps to reproduce the behavior:
15+
1. Example code
16+
17+
**Expected behavior**
18+
A clear and concise description of what you expected to happen.
19+
20+
**Screenshots**
21+
If applicable, add screenshots to help explain your problem.
22+
23+
**Platform information**
24+
- OS: [e.g. Windows]
25+
- Browser [e.g. Chrome]
26+
- Browser Version [e.g. 22]
27+
28+
**Additional context**
29+
Add any other context about the problem here.
+20
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
---
2+
name: Feature request
3+
about: Suggest an idea for this project
4+
title: '[FEATURE]: '
5+
labels: ['enhancement', 'new-feature']
6+
assignees: 'abhishekctv'
7+
8+
---
9+
10+
**Is your feature request related to a problem? Please describe.**
11+
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
12+
13+
**Describe the solution you'd like**
14+
A clear and concise description of what you want to happen.
15+
16+
**Describe alternatives you've considered**
17+
A clear and concise description of any alternative solutions or features you've considered.
18+
19+
**Additional context**
20+
Add any other context or screenshots about the feature request here.

.github/workflows/lint.yml

+15
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
name: Eslint Check
2+
on:
3+
push:
4+
branches: [main,develop]
5+
pull_request:
6+
branches: [main,develop]
7+
jobs:
8+
build:
9+
runs-on: ubuntu-latest
10+
steps:
11+
- uses: actions/checkout@v2
12+
- name: Install modules
13+
run: npm install
14+
- name: Run ESLint
15+
run: npm run eslint

.gitignore

+75
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,75 @@
1+
# Logs
2+
# logs
3+
*.log
4+
npm-debug.log*
5+
.env
6+
secret-key
7+
8+
# Prisma files
9+
prisma/dev.db
10+
prisma/dev.db-journal
11+
12+
# Runtime data
13+
pids
14+
*.pid
15+
*.seed
16+
17+
# Directory for instrumented libs generated by jscoverage/JSCover
18+
lib-cov
19+
20+
# Coverage directory used by tools like istanbul
21+
coverage
22+
23+
# nyc test coverage
24+
.nyc_output
25+
26+
# Grunt intermediate storage (http://gruntjs.com/creating-plugins#storing-task-files)
27+
.grunt
28+
29+
# node-waf configuration
30+
.lock-wscript
31+
32+
# Compiled binary addons (http://nodejs.org/api/addons.html)
33+
build/Release
34+
35+
# Dependency directories
36+
node_modules
37+
jspm_packages
38+
39+
# Optional npm cache directory
40+
.npm
41+
42+
# Optional REPL history
43+
.node_repl_history
44+
45+
# 0x
46+
profile-*
47+
48+
# mac files
49+
.DS_Store
50+
51+
# vim swap files
52+
*.swp
53+
54+
# webstorm
55+
.idea
56+
57+
# vscode
58+
.vscode
59+
*code-workspace
60+
61+
# clinic
62+
profile*
63+
*clinic*
64+
*flamegraph*
65+
66+
# generated code
67+
examples/typescript-server.js
68+
test/types/index.js
69+
70+
# compiled app
71+
dist
72+
73+
logs/
74+
75+
fake

.nvmrc

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
16

.prettierrc.js

+7
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
module.exports = {
2+
semi: false,
3+
trailingComma: 'all',
4+
singleQuote: true,
5+
printWidth: 100,
6+
tabWidth: 2,
7+
};

.taprc

+4
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
test-env: [
2+
TS_NODE_FILES=true,
3+
TS_NODE_PROJECT=./test/tsconfig.json
4+
]

README.md

+146
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,146 @@
1+
<a name="readme-top"></a>
2+
3+
<br />
4+
<div align="center">
5+
<a href="https://github.com/SwapnilTechVariable/NeptuneConnect">
6+
<img src="https://neptune-cdn.s3.amazonaws.com/logo.png" alt="Logo" width="80" height="80">
7+
</a>
8+
9+
<h3 align="center">Neptune Connect</h3>
10+
11+
<p align="center">
12+
Neptune Connect is a free interactive tool for querying, optimizing, analyzing, and visualizing your Gremlin-based graph database data.
13+
<br />
14+
<a href="https://github.com/demo-website">View Demo</a>
15+
·
16+
<a href="https://github.com/issues">Report Bug</a>
17+
·
18+
<a href="https://github.com/issues">Request Feature</a>
19+
</p>
20+
</div>
21+
22+
23+
<!-- TABLE OF CONTENTS -->
24+
<details>
25+
<summary>Table of Contents</summary>
26+
<ol>
27+
<li>
28+
<a href="#about-the-project">About The Project</a>
29+
<ul>
30+
<li><a href="#features">Features</a></li>
31+
<li><a href="#built-with">Built With</a></li>
32+
</ul>
33+
</li>
34+
<li>
35+
<a href="#getting-started">Getting Started</a>
36+
<ul>
37+
<li><a href="#prerequisites">Prerequisites</a></li>
38+
<li><a href="#installation">Installation</a></li>
39+
</ul>
40+
</li>
41+
<li><a href="#usage">Usage</a></li>
42+
<li><a href="#roadmap">Roadmap</a></li>
43+
<li><a href="#license">License</a></li>
44+
<li><a href="#contact">Contact</a></li>
45+
</ol>
46+
</details>
47+
48+
49+
50+
<!-- ABOUT THE PROJECT -->
51+
## About The Project
52+
53+
[![Product Name Screen Shot][product-screenshot]](https://example.com)
54+
55+
Neptune Connect is a free interactive tool for querying, optimizing, analyzing, and visualizing your Gremlin-based graph database data.
56+
57+
### Features
58+
59+
#### Effortlessly query your data
60+
Find the data you need in seconds with Neptune Connect’s built-in query editor. With both Table view and JSON view, you can easily play with the data.
61+
62+
#### Powerful Query Builder
63+
With a powerful query builder, there is no need to write your custom query. With Neptune-Connect you can easily generate queries for performing basic to advanced operations.
64+
65+
#### Generate reports from your data
66+
Use Neptune-Connect to generate reports in various formats with the data you want in the way you want.
67+
68+
#### Highly-Configurable RBAC
69+
With a highly-configurable RBAC system, you can control who can do what. Furthermore, with query logs, every query executed in the system is logged.
70+
71+
#### Edit and Insert data with query
72+
With a powerful way to insert or edit data using the UI, there is no need to update or insert data by manually writing complex queries.
73+
74+
#### Visualize the data
75+
With a powerful way to visualize the nodes and edges, Neptune Connect helps you to easily understand the relationship between the nodes.
76+
77+
<p align="right">(<a href="#readme-top">back to top</a>)</p>
78+
79+
80+
### Built With
81+
82+
This section should list any major frameworks/libraries used to bootstrap your project. Leave any add-ons/plugins for the acknowledgements section. Here are a few examples.
83+
84+
- TypeScript
85+
- NodeJS
86+
- Fastify
87+
- EJS
88+
- Prisma
89+
90+
<p align="right">(<a href="#readme-top">back to top</a>)</p>
91+
92+
93+
94+
<!-- GETTING STARTED -->
95+
## Getting Started
96+
97+
Neptune Connect can be installed on both a server or your local machine. If you're setting it up on a local server then you need to have a running gremlin database.
98+
99+
### Prerequisites
100+
101+
1. NodeJS 16.x.
102+
2. NPM
103+
3. Curl and Wget
104+
4. AWS Neptine or local gremlin instance
105+
5. Active internet connection
106+
107+
### Installation
108+
109+
To install Neptune Connect on your system, run the following command
110+
111+
```bash
112+
bash <(curl -s https://neptune-cdn.s3.amazonaws.com/install.sh)
113+
```
114+
115+
This script mentioned above will automatically run a `.sh` file and download the nexessery files.
116+
117+
Note: The script will ask some questions to set up Neptune Connect.
118+
119+
<p align="right">(<a href="#readme-top">back to top</a>)</p>
120+
121+
<!-- USAGE EXAMPLES -->
122+
## Usage
123+
124+
125+
126+
<p align="right">(<a href="#readme-top">back to top</a>)</p>
127+
128+
129+
130+
<!-- ROADMAP -->
131+
## Roadmap
132+
133+
- [ ] Add support for database visualizations
134+
- [ ] Add support to save queries
135+
- [ ] Add support for dark mode
136+
137+
See the [open issues](https://github.com/SwapnilTechVariable/NeptuneConnect/issues) for a full list of proposed features (and known issues).
138+
139+
<p align="right">(<a href="#readme-top">back to top</a>)</p>
140+
141+
<!-- LICENSE -->
142+
## License
143+
144+
Distributed under the Server Side Public License. See `LICENSE.md` for more information.
145+
146+
<p align="right">(<a href="#readme-top">back to top</a>)</p>

config/development.json

+14
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
{
2+
"server": {
3+
"env": "development",
4+
"isDevelopment": true,
5+
"logger": {
6+
"level": "debug"
7+
}
8+
},
9+
"notifications": {
10+
"invitation": {
11+
"replyEmail": "[email protected]"
12+
}
13+
}
14+
}

0 commit comments

Comments
 (0)