Mirror of github.com/kingomarnajjar/flex-template-web
Find a file
Kimmo Puputti f6755882f1 Change server dev setup
- `npm start` only starts the applications and requires that `npm run
   build` is already run
 - `npm run dev-server` runs the build and starts the server with
   nodemon
 - update README
2017-01-05 15:33:01 +02:00
docs Move create-react-app readme file to docs 2017-01-04 21:15:02 +02:00
public Clean up html template 2017-01-05 15:32:03 +02:00
server Render application in the server 2017-01-05 14:22:40 +02:00
src Add page structure and universal routing 2017-01-05 14:23:06 +02:00
.gitignore Init new app with create-react-app 2017-01-04 21:12:15 +02:00
package.json Change server dev setup 2017-01-05 15:33:01 +02:00
README.md Change server dev setup 2017-01-05 15:33:01 +02:00
yarn.lock Add nodemon 2017-01-05 15:32:33 +02:00

Sharetribe Starter App

[TODO]

Getting started

Clone this repository and install dependencies:

yarn

Development

To develop the application and to see changes live, start the frontend development server:

npm run dev

Development Server

To develop the server setup, run:

npm run dev-server

This runs the frontend production build and starts the Express.js server in server/index.js that renders the application routes in the server. The server is automatically restarted when there are changes in the server/ directory.

Not that this server does not pick up changes in the frontend application code.

Production Server

npm run build
npm start