Skip to content

Commit 98954ec

Browse files
authored
Merge pull request #148 from oslabs-beta/dev
Beta v1.0.0
2 parents 5d8cde1 + 847fb01 commit 98954ec

File tree

12 files changed

+131
-124
lines changed

12 files changed

+131
-124
lines changed

README.md

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<p align="center" ><img src="public/assets/pictures/ProtographQLBanner.png" width="650px"></p>
1+
<p align="center" ><img src="public/assets/pictures/ProtographQLBanner.png" width="800px"></p>
22

33
# ProtoGraphQL
44

@@ -24,13 +24,25 @@ Upcoming releases include adding visual indicators for table relationships in th
2424

2525
1. When the application loads, click on **Add Table** and populate the table form with a name and new fields. Optionally, you may also use the last three inputs in the form to create relationships to other tables. When you are done, click **Save**.
2626

27+
<p align="center"><kbd><img src="public/assets/pictures/add-table demo.mov.gif" width="800px"></kbd><p>
28+
2729
2. Navigate to the **Schema**, **Code**, and **Visualize** tabs to toggle views:
2830
* **Schema** - view, edit, or delete tables you've added
31+
32+
<p align="center"><kbd><img src="public/assets/pictures/Schema_Screenshot.png" width="800px"></kbd></p>
33+
2934
* **Code** - view generated GraphQL and SQL code before export
35+
36+
<p align="center"><kbd><img src="public/assets/pictures/Code_Screenshot.png" width="800px"></kbd></p>
37+
3038
* **Visualize** - view the GraphQL schema intuitively as a simple tree
39+
40+
<p align="center" ><kbd><img src="public/assets/pictures/tree visializer demo.gif" width="800px"></kbd></p>
3141

3242
3. Export the code by clicking the **Export** icon.
3343

44+
<p align="center" ><kbd><img src="public/assets/pictures/Export_Screenshot.png" width="800px"></kbd></p>
45+
3446
4. Enter your Postgres database URI and then select the directory you want to save your executable GraphQL server.
3547

3648
## How to Run GraphQL Server:

apollo-server/db/createTables.sql

Whitespace-only changes.

package.json

