Skip to content

Instantly share code, notes, and snippets.

View markosmk's full-sized avatar
🏠
Working from home

Mark markosmk

🏠
Working from home
View GitHub Profile
@markosmk
markosmk / ApiRestLocalStorage.class.js
Last active December 8, 2022 11:11
Simple Class to use LocalStorage how ApiRest
'use strict';
import { v4 as uuidv4 } from 'uuid';
const NAME_DB = 'accounts';
export class RestApiLocalStorage {
currentItems = [];
constructor() {
this.getData();