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

arvis-backend-boilerplate

v0.1.3

Published

Boilerplate source code refers to a pre-written code that can be reused as a starting point for a new project. It is often used as a template for common functionality, such as setting up a basic web server or connecting to a database. The term "boilerplat

Downloads

4

Readme

Arvis Backend Boilerplate

Boilerplate source code refers to a pre-written code that can be reused as a starting point for a new project. It is often used as a template for common functionality, such as setting up a basic web server or connecting to a database. The term "boilerplate" refers to the idea that the code is reusable and can be easily adapted for different projects, similar to the way a boilerplate is used as a reusable mold for creating cast iron products.

Get Started

How to use boilerplate ?

To get started boilerplate, run the following command :

  npx arvis-backend-boilerplate

after run command you will get the following questions

  • Arvis project name : , Enter the name of the project that will be created
  • Are you using SQL : , Yes if you used Psql/Mysql and No for MongoDB
  • DB Host (host for sql , mongo uri for nosql) :, Enter db host
  • *DB Port :, Enter DB Port
  • *DB User :, Enter DB User
  • *DB Password :, Enter DB Password
  • *DB Name :, Enter DB Name
  • port : , Enter the port of the project , exp 3000
? Arvis project name : arvis-app
? Are you using SQL : Yes
? DB Host (host for sql , mongo uri for nosql) : localhost
? DB Port : 5432
? DB User : postgres
? DB Password : arvis123
? DB Name : arvisBoilerPlate
? port : 3000
Downloading files from repo [email protected]:bayu.elroy/arvis-boilerplate.git
Cloning into 'arvis-app'...
Cloned successfully.

Installing dependencies...

added 490 packages, and audited 491 packages in 12s

68 packages are looking for funding
  run `npm fund` for details

found 0 vulnerabilities
Dependencies installed successfully.

Create ENV File...
{
  app: 'arvis-app',
  databases: true,
  sql_host: 'localhost',
  sql_port: '5432',
  sql_user: 'postgres',
  sql_password: 'arvis123',
  sql_db: 'arvisBoilerPlate',
  port: '3000'
}
File is created successfully.

Notes :

* its mean optional which only appears when you select sql

Running Tests

To run tests, run the following command

  npm run test

Deployment

Before deploy project remove "type": "module", in file package.json

And deploy this project run

  npm run dev

For Check health route : http://localhost:${port}/api/health-check

Documentation

the link to view the documentation is : http://localhost:${port}/api/web/docs/