Coder Social home page Coder Social logo

frozenridge / mongolab-meteor-leadcapture-app Goto Github PK

View Code? Open in Web Editor NEW
19.0 3.0 19.0 304 KB

Sample app & blog post for MongoLab / Meteor integration

Home Page: http://blog.mongolab.com/2013/05/build-your-own-lead-capture-page-with-meteor-and-mongolab-in-minutes/

JavaScript 100.00%

mongolab-meteor-leadcapture-app's Introduction

mongolab-meteor-leadcapture-app

Sample app & blog post for MongoLab / Meteor integration

This is a simple lead form / CRM for a website. There will be two views:

  • Entry view - similar to the lead form on FrozenRidge.co
  • Admin view - tablular view of leads

Views will utilize Meteor to update live, in realtime. Backend will be MongoLab.

Usage

You need to have meteor installed:

curl https://install.meteor.com | sh

Now run the app from the app directory:

cd app; meteor

You should be able to access the app at http://localhost:3000/

$ meteor
[[[[[ ~/projects/node/mongolab-meteor-leadcapture-app/app ]]]]]

=> Meteor server running on: http://localhost:3000/

Bundling

To deploy this so it can run with MongoLab, you need to generate the "bundle":

meteor bundle sample.tar.gz

This generates a tarball named sample.tar.gz which is essentially the meteor app compiled to Node.JS.

This can then be run just like a normal Node.JS app (npm install fibers && node main.js). A MongoLab database can be used by creating a database at http://mongolab.com and setting the environment variable MONGO_URL to the MongoDB URI provided by MongoLab. Sandbox plans that give you .5GB of storage are free.

Blog Post

A blog post with a detailed walkthrough of the app is at the MongoLab blog

mongolab-meteor-leadcapture-app's People

Contributors

peterbraden avatar bnprks avatar

Stargazers

Giovanni Panasiti avatar Matt Reisman avatar Derek Parry avatar Jonas Wegener avatar Ilana Hakim avatar Helder S Ribeiro avatar Derek Braid  avatar Michael Klein avatar Danny avatar  avatar Jesse Janson avatar Josh Terrill avatar petebytes avatar Kris Haamer avatar Chad Kruse avatar  avatar Hengki Sihombing avatar Krishna Srinivasan avatar Tim Spann avatar

Watchers

Niall O'Higgins avatar James Cloos avatar Kris avatar

mongolab-meteor-leadcapture-app's Issues

Malicious clients can delete all emails

Allow/deny rules are needed to prevent a client from going in the developer console and executing:

Emails.find().forEach(function(e) { Emails.remove(e._id); })

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.