Hello! im

Anthony Th

frontend developer

About me

( );

Anthony Th

Email: imprintcode@gmail.com

Phone: is found on the resume

Address: is found on the resume

Date of Birth: is found on the resume

Relocate: quite possibly

Remote or office: remote format is preferable

  • Pet-Projects

Skills

( );

My stack

C

C++

C#

CSS

Figma

Git

Html

JavaScript

React

React Redux

Sass

Node.js

TypeScript

Angular

Language skill

  • B2

    English

  • A1

    French

Experience

( );

This information is available and presented in the summary.

Education

( );

Moscow Polytechnic University

2010 - 2015


The rest of the information is available in the resume.

Portfolio

( );

My Recent Work

This section presents projects from the "JS/FE Pre-School 2022" and "JavaScript/Front-end 2022Q1" courses.

Project "Shelter"

Status: in progress

Project "Portfolio"

The page is adaptive, with language switch and dark/light modes. This layout is made with PerfectPixel for a perfect match with the layout from Figma

Project "Eco-sounds"

This project implements the playback of bird voices by the advised labels and the play/pause button

Project "Random jokes"

This application displays a random quote from the API when the button is clicked (with sound and animation). The json file is used as the source of the quote. This application has a ru\eng language switch

Project "cssMemSlider"

The slider is made only in CSS. This work is adapted for Google Chrome.

Project "Memory Game"

The "Memory game" is implemented in js without the use of third-party libraries

This section presents projects from the "hobby".

Project "Simple online shop"

This application is made using react, react-redux. Done: add to cart and remove, product catalog, product description and cost

Project "Simple todo-list"

What is a ToDo List? The definition is a simple one. It's a list of tasks you need to complete or things that you want to do. This project is a simple to-do list created with Angular

Contact

( );

Contact information is available on your resume.

</>

code

( );

import axios from 'axios';

const BASE_URL = 'http://localhost:5000';

export function getProducts() {
 return axios.get(`${BASE_URL}/api/products`)
  .then(response => response.data);
}

export function getCartProducts(cart) {
 return axios.post(`${BASE_URL}/api/products`, {cart})
  .then(response => response.data);
}

export function login (data) {
 return axios.post(`${BASE_URL}/api/auth`, { name: data.name, password: data.password })
  .then(response => {
   localStorage.setItem('x-access-token', response.data.token);
   localStorage.setItem('x-access-token-expiration', Date.now() + 2 * 60 * 60 * 1000);
   return response.data
  })
  .catch(err => Promise.reject('Error authentication!'));
}

export function isAuthenticated(){
  return localStorage.getItem('x-access-token') && localStorage.getItem('x-access-token-expiration') > Date.now()
}