Donor ReMapper is a single page blood donation management system to facilitate the patients from all around the world, find blood donors near them.
-
Node.js and npm Node ^6.11.2, npm ^3.10.10
-
MongoDB - Keep a running daemon with
mongod
if you have password or different port configured then standard mongo please edit config file at at server/config/environment/development.js
-
Angular CLI -AngularCLI ^1.4.8
-
You should have an internet connection for loading maps
-
Run
mongod
in a separate shell to keep MongoDB Daemon running -
Run
npm start
to install and start node server.Application will be available at
http://localhost:9050
-
Go to client folder
cd client
-
Change url at
client/src/app/services/http-client.service.ts
to your servers url -
Build client
ng build
-
Go back to parent directory
cd ../
-
Run it in production environment
NODE_ENV=production node ./server
Running npm test
will run the unit tests with chai.
Change architecture of popups-service relationship as it's not good.
Move functions from esri componet to other logic(maybe make esri as pure component with inputs and outputs).
Writing more tests.
Assignment was really interesting.
I was not familiar with ArcGis so it took a while.
But overall It was great experience,