How to create a new dogstack
app
- fork example
- clone forked example
- walkthrough
- package.json
- README
- server.js
- service.js
- browser.js
- reducer.js
- client.js
- router.js
Pre-requisites
Before we begin, please ensure you have JavaScript ready to go:
Lay down the scaffold
Let's get started, woof woof! 🐕
First, fork the dogstack-example
on GitHub.
Then, clone your fork onto your local machine:
mkdir -p ~/git/$USER
cd ~/git/$USER
git clone $USER/dogstack-example my-new-app
cd my-new-app
See your app come to life!
With the code pulled down, let's fire it into action!
npm install
npm run start:dev
Browse to http://localhost:3000 🎉
Explore our basic app code
Now that we have code ready, let's expore. 🔎
Project
package.json
: project metadataREADME.md
: project documentation
Server
index.js
: entry pointserver.js
: http serverservice.js
: feathers service
Browser
browser.js
: entry pointclient.js
: feathers clientreducer.js
: redux reducerrouter.js
: react router redux
Cli
cli.js
: TODO cli entry point