Thinkful React Starter
A template for developing React apps.
Getting started
Setting up a project
- Move into your projects directory:
cd ~/YOUR_PROJECTS_DIRECTORY
- Clone this repository:
git clone https://github.com/oampo/thinkful-react-starter YOUR_PROJECT_NAME
- Move into the project directory:
cd YOUR_PROJECT_NAME
- Install the dependencies:
npm install
- Create a new repo on GitHub: https://github.com/new
- Make sure the "Initialize this repository with a README" option is left unchecked
- Update the remote to point to your GitHub repository:
git remote set-url origin https://github.com/YOUR_GITHUB_USERNAME/YOUR_REPOSITORY_NAME
Working on the project
- Move into the project directory:
cd ~/YOUR_PROJECTS_DIRECTORY/YOUR_PROJECT_NAME
- Run the development task:
npm run dev
- Starts a server running at http://localhost:8080
- Automatically rebuilds when any of your files change