ilyas9461 / vanilla-js-hyf-site-with-server

Vanilla JS, Web Component, Store, PUB/SUB

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

WEB BOOK ARDUINO

SPA (Single Page Application) work with Vanilla JS

A Quick Test-Drive

Copy or clone all of the files in your local. Open the VS Code and run with the Live Server extension.

OR

  1. Install Node.js
  2. Navigate to the project folder and run the following from a terminal:
    • npm i (to create a Node.js project)
    • npm run dev or
    • npm run server.js
  3. Open localhost in a web browser, using the port specified in server.js e.g. http://localhost:3000/

My Goal In This Project

First of all, I worked for a dynamic website. I used web components and SPA architecture for this. I used PUB/SUB and Store structure for data sharing and automatic rendering of some components. He helped with some components of the project. Each component is designed not to affect each other. Local storage was used as the database. Interactive data from the user is recorded here and used to create dynamic content. A control panel was created for user logins. New users and new content can be added here.

Dark/Light mode and language options have also been added to the site. Thus, the user will be able to choose according to his preference.

Efforts were made to ensure that every designed component and page was responsive.

I was wondering about SPA with Vanilla JS. I found an opportunity for this in this study. This was a different experience for me too. I thank you https://www.hackyourfuture.net/ for this.

Ilyas YAGCIOGLU

Default

- User Name : user
- Password  : 1234

Some resources I use frequently

  1. https://www.w3schools.com/
  2. https://css-tricks.com/build-a-state-management-system-with-vanilla-javascript/
  3. https://dev.to/chovy/state-management-into-its-own-module-in-vanilla-javascript-58mf
  4. https://learn.microsoft.com/en-us/previous-versions/msdn10/hh201955(v=msdn.10)
  5. https://www.antoniovdlc.me/one-way-state-management-in-vanilla-javascript/
  6. https://unsplash.com/
  7. https://www.arduino.cc/

About

Vanilla JS, Web Component, Store, PUB/SUB


Languages

Language:JavaScript 76.3%Language:CSS 22.4%Language:HTML 1.2%