A front-to-back isomorphic framework for developing applications with node.js and mongoDB
JavaScript TypeScript Shell
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
lib
test
typescript_tests
.dockerignore
.eslintignore
.eslintrc.js
.gitignore
.npmignore
Dockerfile-node-6
Dockerfile-node-8
HISTORY.md
LICENSE
README.md
client.js
clientInit.js
docker-compose.yml
index.d.ts
index.js
package-lock.json
package.json
test-node-6.env
test-node-8.env
tsconfig.json
wait-for-it.sh

README.md

Amorphic

Purpose

Front to back isomorphic framework for developing applications with node.js and mongoDB

Installation

To get started with a more complex app see the Amorphic Ticket Demo

To start with a hello world follow these instructions

$ npm install amorphic
$ npm install Q

Then move these from node_modules\amorphic into the root

  • apps/ folder which contains a hello world app and a doctor patient app

  • config.json

Create an app.js as follows:

require('amorphic').listen(__dirname);

Start node.js

$ node app.js --port <available port>

Bring up the hello world test page in your browser and add some worlds!

See this blog post for more info on Amorphic and this video that demos the drpatient sample

Testing

In order to run the tests for this repo, you will need to have the Mocha test framework installed.

$ npm install -g mocha

Run all the tests:

$ npm test

Run specific test (in this case, config test):

$ npm run test:config

Status

Amorphic is still under development. The next major step is creating documentation and tests. In the mean time the amorphic-ticket-demo is the best resource

License

Amorphic is licensed under the MIT license