Photo by Tobias Fischer on Unsplash

//personal notes

// i wrote this article as my personal notes and posted it so that it can be helpful for someone.

//official docs— https://github.com/mapbox/node-sqlite3/wiki/API

Sqlite is a perfect standalone database layer for projects that require a minimal database connectivity.

sqlite does not requires any server all it does is create a single “.db” file and contains all the data it that file.

implementing using node

npm i sqlite3

create a index.js file and then import it

var sqlite3 = require('sqlite3').verbose();

to create a new database object

var db = new Sqlite3.Database('dbName.db');

this returns a database object which…


Today we’ll be making a ‘to-do’ website… with some different features.

You can check the live demo of what we will be making here.

For the front end, we will be using React.js. React.js is a component based library which is used to develop interactive user interfaces (UIs).

For the back end and storage, we will be using the browser’s local storage. This lets us save data so that next time we open our site, we can access the data we saved earlier.

Create-React-App

Let’s begin. First, you need to setup Node (a cross-platform JavaScript run-time environment) and React.

You can…

Mohit

React | UI/UX | Python | Freelancer | EDM🎧 mohit0101.surge.sh

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store