Giter Site home page Giter Site logo

jenmcquade / aspnetcore-react-redux Goto Github PK

View Code? Open in Web Editor NEW
15.0 15.0 5.0 3.28 MB

Boilerplate for C# ASP .NET Core MVC SPA with TypeScript, React and Redux

TypeScript 20.74% CSS 57.39% C# 5.71% JavaScript 12.35% Shell 0.91% Dockerfile 2.08% HTML 0.82%

aspnetcore-react-redux's People

Contributors

jenmcquade avatar

Stargazers

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

Watchers

 avatar  avatar  avatar

aspnetcore-react-redux's Issues

Visual Studio Build errors

Hi Jon,

Firstly,this looks a really good project, big thank you (I am using it as a boilerplate to learn from)
However, I am struggling to get it to build either in VS Community 2017 Preview (V15.7.0 Preview 2.0)
on Windows 10 (latest build) with .Net Core 2.1, NPM 5.60, Node v8.11.1, Webpack 4.5.0, TypeScript 2.8 or via docker (Prod or Dev)

I appreciate that you have posted this up on GitHub and I feel like I should be able to work it out but I am struggling a bit.

NPM errors via Windows Powershell

PS C:\Users\James\Documents\Visual Studio 2017\Projects\Preview\aspnetcore-react-redux-master\src> npm install
npm WARN [email protected] requires a peer of ajv@^5.0.0 but none is installed. You must install peer dependencies your
self.
npm WARN [email protected] requires a peer of webpack@^1.13.2 || ^2.1.0-beta || ^3.0.0 but none is installed. You mus
t install peer dependencies yourself.
npm WARN [email protected] requires a peer of webpack@^2.2.0 but none is installed. You must install peer depen
dencies yourself.
npm WARN [email protected] requires a peer of babel-eslint@^7.2.3 but none is installed. You must install pe
er dependencies yourself.
npm WARN [email protected] requires a peer of eslint-plugin-jsx-a11y@^5.1.1 but none is installed. You must
install peer dependencies yourself.
npm WARN [email protected] requires a peer of react@>=0.13.0 <16.0.0 but none is installed. You must install peer depende
ncies yourself.
npm WARN [email protected] requires a peer of moment@^2.8.3 but none is installed. You must install peer dependencies you
rself.
npm WARN [email protected] requires a peer of webpack@^1.0.0 || ^2.0.0 || ^3.0.0 but none is installed. You
must install peer dependencies yourself.
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules\fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for [email protected]: wanted {"os":"darwin","arch":"any
"} (current: {"os":"win32","arch":"x64"})

up to date in 12.053s

Not sure if these are just warnings but the npm folder does not load in VS 2017 Preview (yellow triangle) and I get the following build errors.

VS 2017 Preview build errors

Severity	Code	Description	Project	File	Line	Suppression State
Error	CS7064	Error opening icon file C:\Users\James\Documents\Visual Studio 2017\Projects\Preview\aspnetcore-react-redux-master\src\wwwroot\favicon.ico -- Could not find file 'C:\Users\James\Documents\Visual Studio 2017\Projects\Preview\aspnetcore-react-redux-master\src\wwwroot\favicon.ico'.	flightsearch	C:\Users\James\Documents\Visual Studio 2017\Projects\Preview\aspnetcore-react-redux-master\src\CSC	1	Active

Severity	Code	Description	Project	File	Line	Suppression State
Error	TS5055	Cannot write file 'C:/Users/James/Documents/Visual Studio 2017/Projects/Preview/aspnetcore-react-redux-master/src/ClientApp/registerServiceWorker.js' because it would overwrite input file.	C:\Users\James\Documents\Visual Studio 2017\Projects\Preview\aspnetcore-react-redux-master\src (tsconfig or jsconfig project)		1	Active

Severity	Code	Description	Project	File	Line	Suppression State
Error	TS5055	Cannot write file 'C:/Users/James/Documents/Visual Studio 2017/Projects/Preview/aspnetcore-react-redux-master/src/webpack.config.js' because it would overwrite input file.	C:\Users\James\Documents\Visual Studio 2017\Projects\Preview\aspnetcore-react-redux-master\src (tsconfig or jsconfig project)		1	Active

Severity	Code	Description	Project	File	Line	Suppression State
Error	TS5055	Cannot write file 'C:/Users/James/Documents/Visual Studio 2017/Projects/Preview/aspnetcore-react-redux-master/src/webpack.config.vendor.js' because it would overwrite input file.	C:\Users\James\Documents\Visual Studio 2017\Projects\Preview\aspnetcore-react-redux-master\src (tsconfig or jsconfig project)		1	Active

btw Tacoma (and the whole pacfic nw) looks a great place - on my list of places to visit!

Cheers and Thanks again for a great project

James

Dockerize installation

Some complaints from cohorts that their .NET environment is conflicting with this .NET Core App's installation, so Dockerize the solution and installation inside of a .NET Core container, and add binding to local host.

HTTP traffic should redirect to HTTPS

Currently, HTTPS is available through Heroku. However, either the app or a reverse proxy needs to implement HTTP detection and redirect as a 301 to HTTPS.

Make menu responsive

Menu column should reduce to a horizontal row when targeting styles through media queries of 767px or smaller.

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.