Giter Site home page Giter Site logo

level-path's Introduction

Levelpath frontend take-home task

Task

Implement a list of today's birthdays using Wikipedia's "On this day" API.

Requirements

  • Initially there must be a button. Data is fetched and displayed after the button is clicked.
  • Entries should be ordered by their year.
  • "Loading" message/UI component must be shown while data is being fetched.
  • Error modal must be shown when fetching data has failed.

Implementation requirements

  • React framework and global state management solution of your choice (Context, Redux, MobX, etc.) must be used.
  • Provide some basic styling with custom css or css-in-js solution of your choice.
  • You can use whatever React project boilerplate, tools and libraries you like.
  • TypeScript is preferred over JavaScript.
  • Application parts must have tests, however it's not necessary to have full test coverage, write at least a single one for every type of test. As an example for imaginary Redux project: action creator, reducer, asynchronous functions, UI component render, UI component user interactions are different types of tests.

Submitting

  • Please bundle your homework using git bundle create lp-fe-homework.bundle --all
  • Attach the bundle file to an email and send as a reply to the initial homework email
  • We will then extract it using git clone lp-fe-homework.bundle on our side

version: 2023-07-31

Printscreen

image

Getting Started with Create React App

This project was bootstrapped with Create React App.

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.

The page will reload if you make edits.
You will also see any lint errors in the console.

npm test

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

npm run build

Builds the app for production to the build folder.
It correctly bundles React in production mode and optimizes the build for the best performance.

The build is minified and the filenames include the hashes.
Your app is ready to be deployed!

See the section about deployment for more information.

npm run eject

Note: this is a one-way operation. Once you eject, you can’t go back!

If you aren’t satisfied with the build tool and configuration choices, you can eject at any time. This command will remove the single build dependency from your project.

Instead, it will copy all the configuration files and the transitive dependencies (webpack, Babel, ESLint, etc) right into your project so you have full control over them. All of the commands except eject will still work, but they will point to the copied scripts so you can tweak them. At this point you’re on your own.

You don’t have to ever use eject. The curated feature set is suitable for small and middle deployments, and you shouldn’t feel obligated to use this feature. However we understand that this tool wouldn’t be useful if you couldn’t customize it when you are ready for it.

Learn More

You can learn more in the Create React App documentation.

To learn React, check out the React documentation.

Tests

image

api key (For demo only)

Client ID: e8100d264063c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kGH89o96yaK8E8F-zmsRLvrSeMHj09sZ0dYqWicubZWrI44dirBmpW8IxV1vNxPbBs-kwSYDT4kAPGKZ-1kPQmweQBtUUiCwoGB0WUTm3BBe4220W1qPMoSG7PJ3C9k9VxOKypiAwFek1BMVmY0cTZuWd3kTIYAp0

level-path's People

Contributors

alan345 avatar

Watchers

 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.