Coder Social home page Coder Social logo

mohaimenhasan / express-boilerplate Goto Github PK

View Code? Open in Web Editor NEW

This project forked from zerojuls/express-boilerplate

0.0 1.0 0.0 189 KB

A fast, simple Node.js/Express + MongoDB + Vue.js web app boilerplate project

License: MIT License

JavaScript 63.19% HTML 36.81%

express-boilerplate's Introduction

Express-Boilerplate

A fast โฉ, simple Node.js/Express + MongoDB + Vue.js web app boilerplate project. This template provides a set of best-practice setups and avoids common mistakes. Hopefully useful for hackathons... ๐Ÿ™ โšก

Quickstart

$ git clone https://github.com/cktang88/express-boilerplate
$ cd express-boilerplate
$ npm i --dev
$ npm start

Then go visit http://localhost:8000

Batteries included.

Back-end

  • Express - Web framework for Node.js
  • MongoDB - Database for fast prototyping
  • Bunyan - Easy JSON logging.

Front-end

  • Vue.js
  • Spectre.css - lightweight CSS-only framework that uses native HTML tags. A third the size of Bulma.css, a quarter the size of Bootstrap css.

Extra

Philosophy

  1. Fast - get up and running immediately.
  2. Simple, zero-config - no need to manually set up config files.
  3. Lightweight, no module bloat - total node_modules size is just 20MB.

Project structure

.
โ”œโ”€โ”€ logs // where logs get stored
โ”œโ”€โ”€ public
โ”‚   โ”œโ”€โ”€ domhelpers.js // for DOM manipulation, mimics jQuery
โ”‚   โ”œโ”€โ”€ index.html
โ”‚   โ””โ”€โ”€ index.js
โ”œโ”€โ”€ server
โ”‚   โ”œโ”€โ”€ dbManager.js // interacting with MongoDB
โ”‚   โ”œโ”€โ”€ logger.js // simple logging functionality
โ”‚   โ””โ”€โ”€ server.js // main Express server
โ””โ”€โ”€ tests // put tests in here

Dev

Code linting with AirBnB's style guide:

$ npm run lint

License

This work is licensed under the The MIT License

express-boilerplate's People

Contributors

cktang88 avatar

Watchers

 avatar

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.