nestjs starter
1.0.0
استخدم هذا القالب
لديها
من المحتمل أن تكون عمليات النشر أدناه في وضع النوم وستستغرق دقيقة واحدة للوصول إلى الإنترنت عند فتحها.
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 محمي JWT)
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
}
}
Auth Cognito (إعادة التوجيه إلى Cognito UI)
جوجل مصادقة
صفحة Next.js
صفحة JWT المحمية Next.js
عش كلي:
docker-compose exec web yarn nest -- --help
Typeorm CLI:
docker-compose exec web yarn typeorm -- --help