Connects the 9 worlds of microservices
> npm install
> npm start
TL;DR - You should copy the config/default-example.json
file into the config
files listed in the table below, and then fill in the development config with
real data.
Project configuration is done in the json
files in the config
folder.
The webpack.common.js
pulls in these files depending on the NODE_ENV environment
variable.
NODE_ENV | Config File Used |
---|---|
production | config/production.json |
* | config/development.json |
Make sure to get the client IDs for any third-party clients (ask project owners or create your own) and populate the development config file with those IDs.
- Create a Firebase application
- On the project overview page, click "Add Firebase to your web app"
- Copy the configs, covert it to JSON, and put it in the
config/development.json
file - Click on Authentication from the left tray, and click Sign-in Method. Enable Email/Password sign-in.
- When testing for development, you need to make sure to register a new user
through the application sign-up process. This will authenticate the user with
firebase. None of the test users (e.g. jreach) are setup with firebase, and
the application will not work correctly for them.
- After creating a new user in the app, you should stop the Endor service
on your local machine and run
npm run addProjectsToTestUser <username>
, where<username>
is the username of the user you just created. This will make him or her the project owner and collaborator of a few projects, as well as inviting him or her to a third project. Afterwards, you can start Endor again.
- After creating a new user in the app, you should stop the Endor service
on your local machine and run