Git Product home page Git Product logo

nodejs-mvc-boilerplate's Introduction

Node.js MVC Template

Photo by Jeffery Ho on Unsplash

A boilerplate of NodeJS with MVC architecture using sequelizeORM.

Table of contents

General info

The main purpose of the project was to create a NodeJS template with a MVC Design Pattern.

Screenshots

Technologies

  • NodeJS - >= 13.0
  • Express Framework - >= ^4.17.1
  • ORM: Sequelize - >= ^6.6.2
  • BD: MySql >= 8.0.21
  • Template engine: EJS >= ^3.1.5
  • Front-end framework: MaterializeCss - ^1.0.0-rc.2

Setup

Describe how to install / setup your local environement / add link to demo version.

Structure

├── bin
│   └── www
│
├── dist
│
├── public
│   ├── css
│   │   └── style.css
│   ├── img
│   │   └── favicon.ico
│   └── scrits
│       └── script.js
│
├── src
│   ├── config
│   │   ├── auth.js
│   │   └── passport.js
│   │
│   ├── controllers
│   │   └── UserController.js
│   │
│   ├── database
│   │   ├── config
│   │   │   └── database.js
│   │   ├── migrations
│   │   └── seeders
│   │
│   ├── models
│   │   ├── index.js
│   │   └── User.js
│   │
│   ├── routes
│   │   └── index.js
│   │
│   ├── views
│   │   ├── err
│   │   │   └── index.js
│   │   ├── layout
│   │   │   ├── _partials
│   │   │   │   ├── _footer.js
│   │   │   │   ├── _head.js
│   │   │   │   └── _header.js
│   │   │   └── index.js
│   │   └── page
│   │       ├── about.js
│   │       ├── auth.js
│   │       ├── contact.js
│   │       ├── index.js
│   │       ├── login.js
│   │       └── register.js
│   │
│   └── app.js
│
├── test
│   ├── sum.js
│   └──  sum.test.js
│
├── .editorConfig
├── .eslintrc.json
├── .sequelizerc
├── jest.config.json
├── LICENSE
├── package.json
└── README.md

Code Examples

Show examples of usage: put-your-code-here

Features

List of features ready and TODOs for future development

  • Awesome feature 1
  • Awesome feature 2
  • Awesome feature 3

To-do list:

  • Wow improvement to be done 1
  • Wow improvement to be done 2

Contact

Created by CofferHub - feel free to contact us!

nodejs-mvc-boilerplate's People

Contributors

atilaassuncao avatar dependabot-preview[bot] avatar dheysonalves avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

nodejs-mvc-boilerplate's Issues

[REFACTOR] Update app.js for class model

We need to work on a better structure for the file.

  • Remove body-parser dependency for the project;
  • Update class for loading middleware, headers and any express related stuff;

Mudar repositório para o Coffer

Para mandar para lá tem que transferir o repositóriro para a conta da organização, @CofferHub.
Tu vai em configurações, e lá em baixo, tem transfer owership. Ele tem umas consequências de perda, que acho melhor ler antes de fazer.

Qualquer coisa tu fala @AtilaAssuncao

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.