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

commun

v1.0.0

Published

🎩 Fully-featured framework for REST APIs and GraphQL from JSON Schema with TypeScript and MongoDB

Downloads

16

Readme

🎩 Commun

Commun is a fully-featured framework for building REST APIs and GraphQL servers from a set of JSON Schemas and configurations, which can be written by hand or using our UI dashboard.

Who said your team needs to write code for building CRUD APIs, authentication and authorization?

Documentation.

Installation

You need to install Node.js and MongoDB first, then just run:

npx create-commun-app my-app
cd my-app
npm start

Features

πŸš€ GraphQL and REST API support

  • Commun automatically prepares a GraphQL and Rest API backend which you can consume from anywhere.
  • Use your Commun backend to provide your entire frontend or use it to extend your existing application.

πŸ”‘ Secure authentication & role based permission management

  • Commun provides secure authentication and role based permission management out of the box.
  • Your users can create accounts using email and password or third party systems like Google, Facebook or GitHub.

🀩 Lifecycle Hooks

  • Hooks allow you to perform actions as responses to lifecycle events on any item.

πŸ”Ž Fast full-text search

  • Text indexes allow you to create full-text search APIs.
  • They can run on one or more attributes.
  • Not all attributes are equally important. You can optionally set weights on each one to provide better search results.

🎚 UI Dashboard

  • Manage your entire application without coding using the mobile-friendly dashboard.

πŸ“§ Emails

  • Send emails to your users in response to events.
  • Create templates with custom variables to personalize the experience of your users.
  • Welcome email, email verification and password change verification come by default.

πŸ”Œ Pluggable

  • Commun was built as a set of optional plugins that can be easily integrated.
  • Features like users, dashboard, emails and GraphQL are just plugins. All these features live in different npm packages and can be installed/uninstalled as needed.

Use Cases

Commun can be used to create any kind of application, but it can be extra helpful for creating applications in which the users can create content or any kind of contributions.

Some examples include:

  • Content sharing platforms
  • Forums or discussion boards
  • Social networks
  • Job boards
  • Property listing platforms
  • Reviews sharing platforms
  • Events listing platforms

Dashboard

Commun Dashboard

Commun comes with a complete dashboard that you can use to manage your application without having to write any code.

The dashboard also works perfectly on mobile devices, so you can manage your app on the go.

Production readiness

All the configuration used by Commun is stored in json files, which are updated by the dashboard.

The best practice is to run Commun in development, make all the required changes and then commit these changes to your repository. In order to deploy, just pull the changes in your production server and restart the node process.

The benefits of this practice are:

  • It's easier to test changes in development before moving them to production.
  • It's easier to collaborate between team members. You can submit pull requests with your changes and follow the approval process that better fits your organization.
  • It's easier to setup a continuous integration system.