Coder Social home page Coder Social logo

redwan-faris / tech-products-demo Goto Github PK

View Code? Open in Web Editor NEW

This project forked from codeyourfuture/tech-products-demo

0.0 0.0 0.0 1.29 MB

Example app for tech products interview experiment

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

License: ISC License

Shell 0.83% JavaScript 90.64% HTML 0.70% Dockerfile 0.46% SCSS 7.33% Procfile 0.05%

tech-products-demo's Introduction

Tech Products Demo

Node.js CI

This is a "work sample simulation", an experience of what it's like to work in one of our teams. This gives you the opportunity to both demonstrate the skills you'd bring to the role and decide whether the role is something you'd enjoy doing.

Follow the instructions below to create a fork, clone it and get your local dev environment set up.

There are two tasks, corresponding to the main tasks developers in our teams carry out; you may do them in either order. If you have any problems, feel free to ask questions in #join-cyf-tech-products; that's also part of the simulation!

Review a PR

  • In your fork, create a PR from feature/resource-page to main, using the content of pull_request.md as the description
  • Check out that branch locally so you can run the scripts and try out the functionality
    • If you've made any database updates, run npm run migration -- down to roll them back before checking out the branch
    • If you've made any dependency updates, re-run npm ci after checking out the branch
  • Carry out a review of the pull request in GitHub, adding comments to the implementation and deciding whether it's ready to merge ("Approve") or not ("Request changes")
    • Note: as the main branch is maintained some conflicts/out of date warnings may appear in GitHub, you can ignore these as out-of-scope for the review

Create a PR

  • Look through the backlog and select an un-blocked open feature to complete
    • Think about how you can best demonstrate your skills - does the feature require shiny new UI, updates to the backend logic, or a mix of both?
  • Implement the feature you've selected, following the guidance in .github/CONTRIBUTING.md
    • Remember this is a simulation of working in the team - try to follow the patterns already established in the codebase
  • Look at previous examples to get an idea of what a PR should look like

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 (Vite in dev mode, Express in production mode)
  • 4202: Express server (dev mode only)
  • 4211: Postgres
  • 4212: GitStub (mock GitHub OAuth/API)

tech-products-demo's People

Contributors

textbook avatar redwan-faris avatar dependabot[bot] avatar alinosratipour avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.