milleymilli / tech-products-demo

Example app for tech products interview experiment

Home Page:https://tech-products-demo-d1182e30f280.herokuapp.com/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Tech Products Demo

Node.js CI

Dev Setup

The prerequisites are:

  • Node and NPM (see engines field in package.json for compatible versions)
  • Docker Compose

If you're using dev containers, see .devcontainer/README.md. Otherwise:

  1. Fork the repository to your account
    • Un-tick "Copy the main branch only" to get all the branches in your fork
  2. Clone your fork
  3. Run npm ci to install the dependencies
  4. Copy e2e/.env to .env and update as needed
  5. Run npm run services:start to start the services
  6. Run npm run migration -- up to migrate the database
  7. Run npm run ship to ensure that the tests pass
  8. Start the app with npm run dev (dev mode) or npm run serve (prod mode) and visit:

From there see .github/CONTRIBUTING.md for details on recommended workflows.

Ports used

  • 4201: client application (Webpack in dev mode, Express in production mode)
  • 4202: Express server (dev mode only)
  • 4211: Postgres
  • 4212: GitStub (mock GitHub OAuth/API)

About

Example app for tech products interview experiment

https://tech-products-demo-d1182e30f280.herokuapp.com/

License:ISC License


Languages

Language:JavaScript 91.0%Language:SCSS 7.1%Language:Shell 0.7%Language:HTML 0.7%Language:Dockerfile 0.5%Language:Procfile 0.0%