GithubHelp home page GithubHelp logo

shtbik / remotecom-test Goto Github PK

View Code? Open in Web Editor NEW
0.0 2.0 0.0 1.01 MB

Test task for https://remote.com

Home Page: https://shtbik.github.io/remotecom-test/

HTML 8.36% JavaScript 91.64%
react redux styled-components react-testing-library

remotecom-test's Introduction

Frontend code exercise

Check the result - #2

Hello there!

If you're reading this, it means you're now at the coding exercise step of the engineering hiring process WOOT WOOT. We're really happy that you made it here and super appreciative of your time!

In this exercise you're asked to implement some features in an existing React app, using whatever extra tools you want.

If you have any questions, don't hesitate to create an issue in this repo or reach out directly to [email protected].

Expectations

  • It should be production-ready code - the code will show us how you ship things to production and be a mirror of your craft.
  • Take whatever time you need - we won't look at start/end dates, you have a life besides this and we respect that!

๐Ÿš€ What are you building

This is a basic CRUD (without the delete) of people. You'll implement an app with 3 pages:

  • People list - Display a list of people and their attributes. It allows searching by employee name.
  • Create member - A form to create a new team member;
  • Edit team member - A form to edit an existing team member;

For further details, follow the design specs in the Figma file shared with you by e-mail. https://www.figma.com/file/9rg0ZaQYfLailCQ7IV4DJd/FE-code-exercise-(shtbik)

๐Ÿ‘€ What we will look at

  • How you work with HTML, CSS, and JavaScript in a React app;
  • How you reproduce the provided design;
  • How you structure your codebase and how well it reads;
  • How well it works;
  • How you write tests. Tests take time, so you just need to test:
    • Button component: Some tests are already done, you will need to complete them.
    • People list page: Write the needed tests.
    • Edit or Create member: Pick one of the flows. You are free to choose between Testing Library, Cypress or any other testing tool/approach.

โ›”๏ธ What you can't use

  • A CSS library like Bootstrap, etc. - we're interested in how you structure your CSS code to achieve something.

โฑ How long should it take

  • As little as possible, there's no time-frame or deadline for this but we want to be respectful of your time.

โœ… When you're done

  • Complete the "Implementation Details" section at the bottom of this README.
  • Open a Pull Request in this repo and send the link to [email protected].
  • You can also send some feedback about this exercise. Was it too short/big? Boring? Let us know!


The project

Prerequisites

  • Node >= 8.10
  • NPM >= 5.6
  • Git

Getting started

  1. Clone the project repository
  2. Install the dependencies npm install

About the project

  • This project was bootstrapped with Create React App.
  • JSON server will give you a fake but realistic REST API using the static src/server/db.json file created after running npm install. If you make POST, PUT, PATCH or DELETE requests, changes will be automatically saved to db.json.

Project stack

  • React (Create React App)
  • CSS with Styled-Components
  • Tests with React Testing Library

Project structure

src/
  components # Some components already built.
  server # The fake API mentioned above.
  theme # Some base styles used across the project.
  Playground.js # A simple showcase of the existing components.

Once again, you have total freedom to modify this codebase and use whatever tools you want.

Available scripts

In the project directory, you can run:

npm start

Runs the app in the development mode.
Open http://localhost:3000 to view it in the browser.

JSON server will run concurrently in watch mode on port 4000 - http://localhost:4000.

npm test

Launches the test runner in the interactive watch mode.
Read the section about running tests for more information.

npm run seed-db

Resets db.json to the original initial data (db.base.json).
This script runs automatically after npm install.

Available endpoints

  • GET http://localhost:4000/people: get the full list of people
  • GET http://localhost:4000/people/{id}: get the person with id {id}
  • GET http://localhost:4000/people?name_like={substring}: search for people where the name includes {substring}
  • POST http://localhost:4000/people: create a new person
  • PATCH http://localhost:4000/people/{id}: update the person with id {id}

Implementation details

This section is for you to fill in with any decisions you made that may be relevant. You can also change this README to fit your needs.

remotecom-test's People

Contributors

remotecom avatar

Watchers

Aleks Shtykov avatar Dmitriy Pashkevich 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.