Skip to content

Instantly share code, notes, and snippets.

@jelizarovas
jelizarovas / Installing Lite on Chromebook
Created Feb 13, 2021
journey to install lite code editor
View Installing Lite on Chromebook
I want to develop on my pixelbook. Installing vscode on it runs like crap, with ms delay between typing. So i was looking for alternatives.
Tried `https://github.com/cdr/code-server` but could not live reload, because watching my repo and running it at the same time errored out.
Tried installingn bracket - which already did not look promising - ran into installation problems, scrap it.
But when my work got cancelled, and after going through my email medium weekletter i found this article `https://medium.com/swlh/i-switched-to-lite-after-using-vscode-for-3-years-16f2fffa6143`
It looks like low latency promising editor that should run on it.... the problem is with installing it. Can't figure it out.
```
View refresher.js
const produce = ["132456789", "Orange", "Banana"];
const customer = ["Marc", "Lozinski", "8605150847", "Male"];
const customers = [
{
name: "Marc",
lasname: "Lozinski",
phone: "8605150847"
},
View mernSetups.js
# sets up package.json file
npm init
# express is our main framework
# mongoose is used to connect/interact with MongoDB
# body-parser allows us to get the data throughout the request
# bcryptjs is a password hashing function designed by Niels Provos and David Mazières
# validation (as its name implies) is used for validation
npm i express mongoose body-parser bcryptjs validation