This is the source code for the application used by the Real Moms ministry by Crossway Chapel. It manages nursery checkins and balances.
The app is built using a handful of different web components. The major ones are listed below.
- Node.js - the source is written in javascript and executed using Node.
- Express - this is the web server/framework part of the web stack.
- Vash - this is a javascript templating engine with a Razor-like syntax. It is used on the server and in the browser.
- Underscore - this is a javascript utility library used on the server and in the browser.
- Mongo DB - this is a document database used for housing the application's data.
- Mongoose - this is an object modeling framework for Node.js so you can easily interact with Mongo DB is javascript.
- Require.js - A javascript file and module loader optimized for the browser.
- Bootstrap - An HTML, CSS and JS framework that provides reusable components for building web applications.
- Bootstrap-Table - Bootstrap plugin that extends the Bootstrap table with grid like functionality.
- Sweet Alert - replacement for javascript's "alert".
- Moment.js - library for manipulating dates in javascript.
- Gulp - build system for Node.js that keeps development and deployment simple.
- Bower - a package manager for front-end browser components.
Make sure that Node.js and Mongo DB are installed. Use the default settings for Mongo DB and you should be fine. The code will automatically create the database if it doesn't already exist.
- First, clone the git repository locally.
- Using the command line, navigate to the
source
directory. - Run
npm install -l
from the command line to install all needed Node.js packages. (4/28/2019) EDIT: if this fails, delete node_modules folder and the packages-lock.json file. Then runnpm install --unsafe-perm=true
. This is needed because of the age of some of the technology used. - Run
gulp
. This will copy all the files to where they need to go and start the web server. - Navigate to http://localhost:8000/ in a browser.
See the Deployment documentation on how to push source up to Heroku.