Skip to content

jsjaspreet/fitness

Repository files navigation

React Starter

Web starter project powered by React, Node.js, GraphQL. Webpack2 config for both client and server, Docker for deployment, Postgres backed persistence.

Prerequisites

  • Docker, Docker Compose
  • Node v6
  • Yarn

Running the app

Install dependencies and bring up hot-reloading environment for quick development

yarn
npm run dev

Postgres with Docker (for scaffolded graphql endpoints)

Build the expected Docker container, bring it up using compose, and run bootstrap scripts for migrations

cd postgres
./build.sh
cd ..
docker-compose up -d
(wait for pg to boot)
./bootstrap.sh

NPM Scripts

Helper Scripts

script effect
dev Build both server and client, HMR activates on client side and Nodemon restarts server on change
build:prod Build production assets

|

About

Fitness Tracker App

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published