aspnet-starter-kit

(β˜… 1,165)

Cross-platform web development with Visual Studio Code, C#, F#, JavaScript, ASP.NET Core, EF Core, React (ReactJS), Redux, Babel. Single-page application boilerplate.

  • .editorconfig
  • .gitattributes
  • .gitignore
  • .travis.yml
  • CONTRIBUTING.md
  • jsconfig.json
  • LICENSE.txt
  • package.json
  • README.md
  • run.js
  • starter-kit.sln
  • webpack.config.js
  • yarn.lock

πŸš€ Installation Guide

1. Get the code
git clone https://github.com/kriasoft/aspnet-starter-kit

Downloads the entire project code from GitHub to your computer.

cd aspnet-starter-kit

Moves into the project folder you just downloaded.

2. .NET

Medium Recommended
Prerequisites
  • Git Needed to download the project code from GitHub.
  • .NET SDK The SDK required for the dotnet command.
cd server.test

This project's files live in a subfolder, so move into it first.

dotnet restore

Downloads the packages the project depends on.

dotnet run

Builds the project and runs it immediately.

βœ… After dotnet run, check the message or address shown in the terminal.

3. Node.js

Easy
Prerequisites
  • Git Needed to download the project code from GitHub.
  • Node.js Node.js must be installed to use npm. The LTS version is recommended.
│── package.json # The list of project dependencies and NPM scripts

Type this command into your terminal and run it.

$ npm install -g yo

Downloads and installs the libraries listed in package.json.

$ npm install -g generator-aspnetcore

Downloads and installs the libraries listed in package.json.

$ npm install # Install both Node.js and .NET Core dependencies

Downloads and installs the libraries listed in package.json.

$ node run # Compile and lanch the app, same as running: npm start

Starts the development/run server.

βœ… After running the command, open the address shown in the terminal (usually something like http://localhost:3000) in your browser.

Pulled directly from this repo's README.

// repository documentation