GithubHelp home page GithubHelp logo

shijuvar / react-aspnet Goto Github PK

View Code? Open in Web Editor NEW
117.0 14.0 41.0 1.3 MB

Demo app with React and ASP.NET Web API

License: MIT License

C# 7.66% ASP 0.01% HTML 0.68% CSS 40.23% JavaScript 51.42%

react-aspnet's Introduction

#react-aspnet v0.5.0

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.

Technologies

  • ASP.NET Web API
  • ReactJS

Building the App

  1. 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.
  2. 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.
  3. If you haven't installed Node.js, download and install it from http://nodejs.org/
  4. Navigate to the directory of ResourceMetadata.Web project in command prompt and run command npm install
  5. 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').
  6. Execute gulp tasks
    1. Run commands gulp build.
    2. 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:

  1. Register user to the application
  2. Create locations (eg: github, MyComputer, Artciles ect) for adding resources
  3. Add resources against a location
  4. Add activities against resources.

Team

react-aspnet's People

Contributors

dileepcd avatar shijuvar avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

react-aspnet's Issues

Missing...

  1. jquery was not in the index.html file and produced an error
  2. Bundle.js was not found

Both in the ResourceMetadata.Web directory

ReactJS.NET

Not directly related to this repository, but after your experience with using React in ASP.NET, I'd love to get your opinion on ReactJS.NET and how it could be enhanced to better suit a Flux architectural pattern, including how server-side rendering would work. I'm not sure if you've seen the ReactJS.NET project but basically it handles JSX compilation and server-side rendering of simple React components by embedding a JavaScript engine in the .NET runtime. At the time I did most of the work on the project, the Flux pattern wasn't really documented outside of Facebook yet.

Thanks!

The JS library bundle.js missing

Hi Shiju,

Please note that the JS file bundle.js that is referenced in index.html as well as in the project file ResourceMetadata.Web.csproj is missing.

Can you please add that file to the project?

Thanks!

Zen

how to run this?

i am sorry,i can't run this demo,i find this demo very happy,can you tell me how to run this demo,i like this

gulp built failed, events.js

Finished 'symlink' after 42 ms
events.js:160
throw er; // Unhandled 'error' event
^

Error: Cannot find module './node_modules/app/components/app.js' from 'C:\Users\User\Desktop\react-aspnet-master\ResourceMetadata\ResourceMetadata.Web'

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.