Data Layer RethinkDB
API Layer LoopBack
Web Client Ember
Ensure the following is installed on your system before starting.
- Install Loopback CLI:
npm install -g loopback-cli
- Install Ember CLI:
npm install -g ember-cli
- NPM Install:
npm install
Create a Google Cloud Platform service account
and grant it the Cloud Datastore User role. Save the secret key as datastore-secret-key.json
in the marchforscience
project directory.
Create an .env
file in the marchforscience project directory and populate it with the approprate values.
# Node Process Settings
NODE_ENV=development
NODE_SESSION_SECRET=
# Amazon S3 Configuration
S3_BUCKET=
S3_REGION=
S3_SECRET=
S3_KEY=
# Google Cloud Platform Configuration
GOOGLE_PROJECT_ID=
GOOGLE_SERVICE_ACCOUNT=
In two separate terminal tabs:
- Start the API server:
npm run server
- Start the Ember client:
npm start
The web app will be accessible at http://localhost:4200/
The API explorer will be accessible at http://localhost:4000/explorer
The database explorer will be accessible at http://localhost:8080/