• Stars
    star
    174
  • Rank 219,104 (Top 5 %)
  • Language
    JavaScript
  • License
    MIT License
  • Created over 9 years ago
  • Updated almost 6 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

a simple CRUD + REST skeleton for Express + Node + Mongo

express-node-mongo-skeleton

express-node-mongo-skeleton was made to have a simple skeleton for a completed Web App ready to go for demonstration purposes and learning how to build CRUD & REST operations into a Node.js Web App. This is the final example that is demonstrated in How to Create a Complete Express.js + Node.js + MongoDB CRUD and REST Skeleton

Installation

  • Perform a clone of this repo.
  • Make sure MongoDB is installed (brew install mongodb)
  • Create a MongoDB database named enmskeleton (use enmskeleton)
  • Install packages and start the express.js web service (npm install && npm start)
  • Navigate to http://127.0.0.1:3000 to see the express.js welcome page

Usage Instructions

All of the MVC pieces are built, but are also rudimentary and not flashy. The root of our webapp goes to the express.js landing page, but there is a schema created for a new object called blobs. To access blobs, follow the route that is already in place by going to http://127.0.0.1:3000/blobs.

Add a new blob by going to http://127.0.0.1:3000/blobs/new.

After submitting, this will take you back to the index page where you can now Show or Edit or Delete that blob record from the UI

All of the REST pieces are baked in as well. You can test them using a multitude of different REST based tools.

Contribution

Create a fork of the project into your own reposity. Make all your necessary changes and create a pull request with a description on what was added or removed and details explaining the changes in lines of code. If approved, project owners will merge it.

Licensing

express-node-mongo-skeleton is freely distributed under the MIT License. See LICENSE for details

More Repositories

1

ecs-dockerswarm

Deploy EMC's ECS as a multi-node Docker container setup using Docker Compose into a Docker Swarm cluster created by Docker Machine.
Python
27
star
2

s3motion

Object Migration between S3 Compatible Storage Providers
JavaScript
18
star
3

photobooth

A Photo Booth application that tweets and sends emails. Written in Node.js & Express.js using MongoDB, EMC ECS S3 API, Amazon SES API, Twitter API, and ConstantContact API. Showcased at EMC World 2015
JavaScript
12
star
4

wordpress-compose

deploy Wordpress + MySQL using Docker Compose and Persistent Data with REX-ray
10
star
5

JumpSquares

a better way to bookmark your datacenter
CSS
9
star
6

jsmap1

Phonegap/Cordova integration with Google Maps Javascript v3 API
JavaScript
5
star
7

kmotion

it's like vMotion, but for containers... get it?
Python
4
star
8

gitrepocount

An OpenFaaS function for counting repos
Go
3
star
9

machine-extensions

json extension files for the experimental release of docker machine with extensions
3
star
10

chef-jumpsquares

A chef cookbook for deploying a JumpSquares server
Ruby
3
star
11

pks-k8s-tests

Ways to test out PKS functionality
3
star
12

vipr_scripts

Sample code that shows how to log-in to the ViPR Controller using Ruby. Also demonstrations the ease of the REST API to gather information and parse it to show different types of information.
Ruby
2
star
13

rexray-config-generator

A Dynamic REX-Ray Configuration Generator using Angular.js
HTML
2
star
14

vcloud-director_scripts

just creating some POST operations for vCloud Director
Ruby
2
star
15

bourbonpursuit.com

the website for bourbonpursuit.com podcast
HTML
1
star
16

bourbonSniperPresentation

a presentation about sniping bourbon
JavaScript
1
star