Skip to content

MichaelCurrin/react-router-quickstart

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

36 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

React Router Quickstart

Starter for a multi-page React app with nested routing and forms

GitHub tag License

Made with Node Made with Yarn Made with React Made with React Router

Use this project

Use this template

Preview

Sample screenshot

Create a fresh project

This project was created using this guide and you can follow the steps too to get the latest official app.

If you are new to React Router, that docs site has some guides and examples to get you going.

Here are the steps that were followed to make this project.

$ npx create-react-app demo-app
$ cd demo-app
$ yarn add react-router-dom

See also my other template project, which does not use React Router.

  • MichaelCurrin - react-quickstart

Requirements

  • Node.js
  • Yarn

Installation

Install Yarn.

Clone the repo.

Install project packages:

$ yarn install

Usage

Start app

$ yarn start

Run tests

Run tests in watch mode - only files that are changed are tested and the command stays running ready to rerun tests.

$ yarn test

Deploy

Production build to build directory.

$ yarn build

License

Released under MIT by @MichaelCurrin.

This project is based on the template from the React CLI, with router added using the command covered above. I have added my own docs and made minimal app changes.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published