TooTallNate / app

Home Page:https://frontlinefarms.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Farm Entry

Setup

  1. Install node 12 and mongodb 4.2.
  2. Clone the repo.
  3. Run npm i

Development

  1. Run npm run web and npm run api in two separate shells.
  2. Visit localhost:8080 to view the app.
  3. Visit localhost:3001 to view the GraphQL playground.

When you commit, changed code is linted and tests are run. You won't be able to commit until those pass.

Other useful development commands

  • Run npm run test to run tests on both the web and api projects.
  • Run npm run generate to update typings after changing the GraphQL schema.

Release

When you have a batch of PRs merged to master:

  1. In master run `npm version [major|minor|patch]
  2. Push new commit and tag
  3. Add release in GitHub with description of changes and links to merged PRs

Architecture

 |       React
Web        |
 |    Apollo Client
           |
 |    Apollo Server
API     /     \
 |    NAV   MongoDB

About

https://frontlinefarms.com


Languages

Language:TypeScript 97.3%Language:JavaScript 2.5%Language:HTML 0.2%Language:CSS 0.0%