Lines changed: 89 additions & 47 deletions
Original file line numberDiff line numberDiff line change
@@ -7,71 +7,113 @@
77
"start": "electron .",
88
"build": "webpack -p",
99
"dev": "webpack-dev-server --mode=development",
10-
"test": "test",
11-
"package": "electron-forge make",
12-
"package-linux": "electron-packager . --linux --asar",
13-
"package-mac": "electron-packager . --darwin --asar",
14-
"package-win": "electron-packager . --platform win32 --arch x64 --asar"
10+
"pack": "build --dir",
11+
"dist": "build",
12+
"package-all": "build && electron-builder build -mwl",
13+
"test": "test"
14+
},
15+
"build": {
16+
"productName": "ProtoGraphQL",
17+
"appId": "org.oslabs.Protographql.todo",
18+
"asar": false,
19+
"files": [
20+
"public/",
21+
"index.html",
22+
"main.js",
23+
"apollo-server/",
24+
"package.json"
25+
],
26+
"dmg": {
27+
"contents": [
28+
{
29+
"x": 130,
30+
"y": 220
31+
},
32+
{
33+
"x": 410,
34+
"y": 220,
35+
"type": "link",
36+
"path": "/Applications"
37+
}
38+
]
39+
},
40+
"win": {
41+
"target": [
42+
"nsis",
43+
"msi"
44+
]
45+
},
46+
"linux": {
47+
"target": [
48+
"deb",
49+
"rpm",
50+
"snap",
51+
"AppImage"
52+
],
53+
"category": "Development"
54+
},
55+
"directories": {
56+
"buildResources": "public/assets/pictures/icon",
57+
"output": "release"
58+
},
59+
"publish": {
60+
"provider": "github",
61+
"owner": "oslabs-beta",
62+
"repo": "protographql",
63+
"private": false
64+
}
1565
},
1666
"repository": {
1767
"type": "git",
1868
"url": "git+https://github.com/protographql/protographql.git"
1969
},
20-
"author": "",
70+
"author": {
71+
"name": "ProtoGraphQL",
72+
"email": "protographql-labs@todo.com",
73+
"url": "https://protographql.todo.org"
74+
},
75+
"contributors": [
76+
{
77+
"name": "Alena Budzko",
78+
"email": "#TODO",
79+
"url": "#TODO"
80+
},
81+
{
82+
"name": "Bryan Fong",
83+
"email": "",
84+
"url": ""
85+
},
86+
{
87+
"name": "Rodolfo Guzman",
88+
"email": "",
89+
"url": ""
90+
},
91+
{
92+
"name": "Jarred Jack-Harewood",
93+
"email": "",
94+
"url": ""
95+
},
96+
{
97+
"name": "Geoffrey Lin",
98+
"email": "",
99+
"url": ""
100+
}
101+
],
21102
"license": "ISC",
22103
"bugs": {
23104
"url": "https://github.com/protographql/protographql/issues"
24105
},
25106
"homepage": "https://github.com/protographql/protographql#readme",
26-
"config": {
27-
"forge": {
28-
"electronPackagerConfig": {
29-
"asar": true,
30-
"executableName": "protographql",
31-
"icon": "public/pictures/icon/icon",
32-
"overwrite": true,
33-
"prune": true,
34-
"arch": "x64"
35-
},
36-
"make_targets": {
37-
"darwin": [
38-
"dmg"
39-
],
40-
"linux": [
41-
"deb"
42-
]
43-
},
44-
"makers": [
45-
{
46-
"name": "@electron-forge/maker-deb",
47-
"config": {
48-
"options": {
49-
"homepage": "https://github.com/protographql/protographql#readme"
50-
}
51-
}
52-
},
53-
{
54-
"name": "@electron-forge/maker-dmg",
55-
"config": {
56-
"format": "ULFO"
57-
}
58-
}
59-
]
60-
}
61-
},
62107
"devDependencies": {
63108
"@babel/core": "^7.4.5",
64109
"@babel/preset-env": "^7.4.5",
65110
"@babel/preset-react": "^7.0.0",
66-
"@electron-forge/maker-deb": "^6.0.0-beta.39",
67-
"@electron-forge/maker-squirrel": "^6.0.0-beta.39",
68111
"@material-ui/core": "^4.0.2",
69112
"awesome-typescript-loader": "^5.2.1",
70113
"babel-loader": "^8.0.6",
71114
"css-loader": "^2.1.1",
72115
"d3": "^5.9.2",
73116
"electron": "^5.0.5",
74-
"electron-packager": "^14.0.0",
75117
"enzyme": "^3.9.0",
76118
"eslint": "^5.16.0",
77119
"eslint-plugin-react": "^7.13.0",
@@ -87,12 +129,12 @@
87129
"webpack-dev-server": "^3.5.1"
88130
},
89131
"dependencies": {
90-
"archiver": "^3.0.0",
91132
"@material-ui/icons": "^4.0.1",
92133
"@types/react": "^16.8.19",
93134
"@types/react-dom": "^16.8.4",
135+
"archiver": "^3.0.0",
94136
"react": "^16.8.6",
95137
"react-dom": "^16.8.6",
96138
"react-draggable": "^3.3.0"
97139
}
98-
}
140+
}
528 KB
Loading
539 KB
Loading
230 KB
Loading
3.95 MB
Loading
39.6 KB
Binary file not shown.
3.35 MB
Loading

public/index.html

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
<!DOCTYPE html>
2+
<html>
3+
4+
<head>
5+
<meta charset="UTF-8" />
6+
<title>ProtoGraphQL</title>
7+
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Roboto:300,400,500">
8+
<!-- Fonts to support Material Design -->
9+
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Roboto:300,400,500&display=swap" />
10+
<!-- Icons to support Material Design -->
11+
<link rel="stylesheet" href="https://fonts.googleapis.com/icon?family=Material+Icons" />
12+
<!-- Roboto font -->
13+
<link href="https://fonts.googleapis.com/css?family=Roboto&display=swap" rel="stylesheet">
14+
<!-- icons library -->
15+
<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.7.0/css/all.css"
16+
integrity="sha384-lZN37f5QGtY3VHgisS14W3ExzMWZxybE1SJSEsQp9S+oqd12jhcu+A56Ebc1zFSJ" crossorigin="anonymous">
17+
<link rel="stylesheet" href="styles.css">
18+
</head>
19+
20+
<body>
21+
<div id="root"></div>
22+
<script src="bundle.js"></script>
23+
</body>
24+
25+
</html>

0 commit comments

Comments
 (0)