nestjs / awesome-nestjs Goto Github PK
View Code? Open in Web Editor NEWA curated list of awesome things related to NestJS π
A curated list of awesome things related to NestJS π
(you can download QQ here offically)
The link to NestJS London is not working.
I think there are couple good resources & packages out there regarding tests for Nestjs projects, like:
and since Nestjs's docs doesn't mention them (AFIK), it would be cool to have them listed here :D
Maybe the first one could live under Resources > Examples
This repository has not been updated for more than 2 years, remove it from the list, so as not to harm those who are looking for a Stripe library for Nestjs for current versions.
We are in the release of NestJs 10, and dhaspden/nestjs-stripe does not work in NestJs 9.
Hey Julian, I made an example of oAuth use with passport and nestjs.
I get help from nestjs guys on discord to finish this example. I'm using myself this example on my company authentication.
This example only needs to set up the environment file and people add some login in service file and are ready to go.
To give you some context people access to your api (example), the api redirect you to the oAuth provider return you to the page you set up to redirect.
example:
client -> server -> oAuthProvider -> server -> client
this example doesn't have an oAuth2 implementation but a redirect to a provider that give the people some control what can and cannot user have access from your provider.
If you think is useful for other people you can share on your links.
Suggestion to add to the examples section:
Line 177 in 660e892
Line 219 in 660e892
I've used the following bash script to find them:
wget https://raw.githubusercontent.com/nestjs/awesome-nestjs/master/README.md
./list_archived_repos.sh
list_archived_repos.sh
#!/bin/bash
FILE="${1:-README.md}"
repos=($(grep --color=never -Po '(?<=github\.com\/)[^/)]+\/[^/)]+' $FILE))
archived_repos=()
GH_PAT="YOUR PERSONAL ACCESS TOKEN"
for repo in "${repos[@]}"; do
follow_rules=$(
curl -s -L -H "Authorization: token ${GH_PAT}" -H "Accept: application/vnd.github.v3+json" "https://api.github.com/repos/${repo}" |
jq '.archived == false'
)
echo -n "$repo"
if [ "$follow_rules" == "false" ]; then
archived_repos+=("$repo")
echo "β"
else
echo "β
"
fi
# sleep 2
done
echo "--------------------"
printf '%s\n' "${archived_repos[@]}"
Please add Eventstore for Nestjs
Will you add this fantastic Nest.js tutorial from Auth0 if I submit a PR?
Hey! This is a list of all archived repositories that I found in your README.md
:
adrien2p/nest-js-api-ai
BruceHem/simple-todos
mentos1386/lynx
evebook/api
nestjsx/automapper
adrien2p/nest-js-graphql
nest-cloud/nest-memcached
You could remove them or use the ~~
to scratch them, idk. Like
π
btw I've made this simple script to grab github repos and list the archived ones:
list_archived_repos.sh
#!/bin/bash
repos=($(grep --color=never -Po '(?<=github.com/)[^/]+/[^)/]+' "README.md"))
archived_repos=()
GH_PAT="your personal access token here"
for repo in "${repos[@]}"; do
is_archived=$(curl -s -L -H "Authorization: token ${GH_PAT}" -H "Accept: application/vnd.github.v3+json" "https://api.github.com/repos/${repo}" | jq '.archived')
if [ "$is_archived" == "true" ]; then
archived_repos+=("$repo")
fi
done
printf '%s\n' "${archived_repos[@]}"
(maybe you can create a scheduler task with github action to do some health check, like broken link checker, archived repo checker)
If you wanna add it to the list, I made an app fully serverless
on AWS with DynamoDB, Lambda, API Gateway, DynamoDB triggers etc... bundled with webpack.
https://github.com/International-Slackline-Association/Rankings-Backend
C-Shopping-RN APP
This is a complete App developed by React Native (Expo). It is a beautiful e-commerce shopping application.
App open source address: https://github.com/huanghanzhilian/c-shopping-rn
Full stack open source address: https://github.com/huanghanzhilian/c-shopping
As is the case for most of the awesome-x
repositories, we end up with a graveyard of projects that haven't been touched in years and largely been deprecated.
Such is life.
It would be beneficial if repositories that haven't gotten a commit for more than a year be removed from this list.
Hi, how are you? I would like to propose to add to the list a project I have been working on for more than 1 year.
It is a Nestjs starter project, in which you clone the repository and you have a functional application ready to be deployed in different environments through a centralized configuration.
Along with this starter, there is a library of modules with plug and play functionality, which is fed with this centralized configuration, so the developer will not have to spend time building configurations.
If you have any questions, do not hesitate to contact me.
Best regards.
NestJS Starter: https://github.com/rudemex/nestjs-starter
NestJs Toolkit: https://github.com/tresdoce/tresdoce-nestjs-toolkit
https://www.reddit.com/r/Nestjs_framework/
Just launched it. Not everyone wants the endless distraction of Gitter. Angular has a huge Reddit and those of us using Nestjs now have a corresponding Reddit.
Hi everyone, NestJS is growing every day and there are a lot of new technologies for it. Many technologies come to awesome-nest, so I'm looking to someone who wants help to maintain this awesome GitHub repository. - What I expect from the contributor? - review PR, check new issues, must have experience working with NestJS.
Leave a comment below, describe why you want to be a contributorπ₯.
I want to get user info from jwt token in controller , like this:
@Get('getUser')
getUser(@User() user) {
return user;
}
so I create a custom param decorator like this:
export const User = createParamDecorator((data: string, ctx: ExecutionContext) => {
const request = ctx.switchToHttp().getRequest<Request>();
const arr = request.headers.authorization?.split(' ') ?? [];
const token = arr.at(-1);
if (!token) {
return undefined;
}
// how to inject jwtService ?
const payload = jwtService.verify(token);
return payload;
});
how to inject jwtService into the decorator ? thanks !
To ensure that from now on "awesome-nest" has only popular repositories, I propose that future github repositories that wish to be added to the list must have at least 10 stars.
What do you think?
If for someone it will be useful: https://github.com/marcin-stasiak/nest-nuxt-integration
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.