Nothing presented in the issues or in this repo is a final product unless it is marked as such.
The project uses:
- NodeJS JavaScript on the server
- KrakenJS Framework for convention over configuration and security
- MongooseJS Object modeling for MongoDB
- Mockgoose Mocking mongoose connections for unit testing
- MongoDB Highly scalable document based NoSQL database
Make sure you have NodeJS installed (currently, version 0.10.33), and you can use the npm command:
$ npm versionInstall Grunt globally:
$ npm install -g grunt-cliThen install dependencies from the project root directory:
$ npm installRunning the tests:
$ grunt testMake sure you have a functional instance of MongoDB installed and running
$ mongo test
MongoDB shell version: 2.6.5
connecting to: test
> exit
byeIf your instance of MongoDB is installed somewhere other than your local machine, you will need to update
config/sandbox.jsonand modify themongoConfigsection with your instance details.
Start the server with a grunt task:
$ grunt serveThis will make the application listen on localhost:8000 for requests, and will watch the source code for changes and reload the application as necessary.
Make sure you have modified
config/config.jsonwith details about your deployment MongoDB instance in themongoConfigsection.
Now you can run a grunt task to build an archive of the application:
$ grunt distThis task produces dist/hmda-edit-check-api.zip, which can then be deployed by your continuous integration platform, or manually deployed into your server environment.
For details on how to get involved, please first read our CONTRIBUTING guidelines. This project follows an adapted pull request workflow on top of GitHub, please consult the details before adding features to the project.