GithubHelp home page GithubHelp logo

noa-code-exercise's Introduction


NoA Ignite - code exercise

Short description:

This is a coding exercise for applying for internship at NoA Ignite!

This app is built with create-react-app, and uses useState + props.

The code-exercise is the main branch. I also have two branches:

  • A) a initiated (unfinished) project which uses useReducer + props (which is before refactoring of styled components and code in general), and
  • B) a branch in which I will be developing using useReducer + context. Stay tuned!

The instructions were:

  • Build a react app showing two buttons and a counter (as shown in received mock-ups), with functionality connected to the buttons.
  • The buttons should have a certain styling as detailed in the instructions I received, and should increase/decrease the count displayed in the counter.
  • The counter is connected to an array of git-repo names, and upon increasing/decreasing the count the number in the counter should correlate with the position in the array of reponames - fetching and showing some data about that repository.
  • The app should include error handling for the API, and other possible errors.
  • Extra feature - the app displays a loader while new data is being fetched from the API.

I have also added some extra features of my own:

  • Saving the current repo to localStorage, so that the same repo will still show when updating browser, as well as for decreasing the amount of web requests made.
  • Responsivity mobile- / desktop-view.

Techniques used (shields/badges)

Git badge VSCode badge ESLint badge Prettier badge HTML5 badge JavaScript badge TypeScript badge React badge GitHub badge


Git commit convention:

  • โœจ (feat): - introduces a new feature to the codebase
  • ๐Ÿ“ (docs): - documentation / README
  • โ™ป๏ธ (refactor): - refactoring of code
  • ๐Ÿ‘ท (build): - project build-up
  • ๐Ÿ› (fix): - patches a bug in your codebase
  • ๐Ÿ’„ (style): - css/scss styling
  • โช (revert): - revert to previous code

Screenshot of project:

Demonstration of NoA Ignite - code exercise


Run locally:

Clone the project

  git clone https://github.com/Ayngie/noa-code-exercise.git

Go to the project directory

  cd noa-code-exercise

Install dependencies

  npm install

Start the server

  npm start

noa-code-exercise's People

Contributors

ayngie avatar

Watchers

 avatar

noa-code-exercise's Issues

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.