An administrative user interface for the WAYF project. Provides users ability to view and manage data stored for their device.
React tooling provides encapsulated display components. Coupled with Relay modern, responsible for managing each component's data needs, allows for a modular front-end.
The wayf-cloud is wrapped with a custom GraphQL schema. This provides a layer of abstraction from the core API and integrates well with the React/Relay front-end.
The Express framework for node is leveraged to provide a lightweight but flexible server for handling client requests. Static resources can be served and data requests can be marshalled to the GraphQL server. the application where to load the wayf environment configuration from. If no value is specified, the application will attempt to load it from the classpath
- Node Package Manager (Version 5.3.0+)
- Node (Version 4.4+)
- Watchman
- Checkout the desired branch from Github.
- Open a command line prompt located in the top-level project directory where "package.json" is located
- Execute the command
npm install
. This will download and install all of the required node modules. - Ensure all of the GraphQL schemas are built and up to date
babel-node tools/updateSchema.js
- Run the relay compiler and load the newly generated schema file with
npm run relay-compiler --src src --schema src/data/schema.graphql
- Start the server with
babel-node src/server
- You may now verify that it started successfully by visiting localhost:3000. If the express port was overriden in the configuration, use that port.