package server and play-node-go
This commit is contained in:
parent
7223d98c36
commit
e69aa9b326
698 changed files with 6652 additions and 75932 deletions
6582
package-lock.json
generated
Normal file
6582
package-lock.json
generated
Normal file
File diff suppressed because it is too large
Load diff
|
@ -1,18 +0,0 @@
|
||||||
# Node Go
|
|
||||||
A browser application to play Go in real time.
|
|
||||||
|
|
||||||
## Development Demo
|
|
||||||
[The project in it's current state](https://play-node-go.herokuapp.com/)
|
|
||||||
|
|
||||||
## Features
|
|
||||||
- [ ] Realtime communications
|
|
||||||
- [ ] Multiple game settings
|
|
||||||
- [ ] Customizable board size
|
|
||||||
|
|
||||||
|
|
||||||
## Built with
|
|
||||||
- [Express](https://expressjs.com)
|
|
||||||
- [React](https://reactjs.org)
|
|
||||||
- [PostgreSQL](https://postgresql.org)
|
|
||||||
- [Socket.io](https://socket.io)
|
|
||||||
- [Sass](https://sass-lang.com)
|
|
|
@ -1,8 +0,0 @@
|
||||||
`hk-api=https://git.heroku.com/node-go-api.git`
|
|
||||||
`hk-play=https://git.heroku.com/play-node-go.git`
|
|
||||||
|
|
||||||
### Server
|
|
||||||
`$ git subtree push --prefix server hk-api master`
|
|
||||||
|
|
||||||
### React
|
|
||||||
`$ git subtree push --prefix play-node-go hk-play master`
|
|
|
@ -1,6 +0,0 @@
|
||||||
{
|
|
||||||
"packages": [
|
|
||||||
"packages/*"
|
|
||||||
],
|
|
||||||
"version": "independent"
|
|
||||||
}
|
|
|
@ -1,7 +1,45 @@
|
||||||
{
|
{
|
||||||
"name": "root",
|
"name": "react-boilerplate",
|
||||||
|
"version": "0.1.0",
|
||||||
"private": true,
|
"private": true,
|
||||||
|
"dependencies": {
|
||||||
|
"@mars/heroku-js-runtime-env": "^3.0.2",
|
||||||
|
"@testing-library/user-event": "^7.1.2",
|
||||||
|
"flow-bin": "^0.114.0",
|
||||||
|
"node-sass": "^4.13.0",
|
||||||
|
"react": "^16.12.0",
|
||||||
|
"react-dom": "^16.12.0",
|
||||||
|
"react-router-dom": "^5.1.2",
|
||||||
|
"react-scripts": "3.3.0",
|
||||||
|
"socket.io-client": "^2.3.0"
|
||||||
|
},
|
||||||
|
"scripts": {
|
||||||
|
"start": "REACT_APP_ENVIRONMENT='development' react-scripts start",
|
||||||
|
"build": "react-scripts build",
|
||||||
|
"test": "react-scripts test",
|
||||||
|
"eject": "react-scripts eject",
|
||||||
|
"flow": "./node_modules/.bin/flow",
|
||||||
|
"predeploy": "REACT_APP_ENVIRONMENT=production npm run build",
|
||||||
|
"postinstall": "react-scripts build"
|
||||||
|
},
|
||||||
|
"eslintConfig": {
|
||||||
|
"extends": "react-app"
|
||||||
|
},
|
||||||
|
"browserslist": {
|
||||||
|
"production": [
|
||||||
|
">0.2%",
|
||||||
|
"not dead",
|
||||||
|
"not op_mini all"
|
||||||
|
],
|
||||||
|
"development": [
|
||||||
|
"last 1 chrome version",
|
||||||
|
"last 1 firefox version",
|
||||||
|
"last 1 safari version"
|
||||||
|
]
|
||||||
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"lerna": "^3.20.2"
|
"@testing-library/jest-dom": "^4.2.4",
|
||||||
|
"@testing-library/react": "^9.4.0",
|
||||||
|
"react-test-renderer": "^16.12.0"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,45 +0,0 @@
|
||||||
{
|
|
||||||
"name": "react-boilerplate",
|
|
||||||
"version": "0.1.0",
|
|
||||||
"private": true,
|
|
||||||
"dependencies": {
|
|
||||||
"@mars/heroku-js-runtime-env": "^3.0.2",
|
|
||||||
"@testing-library/user-event": "^7.1.2",
|
|
||||||
"flow-bin": "^0.114.0",
|
|
||||||
"node-sass": "^4.13.0",
|
|
||||||
"react": "^16.12.0",
|
|
||||||
"react-dom": "^16.12.0",
|
|
||||||
"react-router-dom": "^5.1.2",
|
|
||||||
"react-scripts": "3.3.0",
|
|
||||||
"socket.io-client": "^2.3.0"
|
|
||||||
},
|
|
||||||
"scripts": {
|
|
||||||
"start": "REACT_APP_ENVIRONMENT='development' react-scripts start",
|
|
||||||
"build": "react-scripts build",
|
|
||||||
"test": "react-scripts test",
|
|
||||||
"eject": "react-scripts eject",
|
|
||||||
"flow": "./node_modules/.bin/flow",
|
|
||||||
"predeploy": "REACT_APP_ENVIRONMENT=production npm run build",
|
|
||||||
"postinstall": "react-scripts build"
|
|
||||||
},
|
|
||||||
"eslintConfig": {
|
|
||||||
"extends": "react-app"
|
|
||||||
},
|
|
||||||
"browserslist": {
|
|
||||||
"production": [
|
|
||||||
">0.2%",
|
|
||||||
"not dead",
|
|
||||||
"not op_mini all"
|
|
||||||
],
|
|
||||||
"development": [
|
|
||||||
"last 1 chrome version",
|
|
||||||
"last 1 firefox version",
|
|
||||||
"last 1 safari version"
|
|
||||||
]
|
|
||||||
},
|
|
||||||
"devDependencies": {
|
|
||||||
"@testing-library/jest-dom": "^4.2.4",
|
|
||||||
"@testing-library/react": "^9.4.0",
|
|
||||||
"react-test-renderer": "^16.12.0"
|
|
||||||
}
|
|
||||||
}
|
|
Before Width: | Height: | Size: 318 B After Width: | Height: | Size: 318 B |
|
@ -1,35 +0,0 @@
|
||||||
{
|
|
||||||
"name": "node-go",
|
|
||||||
"version": "0.0.0",
|
|
||||||
"private": true,
|
|
||||||
"scripts": {
|
|
||||||
"start": "node ./bin/www",
|
|
||||||
"test": "mocha ./test/* --exit",
|
|
||||||
"make-migration": "./node_modules/.bin/knex migrate:make",
|
|
||||||
"migrate": "./node_modules/.bin/knex migrate:latest",
|
|
||||||
"migrate-test": "./node_modules/.bin/knex migrate:latest --env test",
|
|
||||||
"seed": "./node_modules/.bin/knex seed:run",
|
|
||||||
"make-seed": "./node_modules/.bin/knex seed:make",
|
|
||||||
"reset-db": "./node_modules/.bin/knex migrate:rollback true && npm run migrate && npm run seed"
|
|
||||||
},
|
|
||||||
"dependencies": {
|
|
||||||
"bcrypt": "^3.0.7",
|
|
||||||
"cookie-parser": "~1.4.4",
|
|
||||||
"cors": "^2.8.5",
|
|
||||||
"debug": "~2.6.9",
|
|
||||||
"dotenv": "^8.2.0",
|
|
||||||
"express": "~4.16.1",
|
|
||||||
"express-validator": "^6.3.1",
|
|
||||||
"http-errors": "~1.6.3",
|
|
||||||
"jsonwebtoken": "^8.5.1",
|
|
||||||
"knex": "^0.20.7",
|
|
||||||
"morgan": "~1.9.1",
|
|
||||||
"pg": "^7.17.0",
|
|
||||||
"socket.io": "^2.3.0"
|
|
||||||
},
|
|
||||||
"devDependencies": {
|
|
||||||
"chai": "^4.2.0",
|
|
||||||
"chai-http": "^4.3.0",
|
|
||||||
"mocha": "^7.0.0"
|
|
||||||
}
|
|
||||||
}
|
|
Before Width: | Height: | Size: 2.6 KiB After Width: | Height: | Size: 2.6 KiB |
Some files were not shown because too many files have changed in this diff Show more
Loading…
Reference in a new issue