create account

Web Program Development #1 by veryhappyday

View this thread on: hive.blogpeakd.comecency.com
· @veryhappyday · (edited)
$0.81
Web Program Development #1
# Development of Web-based Sales Inventory Program 

I would like to post as we proceed with the goal of creating a web-based sales inventory program.


First, set the development environment in Windows 

Go to the nodejs.org website. 

![](https://images.ecency.com/DQmd64Etfkd3a59PGzhFg7TtukoJa8hNUkAmeUF5xbvmF2d/nodejs.jpg)



Install node.js v20.17.0.
![](https://images.ecency.com/DQmdLskTHvtftQpaARAupxpMmVyw2stmQNYBakaUnMXwCUP/cmd1.jpg)




Node.js must be installed to use npm. 
npm is the package manager for node.js.



**Advantages of Nodejs**
1)asynchronous programming
It works using an asynchronous event-based architecture, which can handle multiple tasks at once, making it ideal for I/O-intensive applications.

2)a fast pace 
   Node.js using the V8 JavaScript engine provides high performance.

3)Using a Single Language
  The entire stack can be developed using JavsScript.

4)Manage packages and modules through NPM.
5)Scalability  
     It is suitable for developing highly scalable applications. Asynchronous architectures and event-based models are easy to handle large-scale traffic. 
6)It has a healthy development ecosystem.
7)Easy Web Application Development 

Trying to use node.js for background running.

The front end wants to use react, vite, typecript, tailwildCSS.

Vite is a build tool and features that it uses ESM methods without bundling when developed locally, so the local server runs very fast.

react is a web framework that is used to create user interfaces as part of the JavaScript library. It is a front-end library provided by Facebook.

**Characteristics of react**

1)Data Flow 
Data flow has a one-way data flow that flows only in one direction.
2)Component-based architecture
Create a UI (View) by splitting multiple components. 
3)Virtual DOM 
DOM stands for Document Object Model. 
Create a virtual DOM every time an event occurs. Each time you redraw it, you can compare it with the actual DOM and the state before and after, reflecting only the smallest changes that need to be changed in the actual DOM to improve the efficiency and speed of the app.

4)Props와 State
           Props: The data that is transferred from the parent component to the child component.
           State : Declares inside the component and can change the value inside.

5)JSX 
It is an extended grammar of Javascript.



**Setting the environment**

<pre>
$ npm init vite@latest jangbu -- --template react-ts
$ cd front
$ npm i
</pre>

![](https://images.ecency.com/DQmQq7XbvPJAZhgTKErhg2c9tqYmYYap7zruYRmy3bc8HmA/image.png)


Tailwind CSS Settings
<pre>
$ npm install -D tailwindcss postcss autoprefixer
$ npx tailwindcss init -p
</pre>

https://images.ecency.com/DQmcmVczdZxL452XufVeGg9Ck5sHPHXsq7jgtRJ5tjdiHUQ/image.png


Use Visual Studio code.
![](https://images.ecency.com/DQmcBbT4neozTWnzuvECHAoeyTzqeXqc895PmX7bRLETumu/image.png)




A long way to go, but a thousand miles a day starts with one step

Thank you for reading my post. 😀

👍  , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , and 210 others
properties (23)
authorveryhappyday
permlinkweb-program-development-1
categoryhive-169321
json_metadata"{"app":"ecency/3.2.0-vision","description":"Development of Web-based Sales Inventory Program I would like to post as we proceed with the goal of creating a web-based sales inventory program. First, set the development environment in Windows Go to","format":"markdown+html","image":["https://images.ecency.com/DQmd64Etfkd3a59PGzhFg7TtukoJa8hNUkAmeUF5xbvmF2d/nodejs.jpg","https://images.ecency.com/DQmdLskTHvtftQpaARAupxpMmVyw2stmQNYBakaUnMXwCUP/cmd1.jpg","https://images.ecency.com/DQmQq7XbvPJAZhgTKErhg2c9tqYmYYap7zruYRmy3bc8HmA/image.png","https://images.ecency.com/DQmcmVczdZxL452XufVeGg9Ck5sHPHXsq7jgtRJ5tjdiHUQ/image.png"],"image_ratios":["0.9696","2.0736","0.8434","1.2574"],"tags":["hive-169321","programming","pimp","development","ecency","ecency"],"thumbnails":["https://images.ecency.com/DQmd64Etfkd3a59PGzhFg7TtukoJa8hNUkAmeUF5xbvmF2d/nodejs.jpg","https://images.ecency.com/DQmdLskTHvtftQpaARAupxpMmVyw2stmQNYBakaUnMXwCUP/cmd1.jpg","https://images.ecency.com/DQmQq7XbvPJAZhgTKErhg2c9tqYmYYap7zruYRmy3bc8HmA/image.png","https://images.ecency.com/DQmcmVczdZxL452XufVeGg9Ck5sHPHXsq7jgtRJ5tjdiHUQ/image.png"]}"
created2024-08-23 05:22:15
last_update2024-08-23 05:55:36
depth0
children1
last_payout2024-08-30 05:22:15
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.813 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length2,977
author_reputation83,921,138,233,896
root_title"Web Program Development #1"
beneficiaries
0.
accountreward.app
weight10,000
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id136,473,906
net_rshares6,398,110,036,814
author_curate_reward""
vote details (274)
@stemsocial ·
re-veryhappyday-web-program-development-1-20240823t170714940z
<div class='text-justify'> <div class='pull-left'>
 <img src='https://stem.openhive.network/images/stemsocialsupport7.png'> </div>

Thanks for your contribution to the <a href='/trending/hive-196387'>STEMsocial community</a>. Feel free to join us on <a href='https://discord.gg/9c7pKVD'>discord</a> to get to know the rest of us!

Please consider delegating to the @stemsocial account (85% of the curation rewards are returned).

You may also include @stemsocial as a beneficiary of the rewards of this post to get a stronger support.&nbsp;<br />&nbsp;<br />
</div>
properties (22)
authorstemsocial
permlinkre-veryhappyday-web-program-development-1-20240823t170714940z
categoryhive-169321
json_metadata{"app":"STEMsocial"}
created2024-08-23 17:07:15
last_update2024-08-23 17:07:15
depth1
children0
last_payout2024-08-30 17:07:15
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length565
author_reputation22,918,176,844,004
root_title"Web Program Development #1"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id136,483,794
net_rshares0