0.1.46 • Published 4 years ago

surprisejs v0.1.46

Weekly downloads
1
License
MIT
Repository
github
Last release
4 years ago

logo

SurpriseJS is an open-source JavaScript library / express bootstrapper which easily generates your Node.js backend with MongoDB database connection with just a few clicks.

*At this moment it works only with above-mentioned framework and DB, but soon will also work with PostgreSQL and Koa.js. Every help is appreciated.

:blue_book: Documentation page :orange_book:

This library can generate:

  • Core of Node.js application
  • Basic CRUD (with pagination and filtering)
  • Routes with models
  • Auth (by JsonWebToken) with authorization middleware
  • CORS

Things left to do:

  • Select between JS and TS
  • Koa.js
  • PostgreSQL
  • File handler with AWS S3, Firebase Storage or local directory
  • Setup tests
  • Multi nested routes and crud

Prerequisites

You will need the following things installed on your computer.

Setup

Installation

Just simply install package with npm globally:

npm install -g surprisejs

Configuration

Just type surprisejs in Your terminal and select one of available methods described in section below:

  • auth
  • core
  • cors
  • crud
  • route

More in documentation page :)

0.1.46

4 years ago

0.1.44

4 years ago

0.1.43

4 years ago

0.1.41

4 years ago

0.1.42

4 years ago

0.1.4

4 years ago

0.1.3

4 years ago

0.1.2

4 years ago

0.1.1

4 years ago

0.1.0

4 years ago

0.0.4

4 years ago

0.0.3

4 years ago

0.0.2

4 years ago

0.0.1

4 years ago