All Projects → thekelvinliu → generator-espress

thekelvinliu / generator-espress

Licence: MIT License
an opinionated yeoman generator that scaffolds a mvc express webapp completely in es6

Programming Languages

javascript
184084 projects - #8 most used programming language
HTML
75241 projects
CSS
56736 projects

Projects that are alternatives of or similar to generator-espress

Generator Api
🚀 Yeoman generator for creating RESTful NodeJS APIs, using ES6, Mongoose and Express
Stars: ✭ 247 (+1135%)
Mutual labels:  mongoose, yeoman-generator, expressjs
express-mvc
A light-weight mvc pattern for express framework with minimum dependencies
Stars: ✭ 23 (+15%)
Mutual labels:  mvc, mongoose, expressjs
Angular2 Express Mongoose Gulp Node Typescript
AngularJS 2 (Updated to 4.2.0) Mean Stack application which uses Angular2, Gulp, Express, Node, MongoDB (Mongoose) with Repository Pattern Business Layer
Stars: ✭ 201 (+905%)
Mutual labels:  gulp, mongoose, expressjs
Backend-NodeJS-Golang-Interview QA
A collection of Node JS and Golang Backend interview questions please feel free to fork and contribute to this repository
Stars: ✭ 122 (+510%)
Mutual labels:  mongoose, expressjs
opentelemetry-ext-js
js extensions for the open-telemetry project
Stars: ✭ 122 (+510%)
Mutual labels:  mongoose, expressjs
generator-veams
Scaffold modern frontend web apps or web pages with a static site generator (Assemble or Mangony), Grunt and/or Gulp, Sass and Bower. Use modern frameworks like Bourbon, Bootstrap or Foundation and structure your JavaScript with ES Harmony support.
Stars: ✭ 45 (+125%)
Mutual labels:  gulp, yeoman-generator
Online-Examination-System
Technologies : React js, Node js, Express js, Mongo Db, Ant Design, Redux js Key features: 1. User management 2. Modular code 3. Permission management 4. Persistent answers on page refresh in the test portal 5. Examination results using graphs 6. Results can directly be downloaded as excel sheet 7. Feedback system
Stars: ✭ 37 (+85%)
Mutual labels:  mongoose, expressjs
react-ssr-spa
Server side rendered single page app using reactjs official libraries.
Stars: ✭ 30 (+50%)
Mutual labels:  gulp, expressjs
NodeExpressCRUD
Node, Express, Mongoose and MongoDB CRUD Web Application
Stars: ✭ 45 (+125%)
Mutual labels:  mongoose, expressjs
OpenBook-E-Commerce
An e-commerce progressive web application, built with mern stack. It has features like product buy, order management by admin, payment gateway, cart, checkout and lot more.
Stars: ✭ 53 (+165%)
Mutual labels:  mongoose, expressjs
React-Native-Chat-App
A simple chatting app built with React Native, Socket.io, ExpressJS and MongoDB. The server app provides APIs for authentication, message sending and receiving. In the client app React-Native-Gifted-Chat is used for the chat interface.
Stars: ✭ 22 (+10%)
Mutual labels:  mongoose, expressjs
WordNook
Dynamically updating blogging website to upload articles and blog posts on various topics, developed using ejs template engine and node js in the backend.
Stars: ✭ 80 (+300%)
Mutual labels:  mongoose, expressjs
mini-express-boilerplate
A minimal Express boilerplate with passport user authentication, mongoose and some security setup configured
Stars: ✭ 15 (-25%)
Mutual labels:  mongoose, expressjs
NodeRestApi
Node.js, Express.js and MongoDB REST API App
Stars: ✭ 38 (+90%)
Mutual labels:  mongoose, expressjs
ng-nest-cnode
Angular 10 Front-End and Nestjs 7 framework Back-End build Fullstack CNode
Stars: ✭ 17 (-15%)
Mutual labels:  mongoose, expressjs
ThinkApp
Test your knowledge with any of the available topic this fun and free Champion Quiz Master App. Save your time and effort by saving your queries & its resolutions
Stars: ✭ 15 (-25%)
Mutual labels:  mongoose, expressjs
express-typescript-mongoose-starter
A starter for Node JS, Express, Typescript, Mongoose application
Stars: ✭ 22 (+10%)
Mutual labels:  mongoose, expressjs
express-api
Building a RESTful API with Express and MongoDB
Stars: ✭ 28 (+40%)
Mutual labels:  mongoose, expressjs
express-boilerplate
ExpressJS boilerplate with Socket.IO, Mongoose for scalable projects.
Stars: ✭ 83 (+315%)
Mutual labels:  mongoose, expressjs
node-js-project-structure
No description or website provided.
Stars: ✭ 21 (+5%)
Mutual labels:  mongoose, expressjs

generator-espress

generator-espress

an opinionated yeoman generator that scaffolds a mvc express webapp completely in es6

Build Status

what's included

getting started

install

simply run the following to install via npm:

npm i -g yo gulp-cli bower generator-espress

generating!

once installed, simply do yo espress, and you'll be on your way to building your next project!

structure

all of your source code goes in the src folder. anything javascript can (and should) be written in es6. the strucutre is as follows:

src
├── app.js              // express app configuration (es6)
├── config.js           // environment configuration (es6)
├── app
│   ├── controllers     // express routes (es6)
│   ├── helpers         // modules, middlewares (es6)
│   ├── models          // mongoose models (es6)
│   └── views           // jade templates (jade)
├── files               // any files that need to be hosted, e.g. pdfs, text files, etc.
├── fonts               // ttf fonts
├── images              // source images
├── scripts             // client-side javascript (es6)
└── styles              // style sheets (sass)

running gulp build will produce a new directory (build by default) with a slightly different structure:

build
├── app.js              // transpiled express configuration
├── config.js           // transpiled environment configuration
├── app
│   ├── controllers     // transpiled express routes
│   ├── helpers         // transpiled modules, middlewares
│   ├── models          // transpiled mongoose models
│   └── views           // same files as source
└── static
    ├── css             // actual css
    ├── files           // same files as source
    ├── fonts           // webfonts (eot, ttf, woff, woff2) and a font-face stylesheet
    ├── img             // optimized images
    └── js              // transpiled client-side code

tasks

  • gulp is the same as gulp serve, which not only starts your express server, but also reloads it whenever server-side code changes
  • gulp build creates your production-ready webapp by running the following tasks:
    • images to optimize images
    • styles to compile sass, write sourcemaps, autoprefix, and minify
    • scripts to
  • gulp lint will lint all javascript with eslint and rules definted in .eslint.json
  • gulp clean will remove any and all files created by any of the above tasks
  • many of the tasks have sub-tasks that allow for finer control, for example:
    • gulp build:client will only run the tasks related to the client (images, styles, scripts, files, fonts, bower)
    • gulp transpile:controllers will transpile only the controllers
    • gulp lint:models will lint only the models
  • gulp tasks will show you all of the available tasks

what's missing

tests

  • while incredibly important, tests are not inlucded in this generator
  • it's especially useful to be able to write your own tests, so I'm leaving this as an exercise for the reader 🙃
  • if you need help, this is a decent place to start

notes

  • this generator was written with my needs in mind; that's why it's opinionated
  • i do most of my development on os x + homebrew + osx-jump-start
    • if you do too, then things should go smoothly
  • cross-platform compatibility isn't guaranteed
  • this is my first yeoman generator, and suggestions are definitely welcome!
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].