GithubHelp home page GithubHelp logo

themaximehardy / interview-frontend-hokodo Goto Github PK

View Code? Open in Web Editor NEW
1.0 0.0 0.0 4.94 MB

Technical test for frontend interview @Hokodo

HTML 12.10% JavaScript 63.41% Dockerfile 2.40% SCSS 22.08%
interview frontend-interview docker react

interview-frontend-hokodo's Introduction

Hokodo Bookshelf

Technical test for the frontend interview @Hokodo.

hokodo bookshelf project

Intro

  1. I've started with a simple create-react-app which offers all the tools we need to create a production ready React app.
  2. I've added some test libraries (as devDependencies) and the react router (to create 2 routes and a 404 page).
  3. I've used React hook (useState, useEffect, useMemo and Context).
  4. I've added a Dockerfile and a Docker compose file to deploy it easily.

Let's launch it ๐Ÿš€


Via Docker:

Running the app โ€“ย up and build:

docker-compose up --build -d

You can see the app running on http://localhost:3001/

Stop the app โ€“ down:

docker-compose down

Via yarn:

cd hokodo-bookshelf
yarn # install the dependencies

Start the app:

yarn start

You can see the app running on http://localhost:3000/

Build the app:

yarn build

Run the tests:

yarn test

Optimisation and next steps

  • Make it responsive and mobile friendly
  • Create a search input to find quickly a book
  • Now, I'm making only 1 request (when we load the page) but it would be great to have more endpoints depending of the situation (list of books or single book...)
  • Write more tests!!

interview-frontend-hokodo's People

Contributors

dependabot[bot] avatar themaximehardy avatar

Stargazers

 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.