A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/bradymholt/aspnet-core-react-template below:

GitHub - bradymholt/aspnet-core-react-template: ASP.NET Core 3.1

ASP.NET Core / React SPA Template App

 Would you take a quick second and ⭐️ my repo?

This app is a template application using ASP.NET Core 3.1 for a REST/JSON API server and React for a web client.

  1. Install the following:
  2. Run npm install && npm start
  3. Open browser and navigate to http://localhost:5000.

This template was developed and tested on macOS Sierra but should run on Windows (for development) as well. If you experience any issues getting it to run on Windows and work through them, please submit a PR! The production provisioning and deployment scripts (provision:prod and deploy:prod) use Ansible and require a Linux/Ubuntu >= 16.04 target host.

When first cloning the repo or adding new dependencies, run this command. This will:

To start the app for development, run this command. This will:

After making changes to Entity Framework models in api/Models/, run this command to generate and run a migration on the database. A timestamp will be used for the migration name.

This will run the xUnit tests in api.test/ and the Mocha/Enzyme tests in client-react.test/.

Before running this script, you need to create an ops/config.yml file first. See the ops README for instructions.

This will run the ops/provision.yml Ansible playbook and provision hosts in ops/hosts inventory file. Ubuntu 16.04 (Xenial) and Ubuntu 18.04 (Bionic) is supported and tested.

This prepares the hosts to recieve deployments by doing the following:

Before running this script, you need to create a ops/config.yml file first. See the ops README for instructions.

This script will:

This does the following:

Entity Framework Migrations are automatically applied upon startup so they will run when the app restarts.

Development Email Delivery

This template includes a MailCatcher Docker image so that when email is sent during development (i.e. new user registration), it can be viewed in the MailCacher web interface at http://localhost:1080/.

This template was originally created on .NET Core 1.0 and has been upgraded with new versions of .NET Core. Older versions can be found on the Releases page.

Visual Studio Code config

This project has Visual Studio Code tasks and debugger launch config located in .vscode/.

With the following debugger launch configs, you can set breakpoints in api/ or the the Mocha tests in client-react.test/ and have full debugging support.

The following resources were helpful in setting up this template:


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4