remove simple-wallet server

This commit is contained in:
Andrea Franz 2020-03-16 16:24:44 +01:00
parent 130adba554
commit a97b2fe322
No known key found for this signature in database
GPG Key ID: 4F0D2F2D9DE7F29D
36 changed files with 11825 additions and 12223 deletions

View File

@ -1,2 +0,0 @@
server: PORT=5000 yarn start
client: cd client && PORT=3000 yarn start

View File

@ -1,51 +0,0 @@
{
"name": "simple-wallet",
"version": "0.0.1",
"description": "",
"scripts": {
"start": "react-scripts start",
"build": "react-scripts build",
"test": "react-scripts test",
"eject": "react-scripts eject"
},
"keywords": [],
"author": "",
"license": "MIT",
"eslintConfig": {
"extends": "react-app"
},
"dependencies": {
"@material-ui/core": "^4.7.0",
"@material-ui/icons": "^4.5.1",
"@material-ui/styles": "^4.6.0",
"qrcode-generator-ts": "^0.0.4",
"react": "^16.12.0",
"react-dom": "^16.12.0",
"react-redux": "^7.1.1",
"redux": "^4.0.4",
"redux-thunk": "^2.3.0",
"typeface-roboto": "^0.0.75",
"web3": "^1.2.4"
},
"devDependencies": {
"@types/react": "^16.9.2",
"@types/react-dom": "^16.9.0",
"@types/react-redux": "^7.1.2",
"react-scripts": "3.2.0",
"source-map-loader": "^0.2.4",
"ts-loader": "^6.1.2",
"typescript": "^3.6.3"
},
"browserslist": {
"production": [
">0.2%",
"not dead",
"not op_mini all"
],
"development": [
"last 1 chrome version",
"last 1 firefox version",
"last 1 safari version"
]
}
}

File diff suppressed because it is too large Load Diff

View File

@ -1,15 +0,0 @@
const path = require('path');
const express = require('express');
const port = process.env.PORT || 5000;
const app = express();
if (process.env.NODE_ENV == "production") {
app.use(express.static(path.join(__dirname, 'client/build')));
app.get('*', (req, res) => {
res.sendFile(path.join(__dirname, '/client/build/index.html'));
});
}
app.listen(port, () => console.log(`listening on port ${port}`));

View File

@ -1,13 +1,51 @@
{
"name": "simple-wallet-server",
"version": "1.0.0",
"main": "index.js",
"private": true,
"name": "simple-wallet",
"version": "0.0.1",
"description": "",
"scripts": {
"start": "node index.js",
"heroku-postbuild": "cd client && NODE_ENV=development yarn && yarn run build"
"start": "react-scripts start",
"build": "react-scripts build",
"test": "react-scripts test",
"eject": "react-scripts eject"
},
"keywords": [],
"author": "",
"license": "MIT",
"eslintConfig": {
"extends": "react-app"
},
"dependencies": {
"express": "^4.17.1"
"@material-ui/core": "^4.7.0",
"@material-ui/icons": "^4.5.1",
"@material-ui/styles": "^4.6.0",
"qrcode-generator-ts": "^0.0.4",
"react": "^16.12.0",
"react-dom": "^16.12.0",
"react-redux": "^7.1.1",
"redux": "^4.0.4",
"redux-thunk": "^2.3.0",
"typeface-roboto": "^0.0.75",
"web3": "^1.2.4"
},
"devDependencies": {
"@types/react": "^16.9.2",
"@types/react-dom": "^16.9.0",
"@types/react-redux": "^7.1.2",
"react-scripts": "3.2.0",
"source-map-loader": "^0.2.4",
"ts-loader": "^6.1.2",
"typescript": "^3.6.3"
},
"browserslist": {
"production": [
">0.2%",
"not dead",
"not op_mini all"
],
"development": [
"last 1 chrome version",
"last 1 firefox version",
"last 1 safari version"
]
}
}

File diff suppressed because it is too large Load Diff