nens

1.3.1 • Public • Published

Nens

Backend Framework with Node, Express, NemJS & SQL

NPM Version

NPM Downloads GitHub Last Commit

Codacy Badge Maintainability

GitHub Top Language Code Size

Overview

Nens is a Backend Framework made with Node, Express & MySQL, where you can find an some packages complementary, like JWT, Nodemailer, Sharp & back securities

Summary


Download

Use this Template
or
git clone https://github.com/philippebeck/nens.git
or
Latest Release


Package

NPM : npm i nens
or
Yarn : yarn add nens

If you choose to get Nens from NPM or Yarn : you need to copy Nens from node_modules/nens to the root of your App


Installation

Install the backend dependencies :
$ cd nens
$ npm i


Configuration

Configure the .env.example by replacing the values (like DB, Mailer & Token) :
.env.example (then rename it .env)

Your personal .env will be hidden in .gitignore automatically


DataBase

Import the database tables :
$ mysql -u root -p < app/DBTables.sql or with a UI like phpMyAdmin

Personally, I have another SQL file for data insertion, hidden in .gitignore


Usage

To run the backend server :
$ npm start


Content

Available API Files :

  • AuthCtrl, AuthRoute (Auth)
  • UserModel, UserCtrl, UserRoute (Users)
  • ProductModel, ProductCtrl, ProductRoute (Products)
  • OrderModel, OrderCtrl, OrderRoute (Product Orders)
  • ArticleModel, ArticleCtrl, ArticleRoute (Articles)
  • ProjectModel, ProjectCtrl, ProjectRoute (Projects)
  • LinkModel, LinkCtrl, LinkRoute (Links)
  • GalleryModel, GalleryCtrl, GalleryRoute (Galleries)
  • ImageModel, ImageCtrl, ImageRoute (Gallery Images)

Documentation

Available Documentation :

Package Sidebar

Install

npm i nens

Weekly Downloads

8

Version

1.3.1

License

Apache-2.0 License

Unpacked Size

162 kB

Total Files

37

Last publish

Collaborators

  • philippebeck