npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

adonis-boilerplate

v1.0.0

Published

Adonisjs boilerplate for API server with pre-configured JWT

Downloads

2

Readme

Adonis API application (LEIAM POR FAVOR!)

Setup

Clona este repositorio e dê um npm install.

Crie um .Env copie as informações do .env.exemplo. run o comando

adonis key:generate

depois configure o banco de dados e sentry dsn (criar uma conta no sentry.io e usar o codigo lá disponível)

Migrations

Run o comando abaixo para rodar o startup migrations.

adonis migration:run

É necessário configurar os mail config no .env

This is the boilerplate for creating an API server in AdonisJs, it comes pre-configured with.

-Controller exemplo (1Samplecontroller)

-File controller (para lidar arquivos que forem ser subidos na api)

-Forgot Password (resetar senha e email de recuperação de senha ) I.P (trocar configurações de email)

-loginfb (está incompleto, tem que dar uma olhada em social auth)

-Perrmission/RoleController (crud basico para permissões e papeis)

-profilPicController (lidar com fotos de perfil de usuário)

-SessionController (lida com o login e autorização)

-userController (crud para usuarios, password de cadastro precisa ser confirmado.)

-Exception handler sentry (cadastrar no sentry.io para receber notificações de erros e exceções)

-Job de new account (precisa instalar o redis.io e descomentar o hook em user model)

-userhook (para ativar o disparo de email)

-Model file e profilPic (para poder mostra o local onde estão armasenados)

-Model token (padrão de fábrica)

-Model User (tem um hook comentado que só funciona com o redis instalado)

-Validators (para definir quais campos são "requireds" ou mesmo formato)

-App config (em locales está configurado para pt-br)

-Cors (é usado pra dominios)

-Services (config do sentry e config do ally pra social authorization)

-tabelas migration (user, token permission, role e file)

-start app (o provider do drive está comentando, pois não consegui instalar; job (e-mail de boas vindas) e aliases configurados)

-rotas para os controlles supracitados.