Lodash makes JavaScript easier by taking the hassle out of working with arrays, numbers, objects, strings, etc. Lodash’s modular methods are great for:
Quill is a free, open source WYSIWYG editor built for the modern web. With its modular architecture and expressive API, it is completely customizable to fit any need.
Leaflet is the leading open-source JavaScript library for mobile-friendly interactive maps. Weighing just about 39 KB of JS, it has all the mapping features most developers ever need.
Leaflet is designed with simplicity, performance and usability in mind. It works efficiently across all major desktop and mobile platforms, can be extended with lots of plugins, has a beautiful, easy to use and well-documented API and a simple, readable source code that is a joy to contribute to.
Bootstrap is the most popular CSS front-end framework. It is amazing in its capabilities, but there are other frameworks that might be good enough for you. Here are 10 of the best alternatives that you should definitely try.
1. Foundation
A Foundation framework for any device, medium, and accessibility. Foundation is a family of responsive front-end frameworks that make it easy to design beautiful responsive websites, apps and emails that look amazing on any device. Foundation is semantic, readable, flexible, and completely customizable. You cat get templates for your website: https://get.foundation/templates.html
A lightweight and modular front-end framework for developing fast and powerful web interfaces.
This framework contains hundreds of components, buttons, forms, icons, modals and other UI components for your website. Full documentation of this framework You can see on this website: https://getuikit.com/docs/introduction
A modern responsive front-end framework based on Material Design. Material design is a language created by Google that combines traditional design methods with innovation and technology.
Metro 4 is a component library for developing sites with HTML, CSS, and JS. Quickly prototype your ideas or build your entire app with responsive grid system, extensive prebuilt components, and powerful plugins.
Metro 4 developed to build websites in Windows Metro Style and include general styles, grid, layouts, typography, 100+ components and routines, 600+ built-in icons.
Metro 4 is an open-source and has an free dual licensing model.
Also we need to install Nginx web server to proxy http and https requests (from 80, 443 ports) to node application port.
sudo apt-get install nginx
We need to install Git if we want to deploy our application from git repository:
sudo apt-get install git
Next go to /home directory and use command:
git clone repositury_url
This command will clone all files from your git repository to server.
Next we need to install all dependencies from package.json:
npm install
And now we can run our application using command:
node index.js
But this command will stop work if our server will restart or if we close SSH connection to server. To run our application as daemon on server startm use special command pm2. Install it globally with Npm package manager:
sudo npm install pm2 -g
This program will run our node.js application in background:
pm2 start index.js
TO automatic start pm2 on system boot – generate startup script using command:
In our first app we will use Express framework. Express is a minimal and flexible Node.js web application framework that provides a robust set of features for web and mobile applications. To install express use command:
Next step of creating Node.js application is installing additional frameworks and dependencies that facilitate work with the project.
In our lesson we will use popular web framework “Express” and utility “Nodemon”, that will monitor for any changes in your source and automatically restart your server.
To install this dependencies in console write commands:
npm install express
npm install -D nodemon
Flag -D means that this is developer dependency and it not used in production project.
In section “scripts” write create script “start” and “dev”:
Never send your passwords and restricted data openly to other people!All social networks and messengers always save your data on servers and some third persons possibly can read your messages.
If you need to send secret data – send encrypted link that can only be viewed once. Don’t write from which service is this password, tell it to other person by phone or in other messenger.
In this case, the connection between the service and the password is broken and no one will be able to get the password, except to whom you sent the message.
This service with open source and MIT license encrypt your message and generate special URL link, that you can send in social network or messenger to other people, after reading your message it will be automatically destroyed and no one will be able to read your message again.
Another PHP framework for web applications is Symfony. It is used by thousands of web applications (including BlaBlaCar.com and Spotify.com) and most of the popular PHP projects (including Drupal and Magento).GitHub Stars: 17.8k+
Next lets create new folder “react-app” with files of our application. In this folder create two empty files: index.html, package.json, and subfolder src such as on screenshot:
File index.html will have basic html markup:
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title>React App</title>
</head>
<body>
<noscript>
You need to enable JavaScript to run this app.
</noscript>
<div id="root"></div>
<!-- Bundle -->
<script src="./src/index.js"></script>
</body>
</html>
In subfolder src create file index.js, it will be main file of our react application: