Demo app built with React and ASP.NET Web API. A minimalist implmentation of Flux architetcure is included in this version. An enhanced version of Flux is coming.
- ASP.NET Web API
Building the App
- To build the Web API project, open the solution in Visual Studio 2013, and build the solution to install Nuget packages. This will automatically restore Nuget packages.
- To change the API url in the Web app (Client app built with React), modify the config.js file at /ResourceMetadata.Web/Scripts/config.js.
- If you haven't installed Node.js, download and install it from http://nodejs.org/
- Navigate to the directory of ResourceMetadata.Web project in command prompt and run command npm install
- As a workaround to conflict between jquery-ui-browserify and jquery-browserify, update the statement $ = require('jquery') in file ResourceMetadata.Web/node-modules/jquery-ui-browserify/index.js to $=require('jquery-browserify').
- Execute gulp tasks
- Run commands gulp build.
- In order to clean the destination files created by build task, run gulp clean.
About the Sample App
The ReactJS app named "ResourceMetadata.Web" lets the users store metadata of the resources (articles, github repositories, files on the local computer etc.) with a priority. Based on the priority, users can follow the resources and add activities against the resources.
The following are the functionalities of the ResourceMetadata:
- Register user to the application
- Create locations (eg: github, MyComputer, Artciles ect) for adding resources
- Add resources against a location
- Add activities against resources.