tudorconstantin / knests Goto Github PK
View Code? Open in Web Editor NEWFull-stack boilerplate (project/hackathon starter) with Docker/NodeJS/Typescript/GraphQL/React/Material-UI
License: MIT License
Full-stack boilerplate (project/hackathon starter) with Docker/NodeJS/Typescript/GraphQL/React/Material-UI
License: MIT License
When spinning up, I get the following dependency error:
Building server
Step 1/7 : FROM node:16.13.0-alpine3.11 AS builder
---> ef75ab605b08
Step 2/7 : RUN apk add --no-cache python make g++
---> Using cache
---> 6711b49f3e1a
Step 3/7 : RUN addgroup -S nodegroup && adduser -S -G node nodegroup
---> Using cache
---> 68d87abaa70a
Step 4/7 : USER node
---> Using cache
---> 7d2b77d55a34
Step 5/7 : WORKDIR /home/node
---> Using cache
---> a4716a856254
Step 6/7 : COPY --chown=node:nodegroup package.json /home/node/
---> Using cache
---> d1d555ffd3c3
Step 7/7 : RUN npm install
---> Running in b580bfef63fe
npm notice
npm notice New minor version of npm available! 8.1.0 -> 8.3.2
npm notice Changelog: <https://github.com/npm/cli/releases/tag/v8.3.2>
npm notice Run `npm install -g [email protected]` to update!
npm notice
npm ERR! code ERESOLVE
npm ERR! ERESOLVE unable to resolve dependency tree
npm ERR!
npm ERR! While resolving: [email protected]
npm ERR! Found: @nestjs/[email protected]
npm ERR! node_modules/@nestjs/common
npm ERR! @nestjs/common@"8.2.3" from the root project
npm ERR!
npm ERR! Could not resolve dependency:
npm ERR! peer @nestjs/common@"^6.0.0" from @nestjsplus/[email protected]
npm ERR! node_modules/@nestjsplus/config
npm ERR! @nestjsplus/config@"1.0.14" from the root project
npm ERR!
npm ERR! Fix the upstream dependency conflict, or retry
npm ERR! this command with --force, or --legacy-peer-deps
npm ERR! to accept an incorrect (and potentially broken) dependency resolution.
npm ERR!
npm ERR! See /home/node/.npm/eresolve-report.txt for a full report.
npm ERR! A complete log of this run can be found in:
npm ERR! /home/node/.npm/_logs/2022-01-27T08_24_00_716Z-debug.log
ERROR: Service 'server' failed to build: The command '/bin/sh -c npm install' returned a non-zero code: 1
Hey,
Great package! I'm still going through it and disclaimer, I've only been messing around with Docker for a couple of months, but is there any way that you know if to add npm packages without rebuilding the image? Not within your package, but in general?
It's a real drag having to rebuild the image every time you add a new image in dev.
Thanks
Would hasten the development here a good bit! I'm looking into it now, wonder if you thought about this before
There is an error with this repository's Renovate configuration that needs to be fixed. As a precaution, Renovate will stop PRs until it is resolved.
Error type: undefined. Note: this is a nested preset so please contact the preset author if you are unable to fix it yourself.
...should they?
I also tried using the Logger class, those also don't show up in the terminal window when running the docker command, is this expected?
WebSocket connection to 'ws://localhost:8080/graphql' failed: Error during WebSocket handshake: Unexpected response code: 400
get this pretty often and haven't been able to figure out why yet. checked and auth header is getting set correctly once on the dashboard
Hey! This is a cool project, I haven't used this stack before and wanted to try it out.
started off by trying to extend passport to also have facebook login, followed this tutorial, and every time I try to hit /facebook
i get a 404. not sure what's going on. RoutesExplorer
shows the route being mapped, so I'm not sure what's going on.
also, do i always have to run rm -rf client/dist && docker-compose -f docker-compose.yml -f docker-compose.dev.yml up --build -V --force-recreate
to start the project, or is there a shorter command? (first time using docker as well ๐)
This issue lists Renovate updates and detected dependencies. Read the Dependency Dashboard docs to learn more.
Warning
These dependencies are deprecated:
Datasource | Name | Replacement PR? |
---|---|---|
npm | @material-ui/core |
|
npm | @material-ui/icons |
|
npm | @material-ui/styles |
|
npm | @types/jwt-decode |
|
npm | @types/knex |
|
npm | node-sass |
|
npm | subscriptions-transport-ws |
These updates are currently rate-limited. Click on a checkbox below to force their creation now.
@nestjs/common
, @nestjs/passport
, @nestjs/platform-express
, @nestjs/testing
)@apollo/client
, @apollo/gateway
, apollo-server-express
)@babel/plugin-transform-modules-commonjs
, @babel/preset-typescript
)bcrypt
, @types/bcrypt
)@graphql-tools/schema
, graphql-tools
)node
, @types/node
)playwright
, playwright-chromium
)@typescript-eslint/eslint-plugin
, @typescript-eslint/parser
)passport-jwt
, @types/passport-jwt
)supertest
, @types/supertest
)@graphql-tools/schema
, graphql-tools
)@types/jest
, jest
, ts-jest
)@nestjs/common
, @nestjs/passport
, @nestjs/platform-express
, @nestjs/schematics
, @nestjs/testing
)node
, @types/node
)@typescript-eslint/eslint-plugin
, @typescript-eslint/parser
)These updates have all been created already. Click a checkbox below to force a retry/rebase of any.
@types/react
, react
, react-dom
)docker-compose.build.yml
docker-compose.dev.yml
docker-compose.production.yml
docker-compose.staging.yml
docker-compose.test.yml
docker-compose.yml
postgres 14.2
client/Dockerfile
node 14.19.3-buster
e2e_tests/Dockerfile
node 16.15.0-buster
server/Dockerfile
node 16.13.0-alpine3.11
node 16.13.0-alpine3.11
.github/workflows/main.yml
actions/checkout v2
.gitlab-ci.yml
docker 20.10.16
docker/compose 1.29.2
docker/compose 1.29.2
client/package.json
@apollo/client 3.6.5
@material-ui/core 4.12.4
@material-ui/icons 4.11.3
@material-ui/styles 4.11.5
@types/jwt-decode 3.1.0
@types/node 16.11.36
@types/react 17.0.45
@types/uuid 8.3.4
apollo-link-ws 1.0.20
chart.js 3.8.0
node-sass 7.0.1
graphql 16.8.1
graphql-tag 2.12.6
http-proxy-middleware 2.0.6
js-cookie 3.0.1
jwt-decode 3.1.2
moment 2.29.4
next 12.1.6
next-with-apollo 5.3.0
react 17.0.2
react-chartjs-2 4.1.0
react-dom 17.0.2
react-perfect-scrollbar 1.5.8
typescript 4.6.3
validate.js 0.13.1
@istanbuljs/nyc-config-typescript 1.0.2
@types/supertest 2.0.12
@typescript-eslint/eslint-plugin 5.20.0
@typescript-eslint/parser 5.20.0
babel-plugin-istanbul 6.1.1
eslint 8.16.0
eslint-config-next 12.1.6
eslint-plugin-import 2.26.0
eslint-plugin-jsdoc 39.3.2
eslint-plugin-prefer-arrow 1.2.3
express 4.18.1
link-module-alias 1.2.0
nodemon 2.0.16
nyc 15.1.0
source-map-support 0.5.21
ts-node 10.7.0
node >=14.3.0
e2e_tests/package.json
@istanbuljs/nyc-config-typescript 1.0.2
@types/jest 27.5.1
@types/node 16.11.36
jest 27.5.1
jest-playwright-preset 1.7.2
nyc 15.1.0
ts-jest 27.1.5
typescript 4.6.3
playwright 1.21.1
playwright-chromium 1.21.1
@babel/plugin-transform-modules-commonjs 7.18.2
@babel/preset-typescript 7.17.12
node >=14.3.0
server/package.json
@graphql-tools/schema 8.3.13
@nestjs/common 8.4.5
@nestjs/config 1.2.1
@nestjs/core 8.4.5
@nestjs/graphql 9.2.7
@nestjs/jwt 8.0.1
@nestjs/passport 8.2.1
@nestjs/platform-express 8.4.5
apollo-server-express 3.8.1
bcrypt 5.0.1
class-transformer 0.5.1
class-validator 0.14.0
graphql 15.8.0
graphql-tools 8.2.11
knex 1.0.7
knex-migrate 1.7.4
nestjs-knex 2.0.0
passport 0.5.2
passport-jwt 4.0.0
passport-local 1.0.0
pg 8.7.3
reflect-metadata 0.1.13
rimraf 3.0.2
subscriptions-transport-ws 0.11.0
ts-morph 13.0.3
type-graphql 1.1.1
@apollo/gateway 0.51.0
@istanbuljs/nyc-config-typescript 1.0.2
@nestjs/cli 8.2.6
@nestjs/schematics 8.0.11
@nestjs/testing 8.4.5
@types/bcrypt 5.0.0
@types/jest 27.5.1
@types/knex 0.16.1
@types/passport-jwt 3.0.6
@types/node 16.11.36
@types/supertest 2.0.12
eslint 8.16.0
@typescript-eslint/eslint-plugin 5.20.0
@typescript-eslint/parser 5.20.0
eslint-plugin-import 2.26.0
eslint-plugin-jsdoc 39.3.2
eslint-plugin-prefer-arrow 1.2.3
jest 27.5.1
nyc 15.1.0
prettier 2.6.2
source-map-support 0.5.21
supertest 6.2.3
ts-jest 27.1.5
ts-loader 9.2.8
ts-node 10.7.0
typescript 4.6.3
tsconfig-paths 3.14.1
node >=14.3.0
Line 6 in 64b0536
They point to resources that have either been moved or don't exist
proxy request /graphql from localhost:8080 to http://server:8081/graphql (ECONNREFUSED)
haven't found a way around this yet
Hey,
Just looking over your code and I'm wondering how you're serving the next.js app. I don't see a next.js module under server
directory, so I'm wondering if you're even using SSR.
I'm guessing you're serving it SSR through ZEIT and you're using nest.js as an API server or graphql in this case. If this is true, it would mean your next.js server has to request data from the API server each time a request is made? Is this right?
Thanks
is it compatible in windows? I am having issues while building docker.
I'm looking into hosting this project now, wondering if it's best to use ECS or UKS? I noticed you mentioned kubernetes in the roadmap, wondering why you made that choice?
I'm looking into hosting this project now, wondering if it's best to use ECS or UKS? I noticed you mentioned kubernetes in the roadmap, wondering why you made that choice?
Error: Missing "driver" option. In the latest version of "@nestjs/graphql" package (v10) a new required configuration property called "driver" has been introduced.
Hey, you should add your npm/yarm lock files to the repo
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.