Coder Social home page Coder Social logo

anaida07 / mevn-boilerplate Goto Github PK

View Code? Open in Web Editor NEW
279.0 279.0 118.0 83 KB

A fullstack boilerplate with Mongo, ExpressJS, VueJS and NodeJS.

JavaScript 78.99% HTML 0.57% Vue 20.44%
boilerplate expressjs full-stack fullstack fullstack-boilerplate mongodb mongoose nodejs vue vuejs

mevn-boilerplate's People

Contributors

anaida07 avatar anishsujanani avatar

Stargazers

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

Watchers

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

mevn-boilerplate's Issues

Code refactor on app.js and mongoose bug fix

1.Can we go with .then().catch() promises rather than the function(error , post) callback. It makes the code more readable and neat.
2.I see mongoose missing in the package.json file in the server. I would like to fix that.

Waiting for your approval before continuing. Thanks ๐Ÿ‘.

Segregate database connection code for Mongoose

Currently, the database connection code is written on server/src/app.js. Create a separate file to put the following code and create a successful connection

var mongoose = require('mongoose');
mongoose.connect('mongodb://localhost:27017/MEVN-boilerplate');
var db = mongoose.connection;
db.on("error", console.error.bind(console, "connection error"));
db.once("open", function(callback){
  console.log("Connection Succeeded");
});

delete bug

When press Delete button the post is deleted even if i choose Cancel.

Detailed README

The README should contain information on:

  1. A detailed description about the repo
  2. How to clone and get started with the project
  3. How to start development servers

Add CONTRIBUTING.md

Add a contributing file to help users to contribute to the project easily.

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.