nestjs starter
1.0.0
이 템플릿을 사용하십시오
가지고 있습니다
아래 배포는 아마도 절전 모드에 있으며 열 때 온라인으로 오는 데 1 분이 걸립니다.
cp .env.example .env
docker-compose up
docker-compose exec web yarn lint
docker-compose exec web yarn test
docker-compose exec web yarn test:request
docker-compose exec web yarn build
docker run -it -v $PWD :/e2e -w /e2e --network= " host " --entrypoint=cypress cypress/included:12.2.0 run둥지를 통해 휴식 종말점
둥지를 통한 JWT 보호 휴식 종말점
GraphQL Playground ( query WhoAmI is jwt protected)
query Public {
things {
id
name
}
users {
id
provider
}
}
# Add Header: { "Authorization": "Bearer <token>" }
query Private {
whoAmI {
id,
provider,
providerId,
username,
name
}
orders {
id
alias
thing {
name
}
}
}
mutation createOrder {
createOrder(alias: "myname", thingName: "this is a thing you can order") {
id
alias
}
}
Cognito Auth (호스팅 된 Cognito UI로 리디렉션)
구글 인증
다음 .js 페이지
JWT로 보호 된 다음 Next.js 페이지
Nest Cli :
docker-compose exec web yarn nest -- --help
Typeorm Cli :
docker-compose exec web yarn typeorm -- --help