Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/juliolmuller/studying-vanilla-javascript

Simple system for data manipulation with JavaScript client-side. Full sample of a CRUD (create, read, update & delete) with use of the local browser storage.
https://github.com/juliolmuller/studying-vanilla-javascript

adminlte crud vanilla-javascript

Last synced: about 2 months ago
JSON representation

Simple system for data manipulation with JavaScript client-side. Full sample of a CRUD (create, read, update & delete) with use of the local browser storage.

Awesome Lists containing this project

README

        


:books: Simple CRUD with Vanilla JavaScript


Lessons Learned   |   
Technologies   |   
Environment Setup   |   
Features


Creation Date

Update Date

Latest Version

Pull Requests Welcome

Project License

![Application snapshot](./src/img/app-overview.jpg)

Frontend web CRUD application developed to refresh knowledge of DOM manipulation using vanilla JavaScript (no frameworks). This project was proposed and developed in [Hcode's Udemy course](https://www.udemy.com/course/javascript-curso-completo/), an awesome one - :smiley: highly recommended!

[Check out the application running!](https://juliolmuller.github.io/studying-javascript-crud/)

## :trophy: Lessons Learned

- ES6+ class notation;
- `localStorage`/`sessionStorage` API;
- `FileReader` to convert binary files into a Base64 encoded string;
- HTML `data-*` custom attributes API;
- How to create an app based on [Admin LTE 3](https://adminlte.io/themes/v3/);
- Overall tips on DOM manipulation;
- Bundling the application with [Parcel.js](https://parceljs.org/)

## :rocket: Technologies & Resources

**Development:**
- Visual Studio Code
- Parcel.js (for application bundling)

## :hammer: Setting up the Environment

Make sure to have **Node.js 10+** installed in your machine and its **npm** available in the command line, then use the following routines:

```bash
$ npm install # Download dependencies
$ npm start # Run development server
$ npm run build # Build files for production
```

## :zap: Features Implementations

- [x] Restore saved users from browser's local storage;
- [x] Create new users;
- [x] Edit existing users;
- [x] Delete existing users;
- [x] Save changes to browser's local storage;
- [x] Upgrade UI components to AdminLTE 3;