repo
stringlengths
8
123
branch
stringclasses
178 values
readme
stringlengths
1
441k
description
stringlengths
1
350
topics
stringlengths
10
237
createdAt
stringlengths
20
20
lastCommitDate
stringlengths
20
20
lastReleaseDate
stringlengths
20
20
contributors
int64
0
10k
pulls
int64
0
3.84k
commits
int64
1
58.7k
issues
int64
0
826
forks
int64
0
13.1k
stars
int64
2
49.2k
diskUsage
float64
license
stringclasses
24 values
language
stringclasses
80 values
M8-Lovelace/RifaYa
main
# RifaYa RifaYa es un proyecto de Vue 3 + Vite para crear y administrar rifas. Este paquete utiliza Vue.js y Quasar Framework para crear una interfaz de usuario interactiva y atractiva. - [Enlace para ver el proyecto](https://fantastic-starlight-72c889.netlify.app/) ## Instalación Una pequeña introducción sobre la instalación. 1. Clone the repository: `git clone https://github.com:M8-Lovelace/RifaYa.git` 2. Go to the folder: `cd rifaYa` 3. Install dependencies: `npm install` 4. Run the project: `npm run dev` ## Créditos Este proyecto ha sido creado por Laura Susano.
Proyecto boleteria utilizando localstorage, vue 3, pinia, chart.js, quasar, icomoon
css,html,quasar,vue3,javascript,pinia,icomoon,vue-chartjs
2023-03-21T14:42:37Z
2023-04-11T03:34:48Z
null
1
0
14
0
0
2
null
null
Vue
networld-to/fediverse-helper
main
# Fediverse Helper Typescript/Javascript library that provides basic API calls and utility functions that are useful to interact with ActivityPub-based Fediverse instances. It supports also related protocols and specifications such as Webfinger. ## Getting Started ```sh # Not yet published $ yarn add @networld-to/fediverse-helper ``` See the following usage example to get started. ```js import FediverseAccount from '@networld-to/fediverse-helper'; const fediAccount = new FediverseAccount('@user@instance.tld'); console.log(fediProfile.getInstanceHost()); fediProfile.getAccountInfo(this.email).then((profile) => { console.log(profile); }); ``` ## Functionality The FediverseAccount class accepts the fediverse handle as input parameter during the instantiation. Everything else is derived from it by making the right calls and parsing the right data. | Function | Params | Output | Caching | | ---------------- | -------------------------------------- | ---------------------- | ---------------------- | | getInstanceHost | None | fediverseHost (String) | Not needed, local call | | getWebfingerInfo | forceFetch: boolean = false (optional) | webfingerInfo (Object) | Yes | | getInstanceInfo | forceFetch: boolean = false (optional) | instanceInfo (Object) | Yes | | getAccountInfo | forceFetch: boolean = false (optional) | accountInfo (Object) | Yes | | getOutboxPosts | None | posts (\[Object\]) | No | The getHandleHost is an internal helper function that splits the fediverse handle into two parts and returns the hostname of it. For the instance host use the getInstanceHost function. The fediverse handle may only be an alias to the real instance. ## Developers ```sh # To run ./client/main.js after compiling the library (see ./dist output) $ yarn run client @username@instance.tld ``` Alternatively run the steps manually. ```sh # Make your changes in files under ./src/ $ yarn build # see output under ./dist # Change code under ./client/main.js and run it $ node ./client/main.js @username@instance.tld ```
Typescript/Javascript library that provides useful API calls and utility function to interact with the Fediverse
javascript,activitypub,fediverse,typescript,webfinger
2023-03-20T01:29:47Z
2024-01-28T17:19:28Z
null
1
1
12
0
0
2
null
null
TypeScript
jayk-gupta/lift-simulator
main
# Lift-simulator Lift simulator build using Html,CSS and Javscript
Lift simulator created using html, css and javascript
css,good-first-issue,html,javascript
2023-03-17T18:04:36Z
2023-04-13T03:29:37Z
null
1
0
7
0
0
2
null
null
CSS
JonJon50/John-Hagens-Jr-Portfolio
main
<h1 align="center">John Hagens Portfolio</h1> ![alt](https://img.shields.io/badge/License-MIT-blue) ![alt](https://img.shields.io/website?down_color=red&down_message=offline&up_color=green&up_message=online&url=https%3A%2F%2Ftranquil-falls-34631.herokuapp.com%2Fnotes) <p align="center">Portfolio</p> <br> ## Table of Contents - [Installation](#installation) - [Usage](#usage) - [Credits](#credits) - [License](#license) <br> **Hello👋** - Motivated tech professional and problem solver with a background in big data. Experience with analytical thinking, project manage, strong team skills, and excellent verbal and written communication. - Trained at [University of Central Florida (UCF)] coding boot camp and earned a certificate in full- stack web development. Innovative problem-solver passionate about developing apps; focused development. Strengths in creativity, teamwork, and building projects from ideation to execution. ## <h2 id="installation"> Installation </h2> Go to the internet, type in John Hagens Portfolio, That's it! <br> ## <h2 id="usage"> Usage </h2> 🔭 Navigate to the page. 👨‍💻 Here you will read about me see if I'm the right fit for you. 🤝 Let's talk. 📫 **Email Me on Contact Page** 👯 Hoping to be apart of your team! <p align="center">ScreenShots 🏆</p> <br> 🔭 [Deployment Website](https://john-hagens-jr-portfolio.vercel.app/) 🔭 ![Photo1](./src/assets/Image/Portfolio1.png) ![Photo1](./src/assets/Image/Portfolio2.png) <br> <h2>Languages Used/Requirements</h2> <br> <p align="left"> <a href="https://getbootstrap.com" target="_blank" rel="noreferrer"> <img src="https://raw.githubusercontent.com/devicons/devicon/master/icons/bootstrap/bootstrap-plain-wordmark.svg" alt="bootstrap" width="40" height="40"/> </a> <a href="https://bulma.io/" target="_blank" rel="noreferrer"> <img src="https://raw.githubusercontent.com/gilbarbara/logos/804dc257b59e144eaca5bc6ffd16949752c6f789/logos/bulma.svg" alt="bulma" width="40" height="40"/> </a> <a href="https://www.w3schools.com/css/" target="_blank" rel="noreferrer"> <img src="https://raw.githubusercontent.com/devicons/devicon/master/icons/css3/css3-original-wordmark.svg" alt="css3" width="40" height="40"/> </a> <a href="https://expressjs.com" target="_blank" rel="noreferrer"> <img src="https://raw.githubusercontent.com/devicons/devicon/master/icons/express/express-original-wordmark.svg" alt="express" width="40" height="40"/> </a> <a href="https://git-scm.com/" target="_blank" rel="noreferrer"> <img src="https://www.vectorlogo.zone/logos/git-scm/git-scm-icon.svg" alt="git" width="40" height="40"/> </a> <a href="https://heroku.com" target="_blank" rel="noreferrer"> <img src="https://www.vectorlogo.zone/logos/heroku/heroku-icon.svg" alt="heroku" width="40" height="40"/> </a> <a href="https://www.w3.org/html/" target="_blank" rel="noreferrer"> <img src="https://raw.githubusercontent.com/devicons/devicon/master/icons/html5/html5-original-wordmark.svg" alt="html5" width="40" height="40"/> </a> <a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript" target="_blank" rel="noreferrer"> <img src="https://raw.githubusercontent.com/devicons/devicon/master/icons/javascript/javascript-original.svg" alt="javascript" width="40" height="40"/> </a> <a href="https://jestjs.io" target="_blank" rel="noreferrer"> <img src="https://www.vectorlogo.zone/logos/jestjsio/jestjsio-icon.svg" alt="jest" width="40" height="40"/> </a> <a href="https://www.mysql.com/" target="_blank" rel="noreferrer"> <img src="https://raw.githubusercontent.com/devicons/devicon/master/icons/mysql/mysql-original-wordmark.svg" alt="mysql" width="40" height="40"/> </a> <a href="https://nodejs.org" target="_blank" rel="noreferrer"> <img src="https://raw.githubusercontent.com/devicons/devicon/master/icons/nodejs/nodejs-original-wordmark.svg" alt="nodejs" width="40" height="40"/> </a> <a href="https://www.php.net" target="_blank" rel="noreferrer"> <img src="https://raw.githubusercontent.com/devicons/devicon/master/icons/php/php-original.svg" alt="php" width="40" height="40"/> </a> <a href="https://postman.com" target="_blank" rel="noreferrer"> <img src="https://www.vectorlogo.zone/logos/getpostman/getpostman-icon.svg" alt="postman" width="40" height="40"/> </a> <a href="https://reactjs.org/" target="_blank" rel="noreferrer"> <img src="https://raw.githubusercontent.com/devicons/devicon/master/icons/react/react-original-wordmark.svg" alt="react" width="40" height="40"/> </a> </p> - JavaScript - React - Node.js - Express.js - RESTful API - React-Bootstrap - HTML - CSS - [x] Reliable API // This is done - [x] Authentication // This is done - [x] Heroku Deployment // This is done - [x] Vercel Deployment // This is done <br> <h2 id="credits">Collaborators/Creditors 🏆</h2> 👨‍💻 We are Coding BootCamp Alumni of [UCF](https://www.ucf.edu/students/) ⭐️ - [Profile]( https://github.com/JonJon50 " John Hagens ") -- John Hagens Contributions, issues, and feature requests are welcome! 🤝 <table> <tr> <td> Don't forget to star ⭐ this repository </td> </tr> <br> <h2 id="license">MIT License</h2> The MIT License (MIT) Copyright (c) <year> Adam Veldhousen Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. @Levi0100 </h5>
Trained at [University of Central Florida (UCF)] coding boot camp and earned a certificate in full- stack web development. Innovative problem-solver passionate about developing apps; focused development. Strengths in creativity, teamwork, and building projects from ideation to execution.
bootstrap,javascript,nodejs,reactjs
2023-03-22T17:29:29Z
2024-02-06T13:23:12Z
null
1
16
77
0
0
2
null
null
CSS
Amadeo-Frontend/pulp-fiction
main
<h1 align="center">Landing page do filme Pulp Fiction</h1> </br> <p align="center">Uma landing page do filme pulp fiction, com modo escuro e 100% Responsivo, feito com :</p> </br> <div style="display: inline_block" align="center"> <img align="center" alt="Amadeo-HTML" height="30" width="40" src="https://raw.githubusercontent.com/devicons/devicon/master/icons/html5/html5-original.svg"> <img align="center" alt="Amadeo-CSS" height="30" width="40" src="https://raw.githubusercontent.com/devicons/devicon/master/icons/css3/css3-original.svg"> <img align="center" alt="Amadeo-JavaScript" height="30" width="40" src="https://github.com/Amadeo-Frontend/devicon/blob/master/icons/javascript/javascript-original.svg"> <img align="center" alt="Amadeo-VScode" height="30" widith="40" src="https://github.com/Amadeo-Frontend/devicon/blob/master/icons/nodejs/nodejs-original.svg"> <img align="center" alt="Amadeo-VScode" height="30" widith="40" src="https://github.com/Amadeo-Frontend/devicon/blob/master/icons/sass/sass-original.svg"> <img align="center" alt="Amadeo-VScode" height="30" widith="40" src="https://github.com/Amadeo-Frontend/devicon/blob/master/icons/gulp/gulp-plain.svg"> </div> </br> <div align="center"> <p align="center">LIVE:</p> https://pulp-fiction.vercel.app/ </div> # ![Image Generation App](https://github.com/Amadeo-Frontend/images_sites/blob/main/img/screencapture-pulp-fiction-vercel-app-2023-03-21-02_08_21.png)
O projeto "Pulp Fiction" é um site interativo desenvolvido com HTML, SASS e JavaScript, Gulp. Ele apresenta uma interface atraente e responsiva, com efeitos visuais dinâmicos usando o framework Swiper.js.🎥
css3,gulpjs,html5,javascript,nodejs,sass
2023-03-18T14:21:25Z
2023-04-01T22:25:28Z
null
1
0
23
0
0
2
null
null
HTML
lucasvctrn/BotDiscord-DevilKitty
master
# botdevilkitty Bot créé pour le serveur Discord DevilKitty. Ce bot permet de se renseigner sur les prochains wipes des serveurs Rust "Survivors.gg" et de les organiser entre les membres du serveur Discord. ## Configuration du Bot Modifier le fichier config.json à la racine du projet pour ajouter les informations nécessaires au bot pour fonctionner, telles que le token discord du bot. ## Lancement du Bot Ouvrir un cmd à la racine.<br /> Lancer la commande "npm install" puis la commande "node index.js".<br /> Le bot est lancé ! Un message de confirmation devrait s'afficher dans la console.
Bot discord pour le serveur DevilKitty, permettant notamment d'organiser les wipes sur le jeu vidéo Rust.
discord-bot,discord-js,javascript,nodejs,rust-game
2023-03-17T10:43:16Z
2024-02-17T10:14:17Z
2023-07-21T12:55:07Z
3
0
36
0
0
2
null
null
JavaScript
lngdao/shochu
main
## Shochu is the Javascript utility library implementing Cocktails ## Installation npm i shochu ## Usage #### -> browser ```html <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8" /> <meta http-equiv="X-UA-Compatible" content="IE=edge" /> <meta name="viewport" content="width=device-width, initial-scale=1.0" /> <title>Document</title> <!-- add this line --> <script src="https://cdn.jsdelivr.net/npm/shochu/dist/shochu.min.js"></script> <!-- add this line --> </head> <body> <script> const shochu = window.shochu; console.log(shochu.isString('Hello World')); // true </script> </body> </html> ``` #### -> nodejs ```js ... import shochu, { isNumber, isString } from 'shochu' // or with commonJS: const { flatten } = require('shochu') console.log(shochu.stringFn.rmDicretics("ĥĕŀŀő ŵőrŀd")) // output: "hello world" console.log(flatten([1, [2, [3, [4]]]])) // [1, 2, 3, 4] console.log(isString('Hello World')); // true ``` ## Methods Update soon... ⏳
Shochu is the Javascript utility library implementing Cocktails
cocktail,javascript,typescript,utility
2023-03-17T17:18:42Z
2023-03-21T13:10:56Z
null
2
2
23
0
0
2
null
MIT
TypeScript
Or911/hakaton-project-DoneRight
main
## hakaton project DoneRight ![image](https://user-images.githubusercontent.com/110628454/227316250-7b655dbc-46a0-4f40-8b49-e5856ebf6ea8.png) ![image](https://user-images.githubusercontent.com/110628454/227317155-70eadf00-cf87-43d0-9576-92d1f5e79537.png) ![image](https://user-images.githubusercontent.com/110628454/227316842-18e6b8e3-9441-4338-8e99-c7225de453c2.png) ![image](https://user-images.githubusercontent.com/110628454/227317421-0d1453ad-669b-4687-8a27-00920cdf11dc.png) ![image](https://user-images.githubusercontent.com/110628454/227316302-efe1add3-53cc-418e-a5bf-534ce56eee43.png) ![image](https://user-images.githubusercontent.com/110628454/227316379-8791c599-dd08-4870-8786-0fa536db5510.png) ![image](https://user-images.githubusercontent.com/110628454/227316464-f360ffb1-3f62-46b6-a218-c721ddbd2af5.png) ![image](https://user-images.githubusercontent.com/110628454/227316517-58995cd9-c015-4185-b73a-e06a6ae0ce24.png) ![image](https://user-images.githubusercontent.com/110628454/227316562-1cc6e8b9-e579-427e-b5a3-c9e51679a3cd.png) ![image](https://user-images.githubusercontent.com/110628454/227316633-ca89d8d8-a448-4c9d-89d3-99963c006896.png) ![image](https://user-images.githubusercontent.com/110628454/227316730-56f6073c-3098-4b7a-b60e-1766819266ff.png)
null
apis,full-calendar,handlebars,javascript,jquery,jwt-token,mongodb,bycrypt,expressjs,fullstack-development
2023-03-23T18:38:30Z
2023-03-23T18:49:04Z
null
1
0
2
0
0
2
null
null
JavaScript
KnowledgeEnthusiast/MyProjects
main
# WebProjects_Responsive_Templates To view and acess the responsive website layout templates created by vishalpuri, respective project links are provided in this page.
To view and access the responsive website layout templates created by Vishalpuri, respective project links are provided in this page.
front-end-development,frontend,frontend-webdevelopment,html-css,html-css-javascript,html5,javascript,project,projects,responsive-design
2023-03-19T05:36:52Z
2023-07-26T17:19:43Z
null
1
0
22
0
0
2
null
null
CSS
CauaRodrigues/rick-and-morty-search
main
# Pickles Search ![banner readme](./.github/Banner.png) Aplicação web para visualizar dados da série Rick and Morty. Todos os dados e informações da série foram consumidos da API [Rick and Morty](https://rickandmortyapi.com/). ## 🌐 Link - [Aplicação online](https://pickles-search.vercel.app/) ## ⚒️ Tools - [React](https://react.dev/) - [Styled-Components](https://styled-components.com/) - JavaScript - [Axios](https://axios-http.com/ptbr/docs/intro) - [React Responsive](https://www.npmjs.com/package/react-responsive) - [React Router](https://reactrouter.com/en/main) - [React Icons](https://react-icons.github.io/react-icons/) - [Yarn](https://yarnpkg.com/)
Aplicação web para buscar personagens, localizações e episódios da série Rick and Morty.
vai-na-web,api,challenge,javascript,react,responsive-layout,rick-and-morty,rickandmortyapi,styled-components,vnw
2023-03-23T02:09:22Z
2023-03-28T19:22:14Z
null
1
0
31
0
0
2
null
null
JavaScript
krzyswys/Hotel-managment-database
main
# System zarządzania pokojami/hotelami ## O projekcie System zarządzania hotelami - stwórz bazę danych przechowującą informacje o pokojach, rezerwacjach, klientach i pracownikach. System powinien umożliwiać zarządzanie rezerwacjami, płatnościami oraz przypisywanie zadań dla pracowników. Sam projekt został stworzony na potrzeby przedmiotu Bazy Danych II na AGH. ## Dokumentacja: https://docs.google.com/document/d/1s0k4Fd70ypCXCu_iY1hvGxTwPxoirSlNfc9ukp7B5XE/edit?usp=sharing ## Użyte technologie - React - Node.js + express.js - MongoDB - Docker ## Autorzy - Jakub Kędra [@xramzesx](https://github.com/xramzesx) - Paweł Konopka [@Nepommuck](https://github.com/Nepommuck) - Krzysztof Wysocki [@krzyswys](https://github.com/krzyswys) ## Uruchamianie ### Server Aby uruchomić projekt (serwer wraz z bazą MongoDB), niezbędne jest posiadanie zainstalowanego dockera na swoim urządzeniu, wraz z `docker-compose`. Następnie w głównym katalogu repozytorium wpisujemy: ``` npm start ``` ### Client Aby uruchomić aplikację webową, należy przejść do katalogu `client`, a następnie wewnątrz niego uruchomić to samo polecenie, co w przypadku servera, czyli: ``` cd ./client npm start ``` ### Schemat bazy danych ![database_schema](https://github.com/krzyswys/Hotel-managment-database/assets/110239601/c58686f1-0446-4b0e-a47a-ae8e67f7130a) ###Prezentacja projektu: <h4 align="center">Strona głowna: </h4> https://github.com/krzyswys/Hotel-managment-database/assets/110239601/53283bb3-e624-4b8c-b299-83ae05a47ff6 https://github.com/krzyswys/Hotel-managment-database/assets/110239601/c0c3ce8f-2487-49a3-8c5c-713dd5326916 https://github.com/krzyswys/Hotel-managment-database/assets/110239601/cf96c19d-b17c-4dfa-9288-138bf1bbd77a <h4 align="center">Widok pojedynczego hotelu: </h4> https://github.com/krzyswys/Hotel-managment-database/assets/110239601/cf2d70b7-2999-4d1b-8a86-c154d5a35eeb https://github.com/krzyswys/Hotel-managment-database/assets/110239601/2112e95f-e34b-4698-aa75-4d1a9b068639 <h4 align="center">Logowanie i widok menadżera: </h4> https://github.com/krzyswys/Hotel-managment-database/assets/110239601/d55aade8-92fc-4666-8952-1bc2653de8d4
MongoDB database with js backend + simple visualisation
dokcer,javascript,mongodb,nosql,react
2023-03-15T14:03:55Z
2023-11-30T00:51:06Z
null
3
29
139
0
0
2
null
null
JavaScript
iamaryanyadavv/apsparty-frontend
main
Will update readme soon.
Frontend files of the website for Ashoka Playstation Party venture. Hosted on Netlify, custom domain from Google Domains.
css3,html5,javascript,nextui,reactjs
2023-03-24T16:42:00Z
2023-04-19T05:51:05Z
null
1
0
37
0
0
2
null
null
JavaScript
VivekChatterjee/portfolio-site
master
# Portfolio ### A web application to showcase your portfolio and skills. <div > <h2><img src="https://raw.githubusercontent.com/Tarikul-Islam-Anik/Animated-Fluent-Emojis/master/Emojis/Travel%20and%20places/High%20Voltage.png" alt="High Voltage" width="40" height="40" /><font size="6">Tech Stack</font></h2> <a href="https://developer.mozilla.org/en-US/docs/Glossary/HTML5"><img src="https://img.shields.io/badge/HTML5-E34F26.svg?style=for-the-badge&logo=HTML5&logoColor=white"></a> <a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript"><img src="https://img.shields.io/badge/JavaScript-F7DF1E.svg?style=for-the-badge&logo=JavaScript&logoColor=black"></a> <a href="https://developer.mozilla.org/en-US/docs/Web/CSS"><img src="https://img.shields.io/badge/CSS3-1572B6.svg?style=for-the-badge&logo=CSS3&logoColor=black"></a> <div> <br> <img src="https://readme-typing-svg.herokuapp.com?color=%2336BCF7&lines=Welcome+to+Portfolio+!;Let's+Build+this+Together;Thanks+for+Contributing" <img src= 'https://capsule-render.vercel.app/api?type=rect&color=gradient&height=2.5'/> <br> 👋 Hey there, techies! Are you planning to get into Open Source World? Then you are at a good place, this is a simple web app to help new Developers to improve using the best practices being followed in the Tech World. So, let's get going. ## How to Contribute ### 1. Fork the repository: Click the "Fork" button at the top right of the repository page on GitHub. This will create a copy of the repository in your own GitHub account. ### 2. Clone the forked repository to your local machine using the following command: ``` git clone https://github.com/your-username/portfolio-site.git ``` > Replace your-username with your GitHub username. ### 3. Create a branch Make a meaningful name for your new branch. Some Best Practices while naming branches: + hotfix - for quickly fixing critical issues, usually with a temporary solution + fix - for fixing a bug + feature - for adding, removing, or modifying a feature + test - for experimenting with something that is not an issue This word is followed by your task. Suppose you want to add a favicon to the website so you can name the branch as feature/add-favicon. Now Once you have decided on the name of your branch. Then create and switch to it using this command: ``` git checkout -b new-branch-name ``` ### 4. Make Changes Make the necessary changes or customizations to the code as needed. After making your changes, you need to stage the changes for commit using the git add command. To stage all changes, use: ``` git add . ``` Or you can select only certain files with changes from VS Code Source Control Button. Commit your staged changes with a descriptive commit message that explains the purpose of your changes. Use the git commit command: ``` git commit -m "Your descriptive commit message here" ``` Push Your Changes: ``` git push origin your-branch-name ``` Now submit the Pull Request. > If there are no issues, you can create any issue or feature you want to have and then raise the Pull Request. ## DEVELOPMENT on your local computer `Clone the repository`: ``` git clone 'https://github.com/VivekChatterjee/portfolio-site.git' ``` and then change the directory to portfolio-site with ``` cd portfolio-site ``` then just run in the console ``` npm run start ``` ## Connect with Me <a href="https://twitter.com/i_vivek_jsr" target="blank"><img align="center" src="https://raw.githubusercontent.com/rahuldkjain/github-profile-readme-generator/master/src/images/icons/Social/twitter.svg" alt="i_vivek_jsr" height="30" width="40" /></a> <a href="https://linkedin.com/in/vivek-chatterjee-a590421b7/" target="blank"><img align="center" src="https://raw.githubusercontent.com/rahuldkjain/github-profile-readme-generator/master/src/images/icons/Social/linked-in-alt.svg" alt="vivek-chatterjee-a590421b7/" height="30" width="40" /></a> <a href="https://instagram.com/vivekbossss" target="blank"><img align="center" src="https://raw.githubusercontent.com/rahuldkjain/github-profile-readme-generator/master/src/images/icons/Social/instagram.svg" alt="vivekbossss" height="30" width="40" /></a> <table> <tr> <td align="center"> <a href="https://github.com/VivekChatterjee"> <img src="https://avatars.githubusercontent.com/u/77501726?s=400&u=4deeced16f78d4eac38069d959a4c9bb566b93be&v=4" width="100px" alt="" /> <br /> <sub><b>Vivek Chatterjee</b></sub> </a> <br /> </a> </td> </tr> </table>
A web application to showcase your portfolio and skills.
css,hacktoberfest,hacktoberfest-accepted,hacktoberfest2023,javascript,portfolio,react
2023-03-21T19:13:08Z
2024-01-07T10:16:30Z
null
2
1
31
2
3
2
null
MIT
JavaScript
byoungdale/mojojs-passwordless-example
main
# mojojs-passwordless-example This is an small example of doing passwordless login with [mojo.js](https://github.com/mojolicious/mojo.js). ![example-gif](./example.gif) # Run example You need a postgresql database and email server to run the example. See below for how to easily get those running with docker. ## 1. Start postgres and create database ```sh docker run --rm --name pg-docker -e POSTGRES_PASSWORD=postgres -d -p 5432:5432 -v $HOME/docker/volumes/postgres:/var/lib/postgresql/data postgres ``` ```sh psql -h 'localhost' -c "CREATE DATABASE mojojs_passwordless_example_dev" "user=postgres dbname=postgres password=postgres" ``` ## 2. Start [maildev](https://github.com/maildev/maildev) email server You will be able to check emails at http://localhost:1080. ```sh docker run -d -p 1080:1080 -p 1025:1025 maildev/maildev ``` ## 3. install dependencies and build ```sh npm install npm run build ``` ## 4. Run migration ```sh node lib/index.js migrate ``` ## 5. Start [minion.js]() background worker for handling signup & login email jobs ```sh node lib/index.js minion-worker --jobs 12 ``` ## 6. Start dev server Leave the background worker running in a separate terminal window. ```sh npm run dev ```
An example of doing passwordless login and signup with mojo.js
javascript,mojojs,mvc,nodejs,passwordless,typescript
2023-03-15T21:36:47Z
2023-03-20T23:16:20Z
null
1
0
6
0
0
2
null
null
TypeScript
ansonbenny/DALL-E
master
# DALL-E This is made with MERN and uses OpenAI API. This is a clone of Dall-E of OpenAi, Its used to generate digital images from prompts (natural language descriptions) . ## Features - Create Image using prompt (Image details) - Download Image - Share Community for Visible everyone - Responsive Design ## Prerequisites - get your OpenAi api key from https://openai.com/api/ - get your imagekit api key from https://imagekit.io/ Make sure you have installed all of the following prerequisites on your development machine: - Node Js & Npm [Download and Install](https://nodejs.org/en) - MongoDB [Download and Install](https://www.mongodb.com/docs/manual/installation/) - Git [Download and Install](https://git-scm.com/downloads) ## Technology Used #vite #reactjs #tailwindcss #nodejs #expressjs #mongodb #javascript #openai #dalle #imagekit ## Environment Variables To run this project, you will need to add the following environment variables to your .env file in server directory `PORT` = `5000` `DB_URL` `OPENAI_API_KEY` `OPENAI_ORGANIZATION` `IMAGEKIT_PUBLIC_KEY` `IMAGEKIT_PRIVATE_KEY` `IMAGEKIT_URL_ENDPOINT` ## Run Locally Clone the project ```bash git clone https://github.com/ansonbenny/DALL-E.git ``` ##To Start BackEnd Go to the server directory ```bash cd DALL-E/server ``` Install dependencies ```bash npm install ``` Start ```bash npm start ``` ##To Start FrontEnd Go to the client directory ```bash cd DALL-E/client ``` Install dependencies ```bash npm install ``` Start ```bash npm run dev ``` ## Demo [Live](https://dalle-anson.netlify.app) https://user-images.githubusercontent.com/94070164/236692420-51d93cf6-a224-4020-b6c5-cbb5629c0ac3.mp4 ![dall-e1](https://user-images.githubusercontent.com/94070164/236692443-afabdeee-9ba7-45f0-a01d-da803ee4446e.png) ![dall-e2](https://user-images.githubusercontent.com/94070164/236692451-be2fe3a7-4217-449e-aef0-25af765cf61d.png) ![da;;-e3](https://user-images.githubusercontent.com/94070164/236692454-77016610-3213-4f60-8cb7-0a41a504c52a.png) ![dall-e4](https://user-images.githubusercontent.com/94070164/236692460-9a1f691c-a428-4dff-9bbc-00ea10ae978b.png) ## 🔗 Links [![linkedin](https://img.shields.io/badge/linkedin-0A66C2?style=for-the-badge&logo=linkedin&logoColor=white)](https://www.linkedin.com/in/anson-benny-502961238/)
DALL-E clone usign MERN stack
dall-e,mern-stack,mongodb,nodejs,openai,reactjs,tailwindcss,javascript
2023-03-18T07:55:35Z
2023-05-10T06:54:17Z
null
1
0
40
0
1
2
null
null
JavaScript
Zohra-Neda/Old-Portfolio
master
<a name="readme-top"></a> <!-- HOW TO USE: This is an example of how you may give instructions on setting up your project locally. Modify this file to match your project and remove sections that don't apply. REQUIRED SECTIONS: - Table of Contents - About the Project - Built With - Live Demo - Getting Started - Authors - Future Features - Contributing - Show your support - Acknowledgements - License OPTIONAL SECTIONS: - FAQ After you're finished please remove all the comments and instructions! --> <div align="center"> <!-- You are encouraged to replace this logo with your own! Otherwise you can also remove it. --> <br/> <h3><b>README.md</b></h3> </div> <!-- TABLE OF CONTENTS --> # 📗 Table of Contents - [📖 About the Project](#about-project) - [🛠 Built With](#built-with) - [Tech Stack](#tech-stack) - [Key Features](#key-features) - [🚀 Live Demo](#live-demo) - [💻 Getting Started](#getting-started) - [Setup](#setup) - [Prerequisites](#prerequisites) - [Install](#install) - [Usage](#usage) - [Run tests](#run-tests) - [Deployment](#triangular_flag_on_post-deployment) - [👥 Authors](#authors) - [🔭 Future Features](#future-features) - [🤝 Contributing](#contributing) - [⭐️ Show your support](#support) - [🙏 Acknowledgements](#acknowledgements) - [❓ FAQ (OPTIONAL)](#faq) - [📝 License](#license) <!-- PROJECT DESCRIPTION --> # 📖 [Portfolio] <a name="about-project"></a> **[Portfolio]** is a project, which help us understand how to parse a Figma design to create a responsive UI design. ## 🛠 Built With <a name="built-with"></a> ### Tech Stack <a name="tech-stack">HTML & CSS</a> <details> <summary>Client</summary> <ul> <li><a href="https://developer.mozilla.org/en-US/docs/Web/HTML">HTML</a></li> <li><a href="https://www.w3.org/Style/CSS/Overview.en.html">CSS</a></li> </ul> </details> <!-- Features --> ### Key Features <a name="key-features"></a> - **[Responsive]** <p align="right">(<a href="#readme-top">back to top</a>)</p> <!-- LIVE DEMO --> ## 🚀 Live Demo <a name="live-demo"></a> - [Live Demo Link](https://zohra-neda.github.io/Portfolio/) <p align="right">(<a href="#readme-top">back to top</a>)</p> <!-- GETTING STARTED --> ## 💻 Getting Started <a name="getting-started"></a> To get a local copy up and running, follow these steps. ### Prerequisites In order to run this project you need: 1. Installed git on your local machine 2. Any code editor [vscode preferred] 3. Any browser [chrome preferred] ### Setup Clone this repository to your desired folder: cd my-folder<br> git clone git@github.com:zohra-neda/my-project.git ### Install Install this project with: npm install ### Usage To run the project, execute the following command: Live Server <p align="right">(<a href="#readme-top">back to top</a>)</p> <!-- AUTHORS --> ## 👥 Authors <a name="authors"></a> 👤 **Author1** - GitHub: [@zohra-neda](https://github.com/zohra-neda) - Twitter: [@zohra_neda](https://twitter.com/zohra_neda) - LinkedIn: [LinkedIn](https://www.linkedin.com/in/zohra-neda-3716b720b/) 👤 **Author2** - GitHub: [@omer-creator](https://github.com/omer-creator) - Twitter: [@micronaut_omer](https://twitter.com/micronaut_omer) - LinkedIn: [LinkedIn](https://www.linkedin.com/in/muhammad-omer-afzal-67ab17250/) <!-- FUTURE FEATURES --> ## 🔭 Future Features <a name="future-features"></a> > In the future I will add it - [ ] **[Contact form]** - [ ] **[Desktop version]** - [ ] **[Application deploy]** - [ ] **[Mobile menu]** - [ ] **[ Details modal ]** - [ ] **[Validate contact form]** - [ ] **[Preserve data in the browser]** <p align="right">(<a href="#readme-top">back to top</a>)</p> <!-- CONTRIBUTING --> ## 🤝 Contributing <a name="contributing"></a> Contributions, issues, and feature requests are welcome! Feel free to check the [issues page](../../issues/). <p align="right">(<a href="#readme-top">back to top</a>)</p> <!-- SUPPORT --> ## ⭐️ Show your support <a name="support"></a> Give a ⭐️ if you like this project and how I managed to build it! <p align="right">(<a href="#readme-top">back to top</a>)</p> <!-- ACKNOWLEDGEMENTS --> ## 🙏 Acknowledgments <a name="acknowledgements"></a> I would like to thank Microverse for initiating the idea behind project <p align="right">(<a href="#readme-top">back to top</a>)</p> <!-- FAQ (optional) --> <!-- ## ❓ FAQ (OPTIONAL) <a name="faq"></a> - **[Question_1]** - [Answer_1] - **[Question_2]** - [Answer_2] --> <p align="right">(<a href="#readme-top">back to top</a>)</p> <!-- LICENSE --> ## 📝 License <a name="license"></a> This project is [MIT](./License) licensed. <p align="right">(<a href="#readme-top">back to top</a>)</p>
[Portfolio] is a project, which help us understand how to parse a Figma design to create a responsive UI design.
css,html,javascript
2023-03-22T12:24:47Z
2023-11-22T13:53:13Z
null
6
12
115
0
0
2
null
MIT
CSS
williamkoller/javascript-exp
main
null
Curso JavaScript Expert - Erick Wendel
javascript,nodejs
2023-03-22T22:22:38Z
2023-11-10T20:34:09Z
null
1
0
9
0
0
2
null
null
JavaScript
YoruKiwi/R409-ERP-4E
main
<div style="display: flex;"> <h1>R409-ERP-4E</h1> <img src="https://skillicons.dev/icons?i=html,css,js,jquery,php,mysql" id="skills" style="margin-left: 20px;"> </div> ## Description : This school project consists in creating a web interface for the management of a gas compagny. ## External resources : blur.js : https://github.com/jakiestfu/Blur.js-II
School based project
css3,html5,javascript
2023-03-22T11:05:48Z
2023-04-11T11:50:53Z
null
5
0
57
0
0
2
null
null
PHP
amjad-akmal/matching-game
main
null
a simple desktop matching game using vanilla js.
css,html,javascript
2023-03-18T06:38:43Z
2023-03-18T06:35:14Z
null
1
0
1
0
0
2
null
null
JavaScript
agyeievans/laravel-laragigs
master
<p align="center"><a href="https://laravel.com" target="_blank"><img src="https://raw.githubusercontent.com/laravel/art/master/logo-lockup/5%20SVG/2%20CMYK/1%20Full%20Color/laravel-logolockup-cmyk-red.svg" width="400" alt="Laravel Logo"></a></p> <p align="center"> <a href="https://github.com/laravel/framework/actions"><img src="https://github.com/laravel/framework/workflows/tests/badge.svg" alt="Build Status"></a> <a href="https://packagist.org/packages/laravel/framework"><img src="https://img.shields.io/packagist/dt/laravel/framework" alt="Total Downloads"></a> <a href="https://packagist.org/packages/laravel/framework"><img src="https://img.shields.io/packagist/v/laravel/framework" alt="Latest Stable Version"></a> <a href="https://packagist.org/packages/laravel/framework"><img src="https://img.shields.io/packagist/l/laravel/framework" alt="License"></a> </p> ## About Laravel Laravel is a web application framework with expressive, elegant syntax. We believe development must be an enjoyable and creative experience to be truly fulfilling. Laravel takes the pain out of development by easing common tasks used in many web projects, such as: - [Simple, fast routing engine](https://laravel.com/docs/routing). - [Powerful dependency injection container](https://laravel.com/docs/container). - Multiple back-ends for [session](https://laravel.com/docs/session) and [cache](https://laravel.com/docs/cache) storage. - Expressive, intuitive [database ORM](https://laravel.com/docs/eloquent). - Database agnostic [schema migrations](https://laravel.com/docs/migrations). - [Robust background job processing](https://laravel.com/docs/queues). - [Real-time event broadcasting](https://laravel.com/docs/broadcasting). Laravel is accessible, powerful, and provides tools required for large, robust applications. ## Learning Laravel Laravel has the most extensive and thorough [documentation](https://laravel.com/docs) and video tutorial library of all modern web application frameworks, making it a breeze to get started with the framework. You may also try the [Laravel Bootcamp](https://bootcamp.laravel.com), where you will be guided through building a modern Laravel application from scratch. If you don't feel like reading, [Laracasts](https://laracasts.com) can help. Laracasts contains over 2000 video tutorials on a range of topics including Laravel, modern PHP, unit testing, and JavaScript. Boost your skills by digging into our comprehensive video library. ## Laravel Sponsors We would like to extend our thanks to the following sponsors for funding Laravel development. If you are interested in becoming a sponsor, please visit the Laravel [Patreon page](https://patreon.com/taylorotwell). ### Premium Partners - **[Vehikl](https://vehikl.com/)** - **[Tighten Co.](https://tighten.co)** - **[Kirschbaum Development Group](https://kirschbaumdevelopment.com)** - **[64 Robots](https://64robots.com)** - **[Cubet Techno Labs](https://cubettech.com)** - **[Cyber-Duck](https://cyber-duck.co.uk)** - **[Many](https://www.many.co.uk)** - **[Webdock, Fast VPS Hosting](https://www.webdock.io/en)** - **[DevSquad](https://devsquad.com)** - **[Curotec](https://www.curotec.com/services/technologies/laravel/)** - **[OP.GG](https://op.gg)** - **[WebReinvent](https://webreinvent.com/?utm_source=laravel&utm_medium=github&utm_campaign=patreon-sponsors)** - **[Lendio](https://lendio.com)** ## Contributing Thank you for considering contributing to the Laravel framework! The contribution guide can be found in the [Laravel documentation](https://laravel.com/docs/contributions). ## Code of Conduct In order to ensure that the Laravel community is welcoming to all, please review and abide by the [Code of Conduct](https://laravel.com/docs/contributions#code-of-conduct). ## Security Vulnerabilities If you discover a security vulnerability within Laravel, please send an e-mail to Taylor Otwell via [taylor@laravel.com](mailto:taylor@laravel.com). All security vulnerabilities will be promptly addressed. ## License The Laravel framework is open-sourced software licensed under the [MIT license](https://opensource.org/licenses/MIT).
This is a laravel job listing web application.
laravel,tailwindcss,blade,javascript
2023-03-25T12:29:46Z
2023-03-25T12:20:26Z
null
1
0
17
0
0
2
null
null
PHP
iqbalprasettya/weddingcuy
main
<br/> <p align="center"> <h3 align="center">WeddingCuy - Wedding Organizer Website</h3> <p align="center"> This Wedding Organizer website was created by me when carrying out a Skills Competition Test or UJIKOM at a vocational school <br/> <br/> </p> </p> ![Downloads](https://img.shields.io/github/downloads/iqbalprasettya/weddingcuy/total) ![Contributors](https://img.shields.io/github/contributors/iqbalprasettya/weddingcuy?color=dark-green) ![Forks](https://img.shields.io/github/forks/iqbalprasettya/weddingcuy?style=social) ![Stargazers](https://img.shields.io/github/stars/iqbalprasettya/weddingcuy?style=social) [screen-capture.webm](https://github.com/iqbalprasettya/weddingcuy/assets/97178562/6ce26685-8a4b-4e06-a64f-2e2cf6eed0f3) ## Getting Started This is an example of how you may give instructions on setting up your project locally. To get a local copy up and running follow these simple example steps. ### Installation 1. Clone the repo ```sh git clone https://github.com/iqbalprasettya/weddingcuy.git ``` 2. Import Database to PHPMyAdmin ### Demo Link : http://weddingcuy.000webhostapp.com
Website Wedding Organizer ini dibuat oleh Saya saat melaksanakan Uji Kompetisi Keahlian atau UJIKOM di sekolah SMK
aos-animation,css,html,javascript,owl-carousel,php
2023-03-13T18:27:34Z
2023-09-24T06:32:50Z
null
1
0
10
0
0
2
null
null
PHP
M3MD69/msth
main
null
CV - Web
css,html,javascript
2023-03-24T00:43:25Z
2023-06-05T00:39:34Z
null
1
0
11
0
0
2
null
null
HTML
madalena-rocha/ui-twitter
main
# ![Logo do Twitter](./src/assets/logo-twitter.svg) UI Twitter > Clone da interface de usuário (UI) do Twitter. Projeto desenvolvido na [Masterclass React](https://quiz.rocketseat.com.br/masterclass/react) da [Rocketseat](https://www.rocketseat.com.br/). ## 💻 Projeto ![Projeto "Twitter UI"](./src/assets/twitter-ui.png) [🔗 Figma](https://www.figma.com/community/file/1202694130789327431) ## ✔️ Resultado [🔗 Acesse aqui](https://ui-twitter-omega.vercel.app/) ## 🛠️ Tecnologias - ViteJS - JavaScript; - Typescript; - ReactJS; ## 💙 Contato <div style="display: flex;"> <a href="https://www.linkedin.com/in/madalena-machado-rocha/" target="_blank"><img src="https://img.shields.io/badge/-LinkedIn-%230077B5?style=for-the-badge&logo=linkedin&logoColor=white" style="margin-right: 2vw" target="_blank"></a> <a href="mailto:rochamada1997m@gmail.com"><img src="https://img.shields.io/badge/-Gmail-%23333?style=for-the-badge&logo=gmail&logoColor=white" style="margin-right: 2vw" target="_blank"></a> <a href="http://discordapp.com/users/827312692905377802" target="_blank"><img src="https://img.shields.io/badge/Discord-7289DA?style=for-the-badge&logo=discord&logoColor=white" target="_blank"></a> </div>
Clone da interface de usuário do Twitter.
reactjs,javascript,typescript,vitejs
2023-03-18T18:53:08Z
2023-03-18T19:38:19Z
null
1
0
5
0
0
2
null
null
TypeScript
ai-creators/ai-mad-lib-generator
main
# ai-ad-libs - An application that allows users to generate ad-libs using ai based on user prompt. - This application was built with React, Vite, Express, Node.js, JavaScript, Tailwindcss, Mongodb, Mongoose, and openai's api. - This application allows users to save ad-libs created for later use. This application also allows users to browse featured, most recent, and interesting ad-libs created by users. - Generate Mad Libs based on user-defined prompts - Generate random prompts for Mad Libs - Save generated Mad Libs for later use - Utilizes OpenAI's GPT-3 for AI-powered Mad Lib generation - Part of Ai-wranglers Hackathon. ## Deployed version - [aiadlibs](https://aiadlibs.com/) ## Authors - Anthony Mclamb - Zhi Zheng ## Version History -1.0 Initial Release ## Getting Started Prerequisites -Node.js -npm ## Installation Clone the repository: - git clone https://github.com/your_username/ai-mad-lib-generator.git ## Install the dependencies for both the server and client: cd ai-mad-lib-generator -npm install -cd client -npm install ## Create a .env file in the root of the ai-mad-lib-generator folder with the following contents: OPENAI_API_KEY=your_openai_api_key -Replace your_openai_api_key with your actual OpenAI API key. ## Run the server and client concurrently: -cd ai-mad-lib-generator -npm run dev ## Open your browser and navigate to http://localhost:PORTNUMBER. The application should now be running. ## Usage From the landing page, click "Create a Mad Lib" to start generating a Mad Lib. Choose between providing your own prompt or using a randomly generated prompt. Click "Generate Mad Lib" to create your Mad Lib. Fill in the blanks in the generated Mad Lib to complete the story. ## Acknowledgments - Credit to openai's open source software. - OpenAI GPT-3 for providing the AI-powered Mad Lib generation. - Acknowledgment to Don the Developer for hosting the hackathon.
Ai MadLib generator based on a prompt. Project for ai-wranglers hackathon.
express,javascript,nodejs,react,vite,openai,oop,nestjs,postgresql,typeorm
2023-03-15T02:33:28Z
2024-02-22T19:43:57Z
null
2
84
558
25
0
2
null
null
TypeScript
Epikest/duts
main
> [!WARNING] > This script is patched in the latest Discord update. <h1 align="center"> duts </h1> <p align="center"> <b>D</b>iscord <b>u</b>niversal <b>t</b>oken <b>s</b>cript </p> <p align="center"> <a href="https://github.com/Epikest/duts/issues"> <img alt="Issues" src="https://img.shields.io/github/issues/Epikest/duts?color=0088ff&style=flat-square"/> </a> <a href="https://github.com/Epikest/duts/pulls"> <img alt="Pulls" src="https://img.shields.io/github/issues-pr/Epikest/duts?color=0088ff&style=flat-square"/> </a> <a href="https://www.jsdelivr.com/package/gh/Epikest/duts"> <img alt="jsDelivr" src="https://data.jsdelivr.com/v1/package/gh/Epikest/duts/badge"/> </a> <a href="./LICENSE.md"> <img alt="License" src="https://img.shields.io/github/license/Epikest/duts?style=flat-square"/> </a> <img alt="Browser window screenshot" src="https://cdn.lewd.host/G46C4yHW.png"/> </p> ## why? sometimes, you just need an easy and foolproof way to get your Discord authentication token. this script is designed to be as straightforward to use as possible, and it works on most[^compatibility] platforms that Discord can run on. traditionally, retrieving your token has been a rather unintuitive process that may require you to dig around in your local storage (which doesn't work on the desktop app by the way!), fish around in the network request headers, or execute a shady script you found on YouTube. this script puts an end to that nonsense and can make it as easy as copy, paste, click. it's also a tad bit more stylish than the typical skid solution. ## usage ### Discord desktop app & desktop browsers the following steps should work on all desktop web browsers as well as the Discord desktop app: 1. open the developer web console (`Ctrl` + `Shift` + `I` or `⌥` + `⌘` + `I` on MacOS) - if using the stable channel of the Discord desktop app, set `"DANGEROUS_ENABLE_DEVTOOLS_ONLY_ENABLE_IF_YOU_KNOW_WHAT_YOURE_DOING": true` in the Discord app settings file (`%appdata%/discord/settings.json` on Windows) and reload the app (`Ctrl` + `R`) else the developer tools panel won't open - some client mods bypass this restriction 2. make sure you're on the `Console` tab 3. copy the minified script from [jsDelivr](https://cdn.jsdelivr.net/gh/Epikest/duts/duts.min.js) 4. paste the script in the console and press `Enter` - you may need to first allow pasting if using Firefox, you can do this by typing `allow pasting` and pressing `Enter` 5. press the button that pops up and you should have your token copied to your clipboard ### Chromium-based browsers on mobile and desktop the following steps should work on most Chromium-based browsers such as Chrome, Chromium, Opera, Brave, Vivaldi, etc.: 1. open the [Discord web app](https://discord.com/login) - if on a mobile device, use [Discord Canary](https://canary.discord.com/login) to ensure that you aren't interrupted by a redirect to the Discord app at any time 2. copy this script ```js fetch("https://cdn.discordapp.com/attachments/897505826330255431/1092301785932238859/duts.js") .then((r) => r.text()) .then((d) => eval(d)) ``` <sup>this script fetches from a Discord CDN URL to avoid running into [CSP](https://developer.mozilla.org/docs/Web/HTTP/CSP)</sup> 3. while Discord is the focused tab, type `javascript:` into the address bar while removing any other text 4. paste the script and press `Enter` - some mobile operating systems and browsers (namely Chrome on iOS) may remove the JavaScript URI scheme after you paste the script, so the steps 3 and 4 may need to be reversed 5. press the button that pops up and you should have your token copied to your clipboard ### Via bookmarklet if for some reason you can't use the above methods, you can create and run a bookmarklet to run the script. it's a bit more involved, but still pretty easy and works on almost all browsers: 1. open the [Discord web app](https://discord.com/login) - if on a mobile device, use [Discord Canary](https://canary.discord.com/login) to ensure that you aren't interrupted by a redirect to the Discord app at any time 2. create a new bookmark in your browser 3. set the contents of the bookmark to `javascript:fetch("https://cdn.discordapp.com/attachments/897505826330255431/1092301785932238859/duts.js").then((t=>t.text())).then((d=>eval(d)))` 4. save the bookmark 5. run the bookmarklet by opening it like you would any other bookmark 6. press the button that pops up and you should have your token copied to your clipboard <!-- prettier-ignore --> [^compatibility]: the script has been certified to function as intended on the following platforms: ### Android - Canary build 189717 (5d9c3fd) using version 13 (build TP1A.220624.014) on Google Pixel 6 via Google Chrome 64-bit 112.0.5615.47 - Canary build 189717 (5d9c3fd) using version 13 (build TP1A.220905.004) on Samsung Galaxy S22+ via Brave Canary 64-bit 1.52.42 (Chromium 112.0.5615.87) - Stable build 189617 (5a59d26) using version 14 Beta 1 (build UPB1.230309.014) on Google Pixel 7 Pro via Google Chrome 64-bit 103.0.5060.71 ### iOS/iPadOS - Canary build 187775 (0be0543) using version 16.3.1 on Apple iPhone 14 Pro Max via Google Chrome 112.0.5615.46 - Stable build 189617 (5a59d26) using version 16.1.1 on iPad (8th generation) via Safari ### Windows 10 64-bit - Canary build 189717 (5d9c3fd) using version 21H2 (build 19044.1466) via official desktop app - Stable build 189617 (5a59d26) using version 21H2 (build 19044.1466) via Firefox Developer Edition (aurora) 64-bit 113.0b3 - Stable build 189617 (5a59d26) using version 21H2 (build 19044.1466) via Microsoft Edge 64-bit 112.0.1722.39 (Chromium 112.0.5615.49) ### Windows 11 - Canary build 189717 (5d9c3fd) using version 22H2 (build 22621.1265) via Brave Nightly 64-bit 1.52.47 (Chromium 112.0.5615.121) - Canary build 189717 (5d9c3fd) using version 22H2 (build 22621.1265) via official desktop app - Stable build 187599 (c2dd678) using version 22H2 (build 22621.1265) via official desktop app
Discord universal token script
discord,discord-script,discord-token,javascript
2023-03-20T08:39:07Z
2023-12-06T06:20:17Z
2023-04-16T18:33:56Z
1
0
24
0
0
2
null
GPL-3.0
JavaScript
sapna1309/sapna1309.github.io
gh-pages
null
This is my portfolio repository there are some sections like about, skills, projects and contact section and you can go through my portfolio by the deployed link which I have added
chakra-ui,css3,html5,javascript,reactjs,tailwindcss
2023-03-20T08:51:00Z
2023-08-15T18:57:25Z
null
1
0
13
0
0
2
null
null
HTML
muskanmi/netflix-clone-backend
main
# Web-Stream Application - Backend Repo Web-stream is a Web Application created using ReactJS which can be used for streaming movies, tv shows, etc. just like Netflix. This repository contains the source code of the backend server of this webapp. The source code for the frontend of the application is present [here](https://github.com/muskanmi/netflix-clone-frontend). ***Note:*** This application looks like a clone of Netflix but is neither an exact replica of it nor is associated with it directly. ![Web-Stream-App-Preview-1](./preview-1.png) ![Web-Stream-App-Preview-2](./preview-2.png) ## Features: - **User Authentication:** User can signup on the platform to explore the vast variety of movies, tv shows, etc. (User authentication is being performed with the help of Firebase in this application.) - Users can **browse** over a wide variety of shows, movies and series and explore them category wise as well. - Users can also **filter** the content by different *Genres*. - It also provides users ability to add their favorite shows & movies to their **watch list**. ## Tools & Technology Used: - React.js - NodeJS - ExpressJs - HTML - CSS - Javascript - Redux - Toolkit - MongoDB - Firebase - Web APIs ## Prerequisites: * React Version: **18.2.0** * Node Version: **18.14.1** * NPM Version: **9.5.0** * You also need to have MongoDb installed in your system where you are going to run this application. ## Instructions: You can follow the below steps to run the Backend of this application in your system's local environment: 1. Get the source code on your pc via git. ```shell git clone https://github.com/muskanmi/netflix-clone-backend ``` 2. As an application's requirement, you will need to have MongoDB installed in your system. 3. Once MongoDB is installed in your system, you need to create a database named as `netflix` and a collection named as `users` inside it. 4. Now, navigate inside the folder through your terminal. ```shell cd netflix-clone-backend ``` 5. Next, install the required dependencies by running the following command: ```shell npm install ``` 6. Finally, start the application by running: ```shell npm start ``` 7. Voila! the backend server is ready for use. 8. You can now head over to the frontend repository by clicking [here](https://github.com/muskanmi/netflix-clone-frontend) to understand the steps to be followed for starting the frontend (main) application. #### :small_blue_diamond: Please do give a ⭐️ if you find this project useful.
This repo contains the backend APIs of a web app created using ReactJS which can be used for streaming movies, tv shows, etc. like Netflix.
cors,css,expressjs,html,javascript,mongodb,nodejs,router,streaming-application,web-api
2023-03-19T15:52:30Z
2024-01-06T14:28:04Z
null
1
0
7
0
0
2
null
MIT
JavaScript
Srinu2568/snake-game-multiplayer
master
# snake-game-multiplayer A 2d multiplayer snake game using socket io. # Getting started * Fork the repo or clone using [https://github.com/Srinu2568/snake-game-multiplayer.git](https://github.com/Srinu2568/snake-game-multiplayer.git). * To start the development server, first go in to your terminal and change the directory to server, to do that ```cd server```. * Then type ```npx nodemon server.js```. * On your browser open [localhost:3000](http://localhost:300) to see the game. # Deployment The game is deployed on render. You can find the game [here](https://snake-pass.onrender.com/). ![demo](https://user-images.githubusercontent.com/86238631/226584911-045902a2-5c44-4b4a-98bf-6dba1fab1053.gif) # How to Play! * User can create the Room id, and send it to other user or can be joined by an id. * After both the users joined, the game starts. * First person to collect given target number of apples wins!. * The one who first bumps to walls or bumps to their own snake body will lose.
2d multiplayer snake game using socket io
css,express,html5-canvas,javascript,multiplayer-online-game,nodejs,snake-game,socket-io
2023-03-16T05:35:18Z
2023-10-01T16:35:55Z
null
1
0
53
0
2
2
null
MIT
JavaScript
Amanastel/amanastel.github.io
master
# Aman Portfolio <a href="https://github.com/Amanastel/amanastel.github.io/" target="_blank">**Visit Now** 🌐🖇️</a> ### <h1 align="center">Website Preview 💻</h1> #### Home Section <img src="assets/screenshort/main.png" width="900"> #### About Section <img src="assets/screenshort/aboutme.png" width="900"> #### Projects Section <img src="assets/screenshort/project.png" width="900"> #### Contact Section <img src="assets/screenshort/contact.png" width="900"> #### Skills Section <img src="assets/screenshort/skills.png" width="900"> :star: Star me on GitHub — it helps! ## Features 📋 ⚡️ Fully Responsive\ ⚡️ Valid HTML5 & CSS3\ ⚡️ User can Download Resume\ ⚡️ Typing animation using `Typed.js`\ ⚡️ Easy to modify\ ⚡️ User can connect in different platforms ## Installation & Deployment 📦 - Clone the repository and modify the content of <b>index.html</b> - Add or remove images from `assets/img/` directory as per your requirement. - Update the info of `projects` folder according to your need - Use [Github Pages](https://create-react-app.dev/docs/deployment/#github-pages) to create your own website. - To deploy your website, first you need to create github repository with name `<your-github-username>.github.io` and push the generated code to the `master` branch. ## Sections 📚 ✔️ About\ ✔️ Projects \ ✔️ Skills \ ✔️ Resume\ ✔️ Contact Info <br> ## Contributing 💡 #### Step 1️⃣ -> Clone this repo to your local machine 🖥️. #### Step 2️⃣ -> **Build your code** ⚒️ #### Step 3️⃣ -> 🔃 Create a new pull request. <a href="https://github.com/Amanastel/amanastel.github.io/" target="_blank">**Visit Now** 🚀</a> ## 📬 Contact If you want to contact me, you can reach me through below handles. <p align="left"> <a href="https://www.linkedin.com/in/amanastel/" target="_blank"><img align="center" src="https://skillicons.dev/icons?i=linkedin" width="40px" alt="linkedin" /></a>&emsp; <a title="amankumar.ak0012@gmail.com" href="mailto:amankumar.ak0012@gmail.com" target="_blank"><img align="center" src="https://cdn-icons-png.flaticon.com/128/888/888853.png" width="40px" alt="mail-me" /></a>&emsp; <a href="https://wa.me/+917007219431" target="blank"><img align="center" src="https://media2.giphy.com/media/Q8I2fYA773h5wmQQcR/giphy.gif" width="40px" alt="whatsapp-me" /></a>&emsp; </p> <br> <div align="center"> <strong>💓Happy Coding😄💻</strong> </div>
This is a personal portfolio website built with HTML, CSS and JavaScript. It has home, project, about and contact sections. The projects have a pop up that displays a detailed description of the project.
css,details,html,javascript,learning,profile,projects,protfolio,protfolio-website,website
2023-03-15T18:32:57Z
2023-12-20T16:52:09Z
null
1
0
32
0
0
2
null
null
HTML
golubovicluka/e-Commerce
master
## [Demo](https://ecommerce-app-angular.netlify.app/) # Shoply This is an Angular application for an ecommerce website. It allows users to browse products, filter and sort products by categories and price, add them to their cart, add them to their wishlist, and checkout the products. ## Features - Products, categories and subcategories - Product details - Sorting and pagination - Suggested Products - Filtering by categories - Search products 🔍 - List and grid view for products page - Price range slider - Cart and order preview, payment page 🛒 - End to end tests --- ## Tech Stack **Client:** Angular, PrimeNG, PrimeFlex, Apollo client **Server:** Hasura GraphQL **Tests:** Cypress ## Running e2e Tests To run tests, run the following command inside project root folder ```bash npx cypress open ``` ## Run Locally Clone the project ```bash git clone https://github.com/golubovicluka/ecommerce.git ``` Go to the project directory ```bash cd ecommerce ``` Install dependencies ```bash npm install ``` Start the Angular server ```bash ng serve ``` ## Author - [@golubovicluka](https://github.com/golubovicluka)
e-commerce website - Angular/Hasura GraphQL/Apollo Client/PrimeNG
angular,ecommerce-application,ecommerce-website,graphql,javascript,typescript
2023-03-18T23:43:00Z
2024-03-16T09:36:42Z
null
1
0
95
0
2
2
null
null
TypeScript
jeanbuhendwa/Meal-app
main
<a name="readme-top"></a> # 📗 Table of Contents - [📖 Meal app project](#about-project) - [🛠 Built With](#built-with) - [Tech Stack](#tech-stack) - [Key Features](#key-features) - [🚀 Live Demo](#live-demo) - [💻 Getting Started](#getting-started) - [Setup](#setup) - [Prerequisites](#prerequisites) - [Install](#install) - [Usage](#usage) - [Run tests](#run-tests) - [Deployment](#triangular_flag_on_post-deployment) - [👥 Authors](#authors) - [🔭 Future Features](#future-features) - [🤝 Contributing](#contributing) - [⭐️ Show your support](#support) - [🙏 Acknowledgements](#acknowledgements) - [❓ FAQ (OPTIONAL)](#faq) - [📝 License](#license) <!-- PROJECT DESCRIPTION --> # 📖 [Meal app project] <a name="about-project"></a> > In this Meal app setup project we have developed meale app that can Send and receive data from an API. Html, Css and JavaScript project for the meal list app, using webpack and ES6 features. > It has been written plain HTML markup with general layout of the wireframe, because we are going to implement styles in the following steps.designed the wireframe as a guide. **[Meal app project]** is the main part of javascript project which inluded how to use Gitflow, webpack, ES6, Just test library and API. ## 🛠 Built With <a name="built-with"></a> ### Tech Stack <a name="tech-stack"></a> > The main tech stack and included to apply to this project are: <details> <summary>Client</summary> <ul> <li><a href="https://www.w3schools.com/html/default.asp">Html</a></li> <li><a href="https://www.w3schools.com/css/default.asp">CSS</a></li> <li><a href="https://www.w3schools.com/js/">Javascript</a></li> <li><a href="https://webpack.js.org/guides/getting-started/">Webpack bundler</a></li> <li><a href="https://webpack.js.org/guides/getting-started/">HtmlWebpackPlugin</a></li> <li><a href="https://webpack.js.org/guides/output-management/">style-loader and css-loader</a></li> <li><a href="https://microverse.notion.site/Leaderboard-API-service-24c0c3c116974ac49488d4eb0267ade3">style-loader and css-loader</a></li> </ul> </details> <!-- Features --> ### Key Features <a name="key-features"></a> > This project has the following features - design the basic structure of home page - Popup for comments page - like button counter - comments counter <p align="right">(<a href="#readme-top">back to top</a>)</p> <!--video description--> <!-- LIVE DEMO --> ## 🚀 Live Demo <a name="live-demo"></a> - [Demo Video Outlines](https://drive.google.com/file/d/17GW-uFuncroC3aTtyRXP39xRp7tFBdza/view?usp=share_link) - [Live Demo Link](https://jeanbuhendwa.github.io/javascript-capstone/dist/) <p align="right">(<a href="#readme-top">back to top</a>)</p> ## 💻 Getting Started <a name="getting-started"></a> To get a local copy up and running, follow these steps. ### Prerequisites In order to run this project you need: Open terminal on the same folder of the project and run: ```sh npm install ``` Initialize npm install webpack loaclly, and install the webpack-cli ```sh npm install webpack webpack-cli --save-dev ``` setting up HtmlWebpackPlugin ```sh npm install --save-dev html-webpack-plugin ``` To build and run the project from /src to /dist use ```sh npm run build ``` To run the project automatically loading up the page use ```sh npm start ``` To Post and Get Data use one popular site like HOPPSCOTCH ```sh navigate https://hoppscotch.io/ ``` ### Setup Clone this repository to your desired folder: ```sh cd my-folder git clone https://github.com/jeanbuhendwa/javascript-capstone.git ``` ### Install Install this project with: ```sh cd javascript-capstone npm install ``` ### Usage To run the project, open index.html in /dist directory with browser ### Run tests To run tests, run the following command: To check for html errors run: ```sh npx hint . ``` To check for css errors run: ```sh npx stylelint "**/*.{css,scss}" ``` To check for js errors run: ```sh npx eslint . ``` ### Deployment Deployed using Github Pages. <p align="right">(<a href="#readme-top">back to top</a>)</p> <!-- AUTHORS --> ## 👥 Authors <a name="authors"></a> 👤 **Jean Jacques Buhendwa** - GitHub: [@jeanbuhendwa](https://github.com/jeanbuhendwa) - Twitter: [@JeanjacqueI](https://twitter.com/JeanjacqueI) - LinkedIn: [LinkedIn](https://www.linkedin.com/in/johnbuhendwa/) 👤 **Brhanu Hailu** - GitHub: [@brhanuhailu](https://github.com/brhanuhailu) - Twitter: [@tigraycountry](https://twitter.com/TigrayCountry) - LinkedIn: [LinkedIn](https://www.linkedin.com/in/brhanu-hailu-85578a246/) <!-- FUTURE FEATURES --> ## 🔭 Future Features <a name="future-features"></a> > Add function for Clear all list. - [ ] put,Get, Post and cut data from API - [ ] Use ES6 Modularity <p align="right">(<a href="#readme-top">back to top</a>)</p> <!-- CONTRIBUTING --> ## 🤝 Contributing <a name="contributing"></a> Contributions, issues, and feature requests are welcome! Feel free to check the [issues page](https://github.com/brhanuhailu/Leaderboard/issues). <p align="right">(<a href="#readme-top">back to top</a>)</p> <!-- SUPPORT --> ## ⭐️ Show your support <a name="support"></a> > we are so excited to accept you feedback to improve my profession. If you like this project like it. <p align="right">(<a href="#readme-top">back to top</a>)</p> <!-- ACKNOWLEDGEMENTS --> ## 🙏 Acknowledgments <a name="acknowledgements"></a> we would like to thank Microverse organization and the mealdb api owner. <p align="right">(<a href="#readme-top">back to top</a>)</p> <!-- FAQ (optional) --> <!-- LICENSE --> ## 📝 License <a name="license"></a> This project is [MIT](https://github.com/jeanbuhendwa/javascript-capstone/blob/dev/LICENSE) licensed. (Check the LICENSE file) <p align="right">(<a href="#readme-top">back to top</a>)</p>
The Meal app that can Send and receive data from an API that give more information about the recipe
css3,html5,javascript,webpack
2023-03-13T14:14:52Z
2023-04-16T20:59:32Z
null
2
16
80
21
0
2
null
MIT
JavaScript
Mahima29Jaiswal/Netmeds-projectMasai
main
# Netmeds-projectMasai Netmeds is an Indian healthcare e-commerce website Netmeds sells prescription-based medicines and health-related products online. Here we have used - HTML, CSS, and JavaScript. This is a group project - Mahima, Sweksha, Raj, Anmol. Vercel Link - https://netmeds-project-masai-la00zngfj-mahima29jaiswal.vercel.app Contributor:- @Mahima29Jaiswal @Anmol179 @Raj-kumarpatel @Swekshapa4
Netmeds is an Indian healthcare e-commerce website Netmeds sells prescription-based medicines and also health-related products online. Here we have used - HTML, CSS, and JavaScript. This is a group project - Mahima, Sweksha, Raj, Anmol.
html-css,javascript
2023-03-12T05:45:39Z
2023-09-18T17:51:43Z
null
5
6
55
0
0
2
null
null
HTML
Prasham1710/chat_app
master
![Chat_app](https://user-images.githubusercontent.com/92637965/229604001-8afa5612-c0c5-4b2f-bc78-f0c01c8ad008.png)
null
firebase-auth,firebase-database,firebase-hosting,reactjs,tail,javascript
2023-03-22T07:08:51Z
2023-04-06T22:48:29Z
null
1
1
18
0
1
2
null
null
JavaScript
alok2297/TODO_APP
master
# todolist # Alok kumar A web Application notedown the important things.
Create a ToDoList web app using EJS, Node.js, and Express. This app allows users to manage tasks with features like adding, marking as done, and deleting. Utilize EJS for dynamic views, Node.js for backend logic, and Express for routing.
css,ejs,express,html,javascript,mongodb,nodejs
2023-03-15T10:11:04Z
2023-06-27T14:01:02Z
null
1
0
6
0
0
2
null
null
JavaScript
MbiamouRichy/Treejs-personal-computer
main
null
J'ai tester Threejs avec cette realisation
css3,html5,javascript,three-js
2023-03-20T01:42:59Z
2023-04-11T01:21:14Z
2023-03-20T01:51:03Z
1
0
6
0
0
2
null
null
HTML
mrinalxdev/dev-ground
main
![DevPlayGround](devground.png) Take your projects to the next level with Dev Play Ground! Our easy-to-use platform makes communication simple for developers to share and collaborate faster. Plus, our project to-do list feature helps you keep focused on what matter most. With Dev Play Ground all of your development needs, bugs and errors will be straightforward while you progress on your projects faster. Join thousands of developers who are now using Dev Play Ground and get the most out of developing! ![DevPlayGroundPost](devgroundReadmeImagePost.png) In this section you can post your problems, bugs and errors to know the solution from the other folks in the community. You can also post your screenshots of your projects and get suggestions for the enhancing it and build it with the communities help. Lets Get Started! ![DevPlayGroundTodo](devgroundReadmeImageTodo.png) In this section you can manage your project todo list for managing your project. Get organized easily with the to-do list feature, so you are always on top of your projects.
This platform provides an 2 in solution for asking your development related to other folks and manage your project todo list. Also test your skills through quizzing in various languages frameworks .
authentication,chakra-ui,firebase,react,react-router,tailwindcss,vercel,beginner-friendly,quizzing,javascript
2023-03-17T14:34:50Z
2023-03-19T08:08:23Z
null
1
0
33
0
0
2
null
null
JavaScript
blinxcorporation/EduTime-PHP
main
# University Timetabling System ##### Note: Chairperson(Department Chairperson) and and Dean are still lecturers/professors ## Admin (Registrar's) Functions/Roles: <<<<<<< HEAD - # Add schools (Faculties) - Add schools/faculties > > > > > > > 66264d27f4582e0d8b187d7b2a5b3fd63d1474bf - Add departments - Add courses offered in different departments - Add units for each course - Add rooms - their names, capacities and typee - Add timeslots - Add academic years - add semesters - Add lecturers (Deans, Department Chairpersons, normal lecturers) - generateVarsityTimetable() ## Dean's Functions/Roles - Download school/faculty TT - Download their departmental timetable - Generate aggregate Reports/Timetables e.g Timetable for IT group, which is in fourth year. - Download personal timetable ## Chairperson's Roles/Functions - Publish active units for the courses in their department for certain semesters. - Download department simplified Timetable - Generate aggregate Reports/Timetables e.g Timetable for IT group, which is in fourth year. - Download personal Timetable. ## Lecturers (Dean,chairperson and regular lecturer) - Select units to take for a specific semester. - Generate aggregate Reports/Timetables e.g Timetable for IT group, which is in fourth year. - Download personal Timetable and department Timetable. ## Assumptions - There are enough resources for efficient timetabling. (Lecturers,Rooms). - The students will get the timetable from the university website. ## Future Additions/ Recommendations - The lecturers should get notifications (SMS and Email) 2 hours before a `lecture` to remind them of classes they have. ## Other Features that need to be fixed/added - Forgot password - Reset password ## Issues - The system seems to be getting a few conflicts, the code needs to be modified to `#bugfix` this
EduTime is Web App build to help in Timetable Generation in Universities
bootstrap4,javascript,php,timetable,timetable-generator,university
2023-03-24T19:33:32Z
2023-05-30T09:36:14Z
null
1
60
440
1
1
2
null
null
JavaScript
HamedFathi/TypeScriptClientGeneratorMiddleware
main
> [!IMPORTANT] > Introducing **HamedStack**! For all my latest libraries, visit: [Explore HamedStack](https://github.com/HamedStack). Replacements and updates are available at the link. Thank you for your support! The new version of this library is accessible via [HamedStack.CodeBridge.AspNetCore](https://github.com/HamedStack/HamedStack.CodeBridge.AspNetCore) --- For a long time, I have been looking for a way to connect the back-end and front-end teams working on the same APIs. In this use case, the back-end team provides a bunch of APIs, then the front-end team should follow them to call APIs correctly, but how is it possible to get the correct info from the back-end side or update the front-end side after some changes frequently? One good solution is using `Swagger` as a source of truth. Still, the front-end team needs help accessing client definitions like TypeScript interfaces inside thier applications. Can the process be more straightforward? Recently, I made an ASP.NET Core middleware based on [NSwag TypeScriptClientGenerator](https://github.com/RicoSuter/NSwag/wiki/TypeScriptClientGenerator) for sharing more fine-grained data from the back-end side to front-end side, so, front-end team can get more info, update their side based on it or even make sure some changes happened or no. ### [Nuget](https://www.nuget.org/packages/TypeScriptClientGeneratorMiddleware) [![Open Source Love](https://badges.frapsoft.com/os/mit/mit.svg?v=102)](https://opensource.org/licenses/MIT) ![Nuget](https://img.shields.io/nuget/v/TypeScriptClientGeneratorMiddleware) ![Nuget](https://img.shields.io/nuget/dt/TypeScriptClientGeneratorMiddleware) ``` Install-Package TypeScriptClientGeneratorMiddleware dotnet add package TypeScriptClientGeneratorMiddleware ``` ### Usage ```cs // SERVICES builder.Services.AddTypeScriptClientGenerator(options => { options.Options = new List<TypeScriptClientGeneratorOption> { // You can set array of endpoints. new() { // The URI you want to see the generated result and share it. Endpoint = "my_ts_client", // Absolute URI of Swagger/Open API JSON file. SwaggerJsonEndpoint = "https://localhost:7031/swagger/v1/swagger.json", // You can pass your own source code processor to customize final result, If don't you will get full source code which is generated by NSwag. // ExtractInterfacesAndEnums is a method provided by the library to extract just interfaces and enums to share with others. // At first line always you can see SHA256 hash of the content, after changing, by comparing with the old one you will understand part of the code changed. Process = GeneratedSourceProcessor.ExtractInterfacesAndEnums, // You can change the content type if you want. default is "text/plain". // ContentType = "application/json" // You can customize NSwag generator too // Settings = ... }, new() { Endpoint = "petstore_ts_client", SwaggerJsonEndpoint = "https://raw.githubusercontent.com/OAI/OpenAPI-Specification/main/examples/v3.0/petstore.json", Process = GeneratedSourceProcessor.ExtractInterfacesAndEnums } }; }); // APP app.UseTypeScriptClientGenerator(); ``` **With Process (ExtractInterfacesAndEnums)** ![Screenshot_1](https://user-images.githubusercontent.com/8418700/224740386-7f03e0f4-59ad-4846-ab4e-8b5c45edbe3d.png) ![Screenshot_2](https://user-images.githubusercontent.com/8418700/224740388-6e9c08c9-de80-485e-84f7-7229dd6f6c16.png) ![image](https://user-images.githubusercontent.com/8418700/224741593-7b521b6d-1803-43ee-b35c-7759c9980bce.png) **Without Process (Full Source Code)** ![Screenshot_3](https://user-images.githubusercontent.com/8418700/224741163-aa46a289-6485-461e-a5a7-4306d2220f48.png) ![Screenshot_4](https://user-images.githubusercontent.com/8418700/224753400-ec93a0b1-b23b-4070-bb24-2cfd7a0f34f4.png)
An ASP.NET Core middleware to generate TypeScript client code for sharing between Backend and Frontend teams.
backend,csharp,dotnet,frontend,generator,javascript,nswag,rest-api,swagger,typescript
2023-03-13T13:23:04Z
2024-03-17T17:54:28Z
null
1
0
11
0
0
2
null
MIT
C#
hirentimbadiya/EventsHub
main
This is a [Next.js](https://nextjs.org/) project bootstrapped with [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packages/create-next-app). ## Getting Started First, run the development server: ```bash npm run dev # or yarn dev # or pnpm dev ``` Open [http://localhost:3000](http://localhost:3000) with your browser to see the result. You can start editing the page by modifying `pages/index.js`. The page auto-updates as you edit the file. [API routes](https://nextjs.org/docs/api-routes/introduction) can be accessed on [http://localhost:3000/api/hello](http://localhost:3000/api/hello). This endpoint can be edited in `pages/api/hello.js`. The `pages/api` directory is mapped to `/api/*`. Files in this directory are treated as [API routes](https://nextjs.org/docs/api-routes/introduction) instead of React pages. This project uses [`next/font`](https://nextjs.org/docs/basic-features/font-optimization) to automatically optimize and load Inter, a custom Google Font. ## Learn More To learn more about Next.js, take a look at the following resources: - [Next.js Documentation](https://nextjs.org/docs) - learn about Next.js features and API. - [Learn Next.js](https://nextjs.org/learn) - an interactive Next.js tutorial. You can check out [the Next.js GitHub repository](https://github.com/vercel/next.js/) - your feedback and contributions are welcome! ## Deploy on Vercel The easiest way to deploy your Next.js app is to use the [Vercel Platform](https://vercel.com/new?utm_medium=default-template&filter=next.js&utm_source=create-next-app&utm_campaign=create-next-app-readme) from the creators of Next.js. Check out our [Next.js deployment documentation](https://nextjs.org/docs/deployment) for more details.
Events Hub is a Web App built using NEXT.JS , Tailwind CSS , SASS , CSS. It shows the various events in 3 different city and has more than 15 pages , it also have register with email functionality which by which you can add your email in registered emails database.
api-rest,css3,javascript,json,nextjs,react,sass,tailwindcss
2023-03-25T05:15:51Z
2023-04-09T06:24:06Z
null
1
0
25
0
0
2
null
null
JavaScript
vishwanathkarka/Educonnect-backend
main
# Educonnect - A fullstack project [Live Link](https://educonnect.vishwanathkarka.com) Frontend [Link](https://github.com/vishwanathkarka/Educonnect-backend) : Developed a comprehensive educational platform using Next.js. & Backend [Link](https://github.com/vishwanathkarka/Educonnect-frontend) : Utilized Node.js for the backend and MongoDB for the database, Integrated Stripe payment Gateway API for payment processing. Implemented role-based access control for students, parents, lecturers, and admins, Provided features such as Login, Signup, Attendance tracking, Payment management, Permission handling, Timetable, Exam arrangements, Homework, and Exam results. | TYPE | LIVE LINK | | :-------- | :------- | | LIVE LINK | [LINK](https://educonnect.vishwanathkarka.com) | | Backend Github Link | [GitHub](https://github.com/vishwanathkarka/Educonnect-backend) | | Fronted Github Link | [GitHub](https://github.com/vishwanathkarka/Educonnect-frontend) | # API Reference - base link ## User Routes #### Login to route ```https POST /api/login ``` | Parameter | Type | Description | | :-------- | :------- | :------------------------- | | `api_key` | `string` | **Required**. Your API key | ### Get item ```https GET /api/items/:id ``` | Parameter | Type | Description | | :-------- | :------- | :-------------------------------- | | `id` | `string` | **Required**. Id of item to fetch | Takes two numbers and returns the sum. ### Login to route ```https POST /api/v1/login ``` ### Signup ```https GET /api/v1/signup ``` | Parameter | Type | Description | | :-------- | :------- | :-------------------------------- | | `firstName` | `string` | **Required**. Id of item to fetch | | `lastName` | `string` | **Required**. Id of item to fetch | | `Email` | `Email` | Email of the user | | `parentEmail` | `Email` | **Required**. For the sudent role signup | | `studentEmail` | `Email` | **Required**. For the Parent role signup | | ` departments` | `Array` | **This will activate for only student**. | | ` sections` | `Array` | Section in the department selected. | | ` Role` | `Array` | selcting the role for the parent& student. | | ` Student_id` | `ID` | Id is grabed from the student email by sending request for ID | | ` Photo-secure_url` | `URL` | **Automatically taken** Photo link | | ` Photo-Id` | `ID` | To delete the image | ### Logout ```https GET /api/v1/Logout ``` ### Get Admin ```https GET /api/v1/getadmins ``` | Parameter | Type | Description | | :-------- | :------- | :-------------------------------- | | `isLogined` | `Validation` | **Required**. To validate the user login with JSON WEBTOKEN | To Get all the Admin List ### Get Users ```https GET /api/v1/getadmins ``` | Parameter | Type | Description | | :-------- | :------- | :-------------------------------- | | `isLogined` | `Validation` | **Required**. To validate the user login with JSON WEBTOKEN | To Get all the User List ### View Role users By Admin ```https POST /api/v1/updaterole ``` | Parameter | Type | Description | | :-------- | :------- | :-------------------------------- | | `isLogined` | `Validation` | **Required**. To validate the user login with JSON WEBTOKEN | | `isAdmin` | `Validation` | **Required**. To validate is Admin or Not | | `Role` | `String` | **Required**. To get all the User with the role | Used to get specific role users ### View All Role User By Admin ```https POST /api/v1/getallroles ``` | Parameter | Type | Description | | :-------- | :------- | :-------------------------------- | | `isLogined` | `Validation` | **Required**. To validate the user login with JSON WEBTOKEN | | `isAdmin` | `Validation` | **Required**. To validate is Admin or Not | Used to all the user ### Adding the department to the lecturer role by Admin ```https PUT /api/v1/adddepartmentforuser/:id ``` | Parameter | Type | Description | | :-------- | :------- | :-------------------------------- | | `isLogined` | `Validation` | **Required**. To validate the user login with JSON WEBTOKEN | | `isAdmin` | `Validation` | **Required**. To validate is Admin or Not | | `Department` | `Array` | **Required**. | | `Section` | `Array` | **Required**. | ### Get Users for Attendance by lecturer ```https POST /api/v1/getalluserforattendance ``` | Parameter | Type | Description | | :-------- | :------- | :-------------------------------- | | `isLogined` | `Validation` | **Required**. To validate the user login with JSON WEBTOKEN | | `isAdmin` | `Validation` | **Required**. To validate is Admin or Not | | `Department` | `String` | **Required**. | | `Section` | `String` | **Required**. | ### Add the section for the Lecturer by Admin ```https PUT /api/v1/addsectionindepartment/:id/:department ``` | Parameter | Type | Description | | :-------- | :------- | :-------------------------------- | | `isLogined` | `validation` | **Required**. To validate the user login with JSON WEBTOKEN | | `isAdmin` | `validation` | **Required**. To validate is Admin or Not | | `id` | `String` | **Required**. To Find the User| | `department` | `String` | **Required**. to find the Department to add the section in the Department Array | ### Get User By ID ```https GET /api/v1/getuserinfowithid/:id ``` | Parameter | Type | Description | | :-------- | :------- | :-------------------------------- | | `isLogined` | `Boolean` | **Required**. To validate the user login with JSON WEBTOKEN | | `id` | `ID` | **Required**. To Find the User| ### Get The Users Based On The Department , Section , Role ```https GET /api/v1/getusersforadmin/:department/:section/:role ``` | Parameter | Type | Description | | :-------- | :------- | :-------------------------------- | | `isLogined` | `validation` | **Required**. To validate the user login with JSON WEBTOKEN | | `isAdmin` | `Validation` | **Required**. To validate is Admin or Not | | `department` | `ID` | **Required**. to find the Department | | `section` | `ID` | **Required**. to find the Section users | | `role` | `ID` | **Required**. to find the role users | ### Update The User By Admin ```https GET /api/v1/updateuserdata/:id ``` | Parameter | Type | Description | | :-------- | :------- | :-------------------------------- | | `isLogined` | `Boolean` | **Required**. To validate the user login with JSON WEBTOKEN | | `isAdmin` | `Boolean` | **Required**. To validate is Admin or Not | | `id` | `ID` | **Required**. To Find the User| | `Body Data` | `String` | **Required**. Data to update user Information| ## TimeTable Routes ### Get Time Table ```https GET /api/v1/gettimetable/:department/:section ``` | Parameter | Type | Description | | :-------- | :------- | :-------------------------------- | | `department` | `ID` | **Required**. To Get the Department Timetable | | `section` | `ID` | **Required**. To Get Section Timetable | ### Add Time Table ```https GET /api/v1/addtimetable ``` | Parameter | Type | Description | | :-------- | :------- | :-------------------------------- | | `Lecturer Id ` | `ID` | **Required**. To add the Lecturer ID| | `isLecturer` | `Validation` | **Required**. To validate is Admin or Not | | `department` | `ID` | **Required**. | | `section` | `ID` | **Required**. | | `Monday` | `Boolean` | **Required**. | | `Tursday` | `Boolean` | **Required**. | | `friday` | `Boolean` | **Required**. | | `Saturday` | `Boolean` | **Required**. | | `Subject Name` | `String` | **Required**. | | `Period` | `Number` | **Required**. | ### Get Lecturer TimeTable ```https GET /api/v1/getlecturetable ``` | Parameter | Type | Description | | :-------- | :------- | :-------------------------------- | | `Lecturer Id ` | `ID` | **Required**. To add the Lecturer ID| | `isLecturer` | `Validation` | **Required**. To validate is a Lecturer or Not | ## Sitting Arrangement Route ### Add Sitting Arrangement ```https POST /api/v1/addSittingArrangement ``` | Parameter | Type | Description | | :-------- | :------- | :-------------------------------- | | `isLogined` | `Validation` | **Required**. To validate the user login with JSON WEBTOKEN | | `Lecturer Id` | `ID` | **Required**. To add in the sitting arrangement request | | `User Id` | `ID` | **Required**. Adding Sitting arrangement for the user | | `Room No` | `Number` | **Required**. | | `Row No` | `Number` | **Required**. | | `Col No` | `Number` | **Required**. | | `NoOfRow` | `Number` | **Required**. | | `NoOfCol` | `Number` | **Required**. | | `Exam Date` | `Date` | **Required**. | | `Exam Name` | `String` | **Required**. | ### Find a Sitting Arrangement ```https POST /api/v1/findsittingarragement/:id ``` | Parameter | Type | Description | | :-------- | :------- | :-------------------------------- | | `isLogined` | `Validation` | **Required**. To validate the user login with JSON WEBTOKEN | | `Lecturer Id` | `ID` | **Required**. To add in the sitting arrangement request | | ` UserID` | `ID` | **Required**. To Find the User Sitting plain | ### View Sitting arrangement Added by Lecturer ```https GET /api/v1/findsittingarragement/:id ``` | Parameter | Type | Description | | :-------- | :------- | :-------------------------------- | | `isLogined` | `Validation` | **Required**. To validate the user login with JSON WEB TOKEN | | `Lecturer Id` | `ID` | **Required**. To add in the sitting arrangement request | ## Section Route ### Add Section ```https POST /api/v1/addsection ``` | Parameter | Type | Description | | :-------- | :------- | :-------------------------------- | | `Section` | `String` | **Required**. | ### Get Sections ```https GET /api/v1/listsection ``` ## Department Routes ### Add Department ```https POST /api/v1/adddepartment ``` | Parameter | Type | Description | | :-------- | :------- | :-------------------------------- | | `Department` | `String` | **Required**. | ### List Department ```https GET /api/v1/listdepartment ``` ### List Department Specific ```https POST /api/v1/listdepartmentspecific ``` | Parameter | Type | Description | | :-------- | :------- | :-------------------------------- | | `Department` | `String` | **Required**. | | `isLogined` | `Validation` | **Required**. To validate the user login with JSON WEB TOKEN | ## Payment Routes ###Payment with Stripe ```https GET /api/v1/payment/:id ``` | Parameter | Type | Description | | :-------- | :------- | :-------------------------------- | | `Id` | `String` | **Required**. Payment Id | ###Payment with Stripe ```https GET /api/v1/payment/:id ``` | Parameter | Type | Description | | :-------- | :------- | :-------------------------------- | | `Id` | `String` | **Required**. Payment Id | ### Add Payment Request ```https POST /api/v1/addpayment ``` | Parameter | Type | Description | | :-------- | :------- | :-------------------------------- | | `isLogined` | `Validation` | **Required**. To validate the user login with JSON WEB TOKEN | | `Sid` | `String` | **Required**. | | `Amount` | `Number` | **Required** | | `LastDay` | `Date` | **Required** | | `Title` | `String` | **Required**. | | `Description` | `String` | **Required** | ### Get Payment with Sid ```https GET /api/v1/getpaymentlist/:sid ``` | Parameter | Type | Description | | :-------- | :------- | :-------------------------------- | | `isLogined` | `Validation` | **Required**. To validate the user login with JSON WEB TOKEN | | `sid` | `String` | **Required** | ### Get Pending payment Count ```https GET /api/v1/findpaymentpendingcount/:sid ``` | Parameter | Type | Description | | :-------- | :------- | :-------------------------------- | | `isLogined` | `Validation` | **Required**. To validate the user login with JSON WEB TOKEN | | `sid` | `String` | **Required** | ### Get Payment Added By Lecturer ```https GET /api/v1/findpaymentpendingcount/:sid ``` | Parameter | Type | Description | | :-------- | :------- | :-------------------------------- | | `isLogined` | `Validation` | **Required**. To validate the user login with JSON WEB TOKEN | | `sid` | `String` | **Required** | ### Check Payment Status ```https GET /api/v1/checkstatus/:id ``` | Parameter | Type | Description | | :-------- | :------- | :-------------------------------- | | `isLogined` | `Validation` | **Required**. To validate the user login with JSON WEB TOKEN | | `id` | `String` | **Required** | ## Permission Routes ### Add Permission ```https GET /api/v1/addleave ``` | Parameter | Type | Description | | :-------- | :------- | :-------------------------------- | | `isLogined` | `Validation` | **Required**. To validate the user login with JSON WEB TOKEN | | `subject` | `String` | **Required** | | `description ` | `String` | **Required** | | `fromDate` | `Date` | | | `toDate` | `Date` | | | `Duration` | `Number` | | ### View Users Permissions ```https GET /api/v1/viewleaveuser/:id ``` | Parameter | Type | Description | | :-------- | :------- | :-------------------------------- | | `isLogined` | `Validation` | **Required**. To validate the user login with JSON WEB TOKEN | | `ID` | `String` | **Required** | ### Counting the Permissions ```https GET /api/v1/permissionpendingcount/:id ``` | Parameter | Type | Description | | :-------- | :------- | :-------------------------------- | | `isLogined` | `Validation` | **Required**. To validate the user login with JSON WEB TOKEN | | `ID` | `String` | **Required** | ### View Permissions by Lecturer ```https GET /api/v1/viewleavelecture ``` | Parameter | Type | Description | | :-------- | :------- | :-------------------------------- | | `isLogined` | `Validation` | **Required**. To validate the user login with JSON WEB TOKEN | | `isLecturer` | `Validation` | **Required**. To validate is a Lecturer or Not | ### View Permissions by Student ```https GET /api/v1/viewleavestudent ``` | Parameter | Type | Description | | :-------- | :------- | :-------------------------------- | | `isLogined` | `Validation` | **Required**. To validate the user login with JSON WEB TOKEN | ### Update Permissions ```https PUT /api/v1/updateleave/:id ``` | Parameter | Type | Description | | :-------- | :------- | :-------------------------------- | | `isLogined` | `Validation` | **Required**. To validate the user login with JSON WEB TOKEN | | `ID` | `String` | **Required** | ### Approve or Reject Request by Parent ```https PUT /api/v1/updatepermissionparent/:id ``` | Parameter | Type | Description | | :-------- | :------- | :-------------------------------- | | `isLogined` | `Validation` | **Required**. To validate the user login with JSON WEB TOKEN | | `ID` | `String` | **Required** | ### Approve or Reject Request by Student ```https PUT /api/v1/updateleavestudent/:id ``` | Parameter | Type | Description | | :-------- | :------- | :-------------------------------- | | `isLogined` | `Validation` | **Required**. To validate the user login with JSON WEB TOKEN | | `ID` | `String` | **Required** | ### Delete Persission ```https PUT /api/v1/deleteleave/:id ``` | Parameter | Type | Description | | :-------- | :------- | :-------------------------------- | | `isLogined` | `Validation` | **Required**. To validate the user login with JSON WEB TOKEN | | `ID` | `String` | **Required** | ## HomeWork Route ### Add HomeWork By Lecture ```https POST /api/v1/addhomeworklecture ```
This is a backend of the School Managment system
backend,javascript,nodejs,school-management
2023-03-25T16:13:23Z
2024-05-04T14:13:36Z
null
1
0
45
0
0
2
null
null
JavaScript
yazid120/Shopy-net
main
<p align="center"> <a href="https://github.com/yazid120/Shopy-net"> <img src="https://github.com/yazid120/Shopy-net/blob/main/src/views/images/homekevinDownloadsshopping-cart-removebg-preview.png" alt="Logo Downloads"/> </a></p> # **Shopy-net** 🛒 Shopy net E-Commerce en [PHP](https://www.php.net/) / [javascript](https://www.javascript.com/) # Introduction [Shopy net](https://github.com/yazid120/Shopy-net) est une plate-forme E-Commerce qui propos une variété de services et produits pour tout type d'utilisateurs et pour chaque catégorie ,comme pour chaque site de vente en ligne Shopy-net est facile, securiser et illimité ,créer un compte maintenant et commander se que vous voulez en deux clics sur shopy net. **Type de E-commerce :** (B2C) Business to consumer # C'set quoi une stratégie b2c? Une entreprise business to consumer (B2C) est par définition une entreprise qui cible des clients individuels particuliers. Une entreprise B2C vend donc des produits et/ou réalise des prestations de service directement à/pour des particuliers. ## !['Image Link'](https://github.com/yazid120/Shopy-net/blob/main/src/img_README/Screenshot%20from%202023-04-24%2017-06-28.png) # Public cible 👥 Shopy-net est fait pour tout le monde, On propos sur cette Platform de tout les genrs # Nos Objectif 🎯 - Satisfaire les clients au niveau des services et des prix 💲 - Create un Processus d'achat rapide ⏱️ et flexible en afrique - Service apres vente et client pour une assurance contre vole et SCAM .. - Mettre en disposition un Variété de produit Attirer des acheteurs de toutes les types - Apport d'un nouveau service àu clients et etre à jour - Maximum de sécurité du site 🔒 ### Concepts et chapitres du projet: --- - Routing page in PHP - Classe router `src/router.php` - Login and Registration system - Login authentication - Multiple back-ends for session and cache storage. - SQL DataBase design and creation - Database agnostic schema migrations. - Robust background job processing. - Admin Panel with privileges (CREATE, MODIFY, DELETE, UPDATE) Products. --- Classique php router: ```php class Router{ public $uriNormal = array(); public $uriStaticContent = array(); public $uriRegex = array(); function __construct() { $this->uriNormal = array(); $this->uriStaticContent = array(); $this->uriRegex = array(); } public function add($uri,$function){ $this->uriNormal [$uri] = $function; } public function resolve(){ $uri = explode('?',REQUEST_URI)[0]; $callback = $this->uriNormal[$uri] ?? false; if($callback){ call_user_func($callback); }else{ http_response_code(404); require_once __DIR__ .'/views/404_page.php'; } } } ``` `index.php` page access routing ```php $router->add('/' ,function(){ require __DIR__. '/views/home.php'; }); $router->add('/register' ,function(){ require __DIR__ .'/views/register.php'; }); $router->add('/login', function(){ require __DIR__ .'/views/login.php'; }); $router->add('/logout', function(){ require __DIR__ .'/views/logout.php'; }); $router->add('/infos',function(){ require __DIR__ .'/views/infos.php'; }); $router->add('/contact',function(){ require __DIR__ .'/views/contact.php'; }); ``` --- Login and registration system php mysqli authentication --- `Sign-up page` ## !['Image Link'](https://github.com/yazid120/Shopy-net/blob/main/src/img_README/Screenshot%20from%202023-04-24%2017-08-17.png) --- `login page` ## !['Image Link'](https://github.com/yazid120/Shopy-net/blob/main/src/img_README/Screenshot%20from%202023-04-24%2017-08-49.png) --- # Technologie et language/Frameworks utiliser dans le projet <a href="https://www.php.net" target="_blank" rel="noreferrer"> <img src="https://raw.githubusercontent.com/devicons/devicon/master/icons/php/php-original.svg" alt="php" width="40" height="40"/> </a><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript" target="_blank" rel="noreferrer"> <img src="https://raw.githubusercontent.com/devicons/devicon/master/icons/javascript/javascript-original.svg" alt="javascript" width="40" height="40"/> </a><a href="https://www.chartjs.org" target="_blank" rel="noreferrer"> <img src="https://www.chartjs.org/media/logo-title.svg" alt="chartjs" width="50" height="50"/> </a> <h2>Base de données</h2> </a> <a href="https://www.mysql.com/" target="_blank" rel="noreferrer"> <img src="https://raw.githubusercontent.com/devicons/devicon/master/icons/mysql/mysql-original-wordmark.svg" alt="mysql" width="40" height="40"/> </a> <h2>Style et Font</h2> <a href="https://sass-lang.com" target="_blank" rel="noreferrer"> <img src="https://raw.githubusercontent.com/devicons/devicon/master/icons/sass/sass-original.svg" alt="sass" width="40" height="40"/> </a> <h2>version controle</h2> </a> <a href="https://git-scm.com/" target="_blank" rel="noreferrer"> <img src="https://www.vectorlogo.zone/logos/git-scm/git-scm-icon.svg" alt="git" width="40" height="40"/> </a>
Shopy net platform E-commerce en Php / javascript
html-css,javascript,json-api,php,sql
2023-03-18T21:39:31Z
2023-06-16T21:22:45Z
null
2
0
146
2
0
2
null
null
PHP
MashaMoreva/simple-hotel-check
main
# Simple Hotel Check #### Функционал: Десктопная версия web-приложения для поиска отелей, которое имеет два экрана: 1. cтраница авторизации 2. основная cтраница с такими возможностями как: - поиск и просмотр дефолтных данных отеля (название, рейтинг, стоимость) на нужные даты - добавления/удаления отеля в избранное - сортировка их по цене/рейтингу #### Стек технологий: * React * Redux #### Установа | разработка | запуск: * клонирование репозитория: `git clone` * установка стабильной версии: `npm install` * сборка стабильной версии: `npm build` * запуск проекта: `npm start` * публикация проекта на GitHub Pages: `npm run deploy` #### Ссылки: * [Проект на GitHub Pages](https://mashamoreva.github.io/simple-hotel-check/) * [Макет в графическом редакторе Figma](https://www.figma.com/file/PxI4ycD6GMGSpxOZ2NbFBO/React-Test%2FSimple-Hotel-Check-(Copy)?node-id=0%3A1)
🏨 Проект: "Simple Hotel Check"
react,redux,javascript
2023-03-22T09:32:06Z
2023-06-22T06:52:00Z
null
1
1
21
0
0
2
null
null
JavaScript
pedrohassen/delivery-app
main
![iBirita](https://user-images.githubusercontent.com/99055008/226148750-d1b974b7-bbf6-4325-8553-a7c36bc09347.png) Bem-vindo(a) ao iBirita, um aplicativo de delivery de bebidas completo e fácil de usar! Com o iBirita, você pode escolher entre uma grande variedade de bebidas e recebê-las diretamente na sua porta. O iBirita foi desenvolvido por uma equipe de 5 pessoas dedicadas a fornecer a melhor experiência de compra online para seus usuários. Utilizando tecnologias modernas, o aplicativo inclui telas de login e cadastro para seus clientes, vendedores e administradores, bem como uma seleção de produtos, checkout e rastreamento de pedidos. Além de ser uma opção conveniente para dispositivos móveis, o iBirita também pode ser usado em PCs. Isso permite que você faça seus pedidos diretamente do seu computador, sem precisar alternar entre diferentes dispositivos. Compatibilidade com dispositivos móveis e desktop é uma das nossas principais prioridades, garantindo que você possa acessar e utilizar o iBirita de qualquer lugar e em qualquer dispositivo. Com o iBirita, nunca foi tão fácil pedir uma bebida. Experimente agora mesmo! <br> ## Rotas O aplicativo possui as seguintes rotas: - `/` - Rota raiz da aplicação, redireciona o usuário para a página de login. - `/login` - Rota para o login do usuário. A página de login apresenta um formulário de login onde o usuário deve inserir seu e-mail e senha para acessar a plataforma. - `/register` - Rota para o registro de novos usuários. A página de registro apresenta um formulário de cadastro onde o usuário deve inserir informações como nome, e-mail, senha e endereço. - `/customer/products` - Rota para a lista de produtos disponíveis para compra pelos clientes. A página apresenta uma lista de produtos com suas respectivas informações como nome, preço, descrição e imagem. O usuário pode adicionar os produtos ao carrinho de compras. - `/customer/checkout` - Rota para o carrinho de compras e finalização de pedidos. A página apresenta os produtos adicionados ao carrinho de compras pelo usuário, onde é possível visualizar os detalhes dos produtos e finalizar o pedido. - `/customer/orders` - Rota para a lista de pedidos realizados pelo cliente. A página apresenta uma lista de todos os pedidos realizados pelo usuário, onde é possível visualizar as informações sobre o pedido e seu status. - `/customer/orders/:id` - Rota para os detalhes de um pedido específico. A página apresenta todas as informações sobre um pedido específico, incluindo informações do produto, preço, quantidade, endereço de entrega e status do pedido. - `/seller/orders` - Rota para a lista de pedidos realizados pelos clientes e que aguardam atendimento pelo vendedor. A página apresenta uma lista de todos os pedidos que ainda não foram atendidos pelo vendedor, onde é possível visualizar as informações sobre o pedido e seu status. - `/seller/orders/:id` - Rota para os detalhes de um pedido específico que aguarda atendimento pelo vendedor. A página apresenta todas as informações sobre um pedido específico, incluindo informações do produto, preço, quantidade, endereço de entrega e status do pedido. - `/admin/manage` - Rota para a página de gerenciamento da plataforma pelo administrador. A página apresenta diversas funcionalidades como gerenciamento de produtos, gerenciamento de usuários, entre outros. - `*` - Rota para o tratamento de rotas não encontradas. Quando o usuário tenta acessar uma rota que não existe, ele é redirecionado para esta rota, apresentando uma mensagem informando que a rota não foi encontrada. <br> ## Context API O [ContextAPI](https://reactjs.org/docs/context.html) é uma das funcionalidades do [React](https://pt-br.reactjs.org/) que permite compartilhar dados entre componentes sem precisar passar `props` manualmente em cada nível da árvore de componentes. Vantagens do [ContextAPI](https://reactjs.org/docs/context.html): - Reduz a necessidade de passar `props` manualmente em cada nível da árvore de componentes, tornando o código mais limpo e fácil de ler. - Permite compartilhar dados em toda a árvore de componentes sem precisar se preocupar com a hierarquia dos componentes. - Facilita a criação de temas personalizados, permitindo que os componentes tenham acesso a um tema global sem a necessidade de passá-lo manualmente em cada componente. - Ajuda a manter o estado da aplicação em um único lugar, tornando mais fácil a manipulação e a atualização dos dados. - Permite o uso de múltiplos contextos em uma única aplicação, tornando a organização e a estruturação da aplicação mais flexíveis. - Melhora a performance da aplicação, uma vez que reduz a necessidade de atualizar vários componentes ao mesmo tempo. <br> ## Arquitetura de Software MSC Optamos por utilizar a arquitetura MSC. que é uma estrutura de design de software que divide um aplicativo em três componentes principais: Model, Service e Controller. - `Model`: A camada Model é a representação de um objeto no banco de dados, com seus atributos e relacionamentos. Ela lida com a leitura e escrita de dados no banco de dados e fornece uma interface para manipular esses dados. - `Service`: A camada service é responsável por implementar a lógica de negócios do aplicativo. Ela geralmente encapsula uma ou mais operações do modelo e fornece uma camada adicional de abstração para o controller. - `Controller`: A camada controller é responsável por lidar com as requisições HTTP e coordenar as interações entre os modelos e os serviços. Ela recebe as solicitações do usuário e decide qual serviço ou modelo deve ser usado para lidar com essa solicitação. Ao usar a arquitetura MSC, a lógica de negócios é separada da camada de apresentação e da camada de armazenamento de dados, o que torna o código mais modular e escalável. Além disso, a separação de responsabilidades torna mais fácil testar cada componente separadamente. Aqui estão alguns benefícios da arquitetura MSC: - `Organização`: Com a divisão clara de responsabilidades, é mais fácil para os desenvolvedores entenderem e manterem o código. - `Escalabilidade`: Como cada componente é independente, é possível escalar o aplicativo de forma granular, sem precisar escalá-lo como um todo. - `Reutilização de código`: Como os serviços encapsulam a lógica de negócios, é possível reutilizar o mesmo serviço em várias partes do aplicativo. - `Testabilidade`: Como cada componente é independente, é mais fácil escrever testes automatizados para cada componente. <br> ## Testes Foram realizados testes automatizados durante o desenvolvimento da aplicação para garantir seu correto funcionamento e evitar possíveis erros no código. Foram implementados testes de integração e testes unitários tanto no front-end quanto no back-end. No front-end, os testes foram escritos utilizando a biblioteca [React Testing Library](https://testing-library.com/docs/react-testing-library/intro/) em conjunto com o framework [Jest](https://jestjs.io/pt-BR/). Os testes unitários verificam a funcionalidade de cada componente individualmente, enquanto os testes de integração testam o comportamento de múltiplos componentes em conjunto. Isso garante que a interface do usuário esteja funcionando corretamente, independentemente de qualquer mudança no código. No back-end, foram implementados testes de unidade utilizando a biblioteca [Mocha](https://mochajs.org/), o framework de asserção [Chai](https://www.chaijs.com/) e a biblioteca de simulação [Sinon](https://sinonjs.org/). Além disso, foram realizados testes de integração para garantir que os diferentes componentes do servidor estejam interagindo corretamente. A utilização de testes automatizados permite uma maior confiabilidade e segurança na aplicação, garantindo que ela continue funcionando corretamente mesmo após alterações no código. <br> ## Segurança A segurança é uma preocupação primordial em nosso aplicativo. Utilizamos várias técnicas e tecnologias para garantir que nosso sistema seja seguro e confiável. Uma das tecnologias que usamos para garantir a segurança é o [JWT (JSON WEB TOKEN)](https://auth0.com/resources/ebooks/jwt-handbook?utm_content=latamptbrazilgenericauthentication-jwthandbook-jwthandbook&utm_source=google&utm_campaign=latam_mult_bra_all_ciam-all_dg-ao_auth0_search_google_text_kw_utm2&utm_medium=cpc&utm_id=aNK4z0000004ISoGAM&utm_term=json%20web%20token-c&gclid=Cj0KCQiAic6eBhCoARIsANlox86d1mgnR32Ojo_O7HQcmuTbch4oUFGFeAe5YcMjrVVTa3XlqlXDIGoaApm8EALw_wcB), que é uma maneira segura de transmitir informações entre dois ou mais sistemas de forma criptografada. Isso garante que apenas as partes autorizadas possam acessar as informações transmitidas. Além disso, utilizamos o [MD-5](https://www.devmedia.com.br/criptografia-md5/2944), que é um algoritmo de hash criptográfico, para proteger as senhas de nossos usuários. O [MD-5](https://www.devmedia.com.br/criptografia-md5/2944) é um algoritmo robusto e comprovadamente seguro para uso em senhas. Outra maneira pela qual garantimos a segurança é através da arquitetura de nosso software. Nossos sistemas são construídos com uma arquitetura modular e escalável, o que significa que podemos isolar e proteger cada componente do sistema de forma independente. Isso nos permite detectar e corrigir vulnerabilidades de segurança de forma mais rápida e eficiente. <br> ## Estilização No aplicativo iBirita, utilizamos três ferramentas para estilizar a aplicação web: [Tailwind](https://tailwindcss.com/), [Material UI](https://mui.com/) e [CSS](https://developer.mozilla.org/pt-BR/docs/Web/CSS). O [Tailwind](https://tailwindcss.com/) é um framework [CSS](https://developer.mozilla.org/pt-BR/docs/Web/CSS) utilitário que nos permite criar estilos customizados rapidamente, enquanto o [Material UI](https://mui.com/) é um conjunto de componentes React pré-construídos que seguem as diretrizes de design do Google. Além disso, o [CSS](https://developer.mozilla.org/pt-BR/docs/Web/CSS) nativo foi utilizado em alguns casos para complementar o estilo dos componentes. Utilizamos [Tailwind](https://tailwindcss.com/) principalmente para estilizar os componentes criados do zero, enquanto [Material UI](https://mui.com/) foi utilizado para os campos de input e botões que utilizamos na aplicação. Ambos foram customizados para atender às necessidades de design e experiência do usuário específicas do projeto. No geral, a combinação dessas ferramentas nos permitiu criar uma interface web responsiva, atraente e funcional. <br> <br> <details> <summary><strong>INSTALAÇÃO DO APLICATIVO iBIRITA</strong></summary><br /> ## Instalação <br> - Clone o repositório `git@github.com:pedrohassen/delivery-app.git`: ```bash git clone git@github.com:pedrohassen/delivery-app.git ``` <br> - Entre na pasta do repositório que você acabou de clonar: ```bash cd delivery-app ``` <br> - Instale as depëndencias, caso necessário, com `npm install`: ```bash npm install ``` - Instale as depëndencias do Front-end e Back-end, com `npm run dev:prestart`: ```bash npm run dev:prestart ``` <hr> <br> ### Executando a aplicação: - Execute a aplicação com com `npm start` na raiz do projeto: > Executará a aplicação em modo de desenvolvimento. ```bash npm start ``` Abra [http://localhost:3000](http://localhost:3000) no seu navegador para visualiza-lo. <hr> <br> ### Testando a aplicação: - Execute os testes com `npm test`: > Executará os testes unitários e testes de integração. ```bash npm test ``` <hr> <br> ### Contribuição Contribuições são sempre bem-vindas! Para contribuir com o projeto, siga as instruções abaixo: - Fork este repositório > Crie uma nova branch com sua feature ou correção de bug: ```bash git checkout -b sua-feature-ou-correcao ``` - Faça as alterações necessárias e commit as mudanças: ```bash git commit -m "sua mensagem de commit" ``` - Envie suas alterações para seu repositório remoto: ```bash git push origin sua-feature-ou-correcao ``` - Crie um `Pull Request` para o repositório original. <hr> </details> <br> ## Equipe - [Artur Vidor](https://github.com/vidorartur) - [Julia Peres Kitzberger](https://github.com/xjujuperesx) - [Pablo Araujo](https://github.com/opabloaraujo) - [Rafael Souza](https://github.com/Rafael-Souza-97) - [Pedro H. Niemczewski](https://github.com/pedrohassen) ## Referências - [Trybe](https://www.betrybe.com/) ## Tecnologias e Ferramentas - Linguagem: [Javascript](https://developer.mozilla.org/pt-BR/docs/Web/JavaScript) - Framework de Front-end: [React](https://pt-br.reactjs.org/) - Gerenciamento de estado: [ContextAPI](https://reactjs.org/docs/context.html) - Cliente HTTP: [Axios](https://axios-http.com/ptbr/docs/intro) - Plataforma de desenvolvimento: [Node](https://nodejs.org/en/) - Virtualização: [Docker](https://www.docker.com/) - Padrão de arquitetura de API: [API RESTful](https://blog.betrybe.com/desenvolvimento-web/api-rest-tudo-sobre/) - Padrão de arquitetura do Software: [Model-Service-Controller](https://www.devmedia.com.br/introducao-ao-padrao-mvc/29308) - Framework de arquitetura de APIwork web: [Express](https://expressjs.com/) - Banco de dados: [MySQL](https://www.mysql.com/) - Ferramenta de modelagem de banco de dados: [MySQL Workbench](https://www.mysql.com/products/workbench/) - ORM: [Sequelize](https://sequelize.org/) - Criptografia de senhas: [MD-5](https://www.devmedia.com.br/criptografia-md5/2944) - Autenticação e autorização: [JWT](https://auth0.com/resources/ebooks/jwt-handbook?utm_content=latamptbrazilgenericauthentication-jwthandbook-jwthandbook&utm_source=google&utm_campaign=latam_mult_bra_all_ciam-all_dg-ao_auth0_search_google_text_kw_utm2&utm_medium=cpc&utm_id=aNK4z0000004ISoGAM&utm_term=json%20web%20token-c&gclid=Cj0KCQiAic6eBhCoARIsANlox86d1mgnR32Ojo_O7HQcmuTbch4oUFGFeAe5YcMjrVVTa3XlqlXDIGoaApm8EALw_wcB) - Cliente de teste de API: [Thunder Client](https://www.thunderclient.com/) - Linter de código: [ESLint](https://eslint.org/) - Metodologias ágeis: [Scrum](https://www.atlassian.com/br/agile/scrum) e [Kanban](https://www.totvs.com/blog/negocios/kanban/) - Ferramentas de comunicação: [Zoom](https://zoom.us/) e [Slack](https://slack.com/intl/pt-br/) - Editor de código: [Visual Studio Code](https://code.visualstudio.com/) - Sistema de controle de versão: [Git](https://git-scm.com/) e [GitHub](https://github.com/) - Sistema operacional: [Linux - Ubuntu](https://ubuntu.com/) e [Windows](https://www.microsoft.com/pt-br/windows/?r=1) ## Estilização - Framework CSS: [Tailwind](https://tailwindcss.com/) - Biblioteca de componentes: [Material UI](https://mui.com/) - Linguagem de Estilização: [CSS](https://developer.mozilla.org/pt-BR/docs/Web/CSS) ## Testes - Framework de teste de unidade: [Jest](https://jestjs.io/pt-BR/) - Biblioteca de teste de componentes React: [React Testing Library](https://testing-library.com/docs/react-testing-library/intro/) - Framework de teste de unidade: [Mocha](https://mochajs.org/) - Biblioteca de assertividade para teste de unidade: [Chai](https://www.chaijs.com/) - Biblioteca de espiões, stubs e mocks para testes: [Sinon](https://sinonjs.org/) <br> <hr> ## Preview https://user-images.githubusercontent.com/99055008/226149136-98ba20a3-1ea4-4e78-99da-507f0bad666c.mp4 <hr>
Drinks Delivery App - FullStack
axios,chai,css,express,javascript,jest,jwt,kanban,lint,material-ui
2023-03-22T18:02:53Z
2023-03-27T18:10:14Z
null
6
0
211
0
0
2
null
null
JavaScript
ibaifernandez/GeekPostv1.0
main
# GeekPost v1.0 ## _by_ [_3Geeks@4Geeks_](https://github.com/ibaifernandez/GeekPostv1.0)
GeekPost is a semi-automatic social media post generator.
css3,flask,html5,javascript,python,react,sqlalchemy
2023-03-23T16:26:27Z
2023-05-09T12:39:07Z
null
4
50
414
0
0
2
null
null
JavaScript
susanforme/format-factory
master
# 格式工厂 在浏览器端的视频,音频,图片处理 app ## 完成度 ### 视频 完成度 70% ### 音频 TODO ### 图像 TODO ## 目录结构 .
在浏览器端的视频,音频,图片处理 app
javascript,typescript,vue,wasm
2023-03-22T08:37:19Z
2023-07-21T08:35:11Z
null
2
6
126
0
1
2
null
GPL-3.0
TypeScript
kshitijjj/Drum-Kit
main
Hey everyone! This is a drum kit project . Languages used in this project are Html, Css and Javascript
css,html,javascript
2023-03-21T16:10:16Z
2023-06-07T16:34:58Z
null
1
0
3
0
0
2
null
null
JavaScript
Gartner24/3dRenderingApp
main
null
A 2d and 3d motor for rendering forms with linear algebra logic
graphics-2d,graphics-3d,graphics-engine,javascript,react
2023-03-24T21:26:11Z
2023-03-25T08:15:42Z
null
1
0
8
0
0
2
null
null
JavaScript
Mrkishansharma/todo-app-backend
main
# todo-app-backend
It is full stack todo task App. where we can manage our daily tasks.
css,expressjs,html,javascript,mongodb,mongoose,nodejs
2023-03-25T17:22:21Z
2023-03-25T17:24:52Z
null
1
0
2
0
0
2
null
null
JavaScript
Pawel1894/number-to-local-currency
master
# Format number to local currency Single function that allows a number to be formatted to a currency with the sign of the user's local currency. ### Installing using npm: ```bash $ npm install number-to-local-currency ``` using pnpm: ```bash $ pnpm install number-to-local-currency ``` using CDN: ```html <script src="https://www.unpkg.com/number-to-local-currency@0.0.1/dist/index.js"></script> ``` If you are not using CDN, you can import the library using `import` or `require` approach: ```js import { format } from "number-to-local-currency"; ``` or ```js const format = require("number-to-local-currency"); ``` ## Examples Simple usage: ```js format(993.43); // when user is in USA - formatting number to US currency with US formatting output: $ 999.43 format(993.43); // when user is in Poland - formatting number to Polish currency with US formatting output: PLN 999.43 ``` When changing default formatting type, all format types must be compatible with JavaScript's Intl: ```js format(993.43, "fr"); // formatting number to polish currency with french formatting output: 993,43 PLN ``` ## How it works 1. Get user's timezone using moment-timezone guess function 2. Get user's country code using countries-and-timezones 3. Format number with JavaScript native Intl object 4. Returns formatted number ## Function params - `value` – Number you want to format - `numberFormat` – Select format type compatible with JavaScript Intl - default value is en-US - `fallbackCountryCurrency` – In case something goes wrong and JavaScript isn't able to identify the user's country, you can set fallback country - default is US ## Credits This function works using the following three libraries: [moment-timezone](https://www.npmjs.com/package/moment-timezone) & [country-to-currency](https://www.npmjs.com/package/country-to-currency) & [countries-and-timezones](https://www.npmjs.com/package/countries-and-timezones) ## License MIT
npm package that allows a number to be formatted to a currency with the sign of the user's local currency.
currency-format,formatter,javascript,library,local-currency,npm,pnpm,typescript
2023-03-25T14:43:37Z
2023-06-11T06:47:02Z
2023-03-25T17:09:07Z
1
0
13
0
0
2
null
null
TypeScript
SevenAJJY/Memory-Game
main
# Memory-Game Level up your memory for free with this online memory card game. Flip the cards and match the
Level up your memory for free with this online memory card game. Flip the cards and match the
css,css3,game,html,html5,javascript,memory-game
2023-03-16T16:45:21Z
2023-03-20T00:00:07Z
null
1
0
4
0
0
2
null
null
HTML
lack21/Room
main
# Room Tools Used: • HTML • SCSS • Javascript ![image](https://user-images.githubusercontent.com/100687592/225041390-46251e8d-193e-4b95-9b06-674d2be55216.png) Link : https://lack21.github.io/Room/
Website Project
html,javascript,scss
2023-03-14T14:43:12Z
2023-03-14T14:55:45Z
null
1
0
2
0
0
2
null
null
HTML
Jatan88/JobSpot
main
# For any doubts or issues refer to the README.md or email me at shahjatan88@gmail.com - For using the application on your mobile: - Download Expo app on your device. - Now visit the link in the about section of the repository from your browser. - Scan the QR code using the Expo app. - For the issue where it sometimes shows popular jobs and sometimes nearby jobs, I made slight changes. I created another hook named "useFetcher" and made a second account on rapid api. The key I recieved from the second account I used it for useFetcher hook. Now I used useFetcher hook for fetching popular jobs and search functionality and useFetch hook for nearbyjobs. # Demo Pictures <p float="left"> <img src="https://github.com/Jatan88/JobSpot/blob/main/demopics/pic4.jpeg" width=200> <img src="https://github.com/Jatan88/JobSpot/blob/main/demopics/pic3.jpeg" width=200> <img src="https://github.com/Jatan88/JobSpot/blob/main/demopics/pic2.jpeg" width=200> <img src="https://github.com/Jatan88/JobSpot/blob/main/demopics/pic1.jpeg" width=200> <img src="https://github.com/Jatan88/JobSpot/blob/main/demopics/pic6.jpeg" width=200> <img src="https://github.com/Jatan88/JobSpot/blob/main/demopics/pic5.jpeg" width=200> </p> <!-- nice one --> # Demo Video https://user-images.githubusercontent.com/61798906/227284231-ff6d98c2-8793-42f4-907c-5216e81e6cf5.mp4
A Mobile Application for both Android and iOS for Job Opportunities.
javascript,react-native
2023-03-23T16:14:21Z
2023-03-31T06:28:37Z
null
2
1
15
0
2
2
null
null
JavaScript
EinfachNurN1C0/Experimental-Websites
main
--- # In this repository you can find all of my Experimental-Websites --- **`Main Link:`** https://einfachnurn1c0.github.io/Experimental-Websites/ **`1. Profil Card`** --> A temporary website for the time until the completion of my final website. You can find it using the main link and then clicking on the tab profile card. **`2. Idea 1`** --> An idea for a clean and minimalistic website which includes my portfolio, an about me and a contact page. You can find it using the main link and then clicking on the tab idea 1. **`3. Idea 2`** --> An idea for a website with an animated expanding menu which should contain subitems like my portfolio an about me and a contact page. You can find it using the main link and then clicking on the tab idea 2.
The purpose of this repository is to organize all of my website ideas/templates.
pages,github-pages,website,website-ideas,websites,css,html,javascript
2023-03-14T21:26:27Z
2023-12-14T22:26:09Z
null
2
1
9
0
1
2
null
null
HTML
Nita1001/bank-api-mern-stack-app
main
# Bank API This is a bank API that allows a bank manager to manage users of the bank by performing various actions such as adding users, depositing cash, updating credit, withdrawing money, transferring money, and fetching user details. ## Technologies Used - MongoDB Atlas - Express.js - React - node.js - Postman ## Features - Add users to the bank with ID, cash (default 0), and credit (default 0). - Deposit cash to a user by the user's ID and amount of cash. - Update a user's credit (only positive numbers). - Withdraw money from the user (can withdraw money until the cash and credit run out). - Transfer money from one user to another with credit (can transfer money until the cash and credit run out). - Fetch all details of a particular user. - Fetch all details of all the users. - Filter users by the amount of cash they have. ## Setup and Installation 1. Clone this repository to your local machine 2. Navigate to the `client` directory and run `npm install` to install the necessary dependencies for the React client 3. Navigate to the `server` directory and run `npm install` to install the necessary dependencies for the Node.js server 4. In the `server` directory, create a `.env` file with the following environment variables: - MONGO_URI= [insert your MongoDB URI here] ## Usage 1. Start the server by running `npm start`. 2. Open Postman and test the endpoints by sending requests to the server. 3. Open the React app by navigating to the client directory and running `npm start`. 4. Use the front-end site to manage the users of the bank. ## Use Cases 1. Cannot add duplicate users. 2. When fetching users, make sure they exist. 3. Error messages will be sent to the client if any other use cases are not satisfied. ## Filtering - Users can be filtered by the amount of cash they have. - Additional filters can be added as needed. ## Conclusion This project is a bank API that provides a simple way for a bank manager to manage users of the bank. It uses MongoDB Atlas for the database, Express.js for the backend, React for the frontend, and Postman for testing. The project includes several features and filters, and error messages are sent to the client when use cases are not satisfied. ## Accessing the Application The bank API is hosted on Cyclic and can be accessed by navigating to the following URL: [neat-bank](https://neat-bank.cyclic.app/) ## Contributing Contributions are welcomed If you find any bugs or have suggestions for improving, please create an issue or submit a pull request. ## License This project is licensed under the [MIT License](https://opensource.org/licenses/MIT).
This project is a bank API that provides a simple way for a bank manager to manage users of the bank
express-js,javascript,mern-stack,mongodb,mongoose,node-js,react,cyclic
2023-03-23T11:34:32Z
2024-03-09T18:53:39Z
null
1
0
69
0
1
2
null
null
JavaScript
remarkablemark/cloudflare-functions-demo
master
# cloudflare-functions-demo [Cloudflare Functions Demo](https://cloudflare-functions-demo-dqb.pages.dev). See [Cloudflare documentation](https://developers.cloudflare.com/pages/platform/functions/) ## Prerequisites - [Node.js](https://nodejs.org/) - [npm](https://www.npmjs.com/) ## Install Clone the repository: ```sh git clone https://github.com/remarkablemark/cloudflare-functions-demo.git cd cloudflare-functions-demo ``` Install the dependencies: ```sh npm install ``` ## Run Start a local server for developing your Pages: ```sh npm start ``` Fix error `Address already in use; 0.0.0.0:8788`: ```sh kill $(lsof -ti :8788) ``` ## Functions <!-- prettier-ignore-start --> | File | Endpoint | | --- | --- | | [dynamic/[name].ts](https://github.com/remarkablemark/cloudflare-functions-demo/blob/master/functions/dynamic/[name].ts) | [/dynamic/world](https://cloudflare-functions-demo-dqb.pages.dev/dynamic/world) | | [r2](https://github.com/remarkablemark/cloudflare-functions-demo/blob/master/functions/r2) | [/r2](https://cloudflare-functions-demo-dqb.pages.dev/r2) | | [cache](https://github.com/remarkablemark/cloudflare-functions-demo/blob/master/functions/cache.ts) | [/cache](https://cloudflare-functions-demo-dqb.pages.dev/cache) | | [cf](https://github.com/remarkablemark/cloudflare-functions-demo/blob/master/functions/cf.ts) | [/cf](https://cloudflare-functions-demo-dqb.pages.dev/cf) | | [cors-proxy](https://github.com/remarkablemark/cloudflare-functions-demo/blob/master/functions/cors-proxy.ts) | [/cors-proxy](https://cloudflare-functions-demo-dqb.pages.dev/cors-proxy?url=http://example.com) | | [cors](https://github.com/remarkablemark/cloudflare-functions-demo/blob/master/functions/cors.ts) | [/cors](https://cloudflare-functions-demo-dqb.pages.dev/cors) | | [environment-variables](https://github.com/remarkablemark/cloudflare-functions-demo/blob/master/functions/environment-variables.ts) | [/environment-variables](https://cloudflare-functions-demo-dqb.pages.dev/environment-variables) | | [fetch](https://github.com/remarkablemark/cloudflare-functions-demo/blob/master/functions/fetch.ts) | [/fetch](https://cloudflare-functions-demo-dqb.pages.dev/fetch) | | [form](https://github.com/remarkablemark/cloudflare-functions-demo/blob/master/functions/form.ts) | [/form](https://cloudflare-functions-demo-dqb.pages.dev/form) | | [headers](https://github.com/remarkablemark/cloudflare-functions-demo/blob/master/functions/headers.ts) | [/headers](https://cloudflare-functions-demo-dqb.pages.dev/headers) | | [helloworld](https://github.com/remarkablemark/cloudflare-functions-demo/blob/master/functions/helloworld.js) | [/helloworld](https://cloudflare-functions-demo-dqb.pages.dev/helloworld) | | [html](https://github.com/remarkablemark/cloudflare-functions-demo/blob/master/functions/html.ts) | [/html](https://cloudflare-functions-demo-dqb.pages.dev/html) | | [ip](https://github.com/remarkablemark/cloudflare-functions-demo/blob/master/functions/ip.ts) | [/ip](https://cloudflare-functions-demo-dqb.pages.dev/ip) | | [json](https://github.com/remarkablemark/cloudflare-functions-demo/blob/master/functions/json.ts) | [/json](https://cloudflare-functions-demo-dqb.pages.dev/json) | | [kv](https://github.com/remarkablemark/cloudflare-functions-demo/blob/master/functions/kv.ts) | [/kv](https://cloudflare-functions-demo-dqb.pages.dev/kv) | | [onRequests](https://github.com/remarkablemark/cloudflare-functions-demo/blob/master/functions/onRequests.ts) | [/onRequests](https://cloudflare-functions-demo-dqb.pages.dev/onRequests) | | [post](https://github.com/remarkablemark/cloudflare-functions-demo/blob/master/functions/post.ts) | [/post](https://cloudflare-functions-demo-dqb.pages.dev/post) | | [querystring](https://github.com/remarkablemark/cloudflare-functions-demo/blob/master/functions/querystring.ts) | [/querystring](https://cloudflare-functions-demo-dqb.pages.dev/querystring?key=value) | | [redirect](https://github.com/remarkablemark/cloudflare-functions-demo/blob/master/functions/redirect.ts) | [/redirect](https://cloudflare-functions-demo-dqb.pages.dev/redirect?key=value) | | [secrets](https://github.com/remarkablemark/cloudflare-functions-demo/blob/master/functions/secrets.ts) | [/secrets](https://cloudflare-functions-demo-dqb.pages.dev/secrets) | | [stream](https://github.com/remarkablemark/cloudflare-functions-demo/blob/master/functions/stream.ts) | [/stream](https://cloudflare-functions-demo-dqb.pages.dev/stream) | | [typescript](https://github.com/remarkablemark/cloudflare-functions-demo/blob/master/functions/typescript.ts) | [/typescript](https://cloudflare-functions-demo-dqb.pages.dev/typescript) | | [uuid](https://github.com/remarkablemark/cloudflare-functions-demo/blob/master/functions/uuid.ts) | [/uuid](https://cloudflare-functions-demo-dqb.pages.dev/uuid) | <!-- prettier-ignore-end --> ## License [MIT](https://github.com/remarkablemark/cloudflare-functions-demo/blob/master/LICENSE)
:cloud: Cloudflare Functions Demo
api,cloudflare,cloudflare-functions,cloudflare-pages,cloudflare-workers,demo,javascript
2023-03-12T18:37:49Z
2024-05-22T04:15:24Z
null
1
163
258
1
0
2
null
MIT
TypeScript
SamuelHoltby/Code-Quest
main
# Code-Quest This repository is a collection of various JavaScript challenges aimed at improving and testing one's knowledge of the language. It serves as a playground for practicing and refining JavaScript skills while also demonstrating the power of unit testing using Jest, a popular testing library for JavaScript. I'll post a **new coding challenge each week**, see below. These challenges should only take 10-30 minutes to complete, as I ain't got no time for hour long challenges. Here are all the challenges if you fancy having a look: [All challenges](.challenges/Challenges.md). My attempt at each challenge can be found within [`src/weekly-challenges.test.ts`](src/weekly-challenges.test.ts) ## 14/04/2023 - weekly challenge ## [Recursive Function Value Resolver](.challenges/recursive-function-value-resolver.md)
This repository is a collection of various JavaScript challenges aimed at improving and testing one's knowledge of the language. It serves as a playground for practicing and refining JavaScript skills while also demonstrating the power of unit testing using Jest, a popular testing library for JavaScript.
challenges,javascript,jest,testing,typescript
2023-03-23T14:58:39Z
2023-04-13T13:06:16Z
null
1
0
16
0
0
2
null
null
TypeScript
agyeievans/Blooger
master
null
A blogging website
css3,html5,javascript
2023-03-25T12:58:29Z
2023-03-25T13:01:08Z
null
1
0
1
0
0
2
null
null
CSS
empiretylh/React-Native-TakeHome-Challenge
master
# React-Native-TakeHome-Challenge This project is my job entry exam for a React Native developer position. I used the Pokemon API to implement my React Native application. The application incorporates real-world data on different Pokemon species, and I have organized the code in a structured and understandable manner. You can download final expoted apk file from this link. https://drive.google.com/file/d/1AEyckkHvDk8FmM7xXy3WcmuqFsGDhi0X/view?usp=sharing ## Resources - API: [Pokemon TCG](https://pokemontcg.io) - Design (Mobile screen only): - prototype: <https://www.figma.com/proto/GEbDoXIEkMvK8UrJlcz7Z7/Pokemon-TCG-Marketplace?node-id=1%3A34&scaling=contain&page-id=0%3A1&starting-point-node-id=1%3A34&show-proto-sidebar=1> # Project Description - JavaScript - ReactNative - React Query - React Native Navigation - React Hook # Installation ## Getting Started To start the project, follow these steps: - Clone the repository to your local machine: `https://github.com/empiretylh/React-Native-TakeHome-Challenge.git` - Install the project dependencies: `npm install` - Start the development server:`npx react-native start` - In a separate terminal window, launch the app on your preferred platform. For example, to launch the app on iOS, run:`npx react-native run-ios` To launch the app on Android, run:`npx react-native run-android` That's it! You should now have the development server running and be able to launch the app on your preferred platform. # Usage - On the first login screen, Enter your username and password (whatever it is) and login. - You can filter the pokemon card by the name, types, rarity, and set name - You can select the pokemon card to add to cart. see total amount of the cart. # Project images file <img src="https://github.com/empiretylh/React-Native-TakeHome-Challenge/blob/master/card1.png" alt="Login & Home" width="400"/> <img src="https://github.com/empiretylh/React-Native-TakeHome-Challenge/blob/master/card2.png" alt="Login & Home" width="400"/> ## Exam Requirements (95%) - ✅ Able to export apk or ipa (if you are using expo please use bare workflow) - ✅ Create Login screen (doesn't include in design so can use simple design screen) - ✅ Implementing Authentication flow (api doesn't require authentication but you can include authentication header for simple demonstration) - ✅ Using react native navigation to navigate login to home page - ✅ Card list: - ✅ Implement search/filter (**optional**): - ✅ Name - ✅ Type - ✅ Rarity - ✅ Set - ✅ Loading/PageSize limit: `12` cards on each api call - ✅ Implement `Loadmore` style pagination - ✅ Use card `price` data from `cardmarket.prices.*` - ✅ Use card's stock from `set.total` - ✅ Cart: - ✅ Display selected cards as per design - ✅ Quantity must be able to increase, decrease & remove. Must respect the stock left limit - ✅ Display total number of selected cards - ✅ Display total price of all the cards - ✅ All cards should be clearable at once from cart ## Bonus The following are some strategies to leave us with a better impression. But remember, **they're not required**. - ✅ UI should look like as figma for both android & ios - ✅ Using [react native navigation](https://reactnavigation.org/) for pop up modal - ✅ Using [react query](https://tanstack.com/query/latest/docs/react/overview) - ✅ Using React hooks - ❎ Using TypeScript (I used JavaScript) - ✅ Meaningful git commit - ✅ Well-structured and organized repository
This project is my job entry exam for a React Native developer position. I used the Pokemon API to implement my React Native application. The application incorporates real-world data on different Pokemon species, and I have organized the code in a structured and understandable manner.
javascript,react-native,android,mobile,react-navigation,react-query
2023-03-21T19:48:23Z
2023-03-23T00:40:16Z
null
1
0
11
0
0
2
null
null
JavaScript
robsonamendonca/GuiaDevJrBot
main
<h1>GuiaDevJr Bot</h1> <p align="center"> <image src="https://via.placeholder.com/300x100.png?text=GuiaDevJR_Bot" /></br> <label>[GuiaDevJrBot](https://robsonamendonca.github.io/GuiaDevJrBot/)</label> </p> <p align="center"> <a href="#sobre-memo">Sobre</a>&nbsp;&nbsp;&nbsp; | &nbsp;&nbsp;&nbsp; <a href="#tecnologias-rocket">Tecnologias</a>&nbsp;&nbsp;&nbsp; | &nbsp;&nbsp;&nbsp; <a href="#como-contribuir-">Como Contribuir</a>&nbsp;&nbsp;&nbsp; | &nbsp;&nbsp;&nbsp; <a href="#licença-scroll">Licença</a>&nbsp;&nbsp;&nbsp; | &nbsp;&nbsp;&nbsp; </p> <p align="center"> <image src="https://img.shields.io/badge/Shields-customizados-red"/> </p> ## Apresentação do Projeto :sparkles: <p align="center"> <image src="guiaddevjrbot.jpeg" /> </p> --- ## Sobre :memo: Essa é uma Landing Page para o Bot para Discord! Essa aplicação foi criada através da video aula, segue dados abaixo: LANDING PAGE COM HTML e CSS - https://www.youtube.com/watch?v=llF6vD-RljE Professora: [Rafaella Ballerini](https://www.youtube.com/@rafaellaballerini) ## Tecnologias :rocket: #### Projeto Bot-Discord - [botGuiaDevJr](https://github.com/robsonamendonca/botGuiaDevJr) #### Front-end - HTML - CSS - JAVASCRIPT ## Como contribuir 🤔 - Faça um fork desse repositório; - Cria uma branch com a sua feature: `git checkout -b minha-feature`; - Faça commit das suas alterações: `git commit -m 'feat: Minha nova feature'`; - Faça push para a sua branch: `git push origin minha-feature`. ## Licença :scroll: > Esse projeto está sob a licença MIT. Veja o arquivo [LICENSE](LICENSE) para mais detalhes. --- ##### <p align="center"> <strong> < Feito por <a href="https://github.com/robsonamendonca"> @robsonamendonca </a> /> </strong> :wave: > Caso achem útil esta solução, peço por favor um ⭐️ nos repositórios apoiando. Fica também o convite para que vocês me sigam aqui no **GitHub**!
GuiaDevJrBot - Um bot que irá deixa sua comunidade assistida de um jeito fácil
bot,bot-discord-js,css,discord-js,hmtl5,javascript,js,guiadevjr
2023-03-21T20:52:51Z
2023-04-07T23:17:35Z
null
1
0
13
0
0
2
null
MIT
HTML
CobbyElsonfx/ecommerce-product-page-main
master
# Frontend Mentor - E-commerce product page solution This is a solution to the [E-commerce product page challenge on Frontend Mentor](https://www.frontendmentor.io/challenges/ecommerce-product-page-UPsZ9MJp6). Frontend Mentor challenges help you improve your coding skills by building realistic projects. ## Overview ### The challenge Users are able to: - View the optimal layout for the site depending on their device's screen size - See hover states for all interactive elements on the page - Open a lightbox gallery by clicking on the large product image - Switch the large product image by clicking on the small thumbnail images - Add items to the cart - View the cart and remove items from it ### Screenshot #### Desktop View Screenshot 2023-05-18 at 3.27.14 PM![image](https://github.com/CobbyElsonfx/ecommerce-product-page-main/assets/109095646/8310cf35-8e49-4209-98a6-f3457e018cbd) #### Mobile View Screenshot 2023-05-18 at 3.40.56 PM![image](https://github.com/CobbyElsonfx/ecommerce-product-page-main/assets/109095646/a0b5cb46-ee39-42f3-8a43-5fa485f9bc90) ### Links - Live Site URL: [Add live site URL here](https://your-live-site-url.com) ### Built with - Semantic HTML5 markup - CSS custom properties - Tailwindcss - Jquery ### What I learned ```html <h1>Some HTML code I'm proud of this code which creates an ecommerce lighbox where users click on a smaller thumbnail image and it desplays in a larger container above</h1> <div class="hidden sm:flex flex-col flex-1 items-center gap-8"> <!-- Image --> <img src="./images/image-product-1.jpg" role="button"class="w-full max-w-md rounded-2xl cursor-pointer" id="desktop-image" alt="Main image of the product"/> <!-- Thumbnails --> <form id="desktop-image-thumbnails" class="flex gap-8 max-w-md"> <label for="desktop-thumbnail-1" class="desktop-thumbnail active"> <input type="radio" name="desktop-thumbnail-select" id="desktop-thumbnail-1" value="1" class="hidden-radio" checked /> <img src="./images/image-product-1.jpg" alt="Image 1 of product" class="cursor-pointer mix-blend-lighten brightness-110"/> </label> <label for="desktop-thumbnail-2" class="desktop-thumbnail"> <input type="radio" name="desktop-thumbnail-select"id="desktop-thumbnail-2" value="2" class="hidden-radio"/> <img src="./images/image-product-2.jpg" alt="Image 2 of product" class="cursor-pointer mix-blend-lighten brightness-110"/> </label> <label for="desktop-thumbnail-3" class="desktop-thumbnail"> <input type="radio" name="desktop-thumbnail-select" id="desktop-thumbnail-3" value="3" class="hidden-radio" /> <img src="./images/image-product-3.jpg" alt="Image 3 of product" class="cursor-pointer mix-blend-lighten brightness-110" /> </label> <label for="desktop-thumbnail-4" class="desktop-thumbnail"> <input type="radio" name="desktop-thumbnail-select" id="desktop-thumbnail-4" value="4" class="hidden-radio" /> <img src="./images/image-product-4.jpg" alt="Image 4 of product" class="cursor-pointer mix-blend-lighten brightness-110"/> </label> </form> </div> </div> ``` ``` * This Jquery code represents the logic behind the addition and removal of items to the cart ```js $(document).ready(()=> { let numberOfItems = 0 console.log(numberOfItems, "total") let buttonValue = parseInt($("#clickButton").val()) $("#minus").click(()=>{ buttonValue -- if(buttonValue < 0){ buttonValue = 0 } $("#clickButton").val(buttonValue) $("#innerNum").text(buttonValue) }) $("#addVal").click(()=>{ buttonValue ++ $("#clickButton").val(buttonValue) $("#innerNum").text(buttonValue) }) //adding to cart functionality $("#addtoCart").click(()=>{ numberOfItems = numberOfItems + buttonValue const costOfSneakers = numberOfItems * 125 if(numberOfItems > 0){ $(".cartItems").removeClass("hidden") $("#costOfItems").text(costOfSneakers) $("#numberOfitems").text(numberOfItems) $("#cartValue").text(numberOfItems) console.log(numberOfItems, costOfSneakers) //set the emptyCartText to hidden $(".emptyCartText").addClass("hidden") } //render this if the value of cart is less than 1 which means it is empty if(numberOfItems == 0){ // var $div = $("<div>") // var $p = $("<p>",{ // "class": "text-center font-bold text-darkGrayishBlue", // text :"Your cart is empty" // }) // $div.append($p) // console.log("running") // $(".cartContent").append($div) $(".emptyCartText").addClass("hidden") } //set the button to 0 when clicked buttonValue = 0 $("#innerNum").text(buttonValue) }) //delete cart items $("#deleteCartItems").click(()=>{ console.log("clicked delte") $(".cartItems").addClass("hidden") $(".emptyCartText").removeClass("hidden") numberOfItems = 0 $("#cartValue").text(numberOfItems) }) // cartbasket toggle $("#cart").click(()=>{ $("#cartBasket").toggle() }) }) ``` ### Useful resources - [Tailwind Elements](https://tailwind-elements.com/docs/standard/components/carousel/) - This website provides free tailwind templates such as carousel, forms, modals and many more ## Author - Website - [Andoh Francis (website in progress)] - Frontend Mentor - [@CobbyElsonfx](https://www.frontendmentor.io/profile/CobbyElsonfx) - Twitter - [@CobbyElsonfx](https://www.twitter.com/CobbyElsonfx) ## Acknowledgments Special thanks to Mr Oliver Mensah who has always been the strength and motivation behind every project I build
Frontend Menter E-commerce Landing Page
css,html,javascript,jquery,tailwindcss
2023-03-20T15:55:43Z
2023-05-23T16:32:07Z
null
1
7
49
0
0
2
null
null
CSS
theslimbrady/Vantomizer-Randomizer-for-Vanta.JS-Fog-Effect
main
# Vantomizer - Vanta.JS Fog Randomizer Tool **Tags:** JavaScript, HTML, CSS, Vanta.js, Three.js ## Description Uses the Vanta.js fog effect to generate random scenes and display the values for you to use in your project. ## Instructions Use the provided CodePen / GitHub pages link to use the tool or host the files on your own server to use. When you find an effect you like note the values or use the "Copy Code" button (doesn't work on CodePen) and use them in the https://www.vantajs.com/ tool or alter the code as desired to use in your own project: ``` <script src="three.r134.min.js"></script> <script src="vanta.fog.min.js"></script> <script> VANTA.FOG({ el: "#your-element-selector", mouseControls: true, touchControls: true, gyroControls: false, minHeight: 200.00, minWidth: 200.00, highlightColor: 0xffbb00, midtoneColor: 0xff2000, lowlightColor: 0x2c00ff, baseColor: 0xffe9e9 }) </script> ``` Make sure you change #your-element-selector to fit whatever you would like it to display in.
Uses the Vanta.js fog effect to generate random scenes and display the values for you to use in your project.
css,html5,javascript,tinycolor,vantajs
2023-03-20T22:16:22Z
2023-03-23T16:25:28Z
null
1
0
26
0
0
2
null
null
JavaScript
diarisdiakite/Portfolio
main
## 📖 [My portfolio](#my-portfolio) 📗 Table of Contents 📖 [About the Project](#about-the-project) 🛠 [Built With](#built-with) - [Tech Stack](#tech-stack) - [Key Features](#key-features) 🚀 [Live Demo](#live-demo) 💻 [Getting Started](#getting-started) - [Setup](#setup) - [Prerequisites](#prerequisites) - [Install](#install) - [Usage](#usage) - [Run tests](#run-test) - [Deployment](#deployment) 👥 [Authors](#authors) 🔭 [Future Features](#future-features) 🤝 [Contributing](#contributing) ⭐️ [Show your support](#show-your-support) 🙏 [Acknowledgments](#acknowledgment) ❓ [FAQ (OPTIONAL)](#faq) 📝 [Credit](#credit) 📝 [License](#licence) <br><br> ## 📖 [My-portfolio](#my-portfolio) ## 📖 About the Project [My-Portfolio] is project to show my main projects in the MIcroverse programme. ### 🛠 Built With The following technologies has been used in developping this project. #### Tech Stack ```[Tech-stack] client: HTML, CSS ``` ### Key Features [My-Portfolio] key features are the following main projects: ```[Tech-stack] #### Setup and mobile version skeleton #### Mobile version #### Contact form #### Desktop version #### Application deploy #### Evaluate accessibility #### Mobile menu #### Details modal #### Validate contact form #### Preserve data in the browser ``` [back to top](#my-portfolio) ### 🚀 Live Demo [Live Demo](https://diarisdiakite.github.io/Portfolio/) [`Back-to-top`](#my-portfolio) ## 💻 Getting Started ### Setup Clone this repository to your desired folder: https://github.com/diarisdiakite/portfolio ### Prerequisites In order to run the projects on this portfolio you need: Have some knowledge of HTML and CSS Be familiar with git commands Basics understanding of Linters ### Install Install the portfolio project with: [npm](https://www.npmjs.com/) ```[npm] npm install (--npm-command-project-name/app) ``` ### Usage To run the portfolio projects, execute the following command: Open the project in code editor ### Run tests To run tests, run the following command: Open the project in code editor and run the tests ### Deployment You can deploy the portfolio projects using: google cloud, Microsoft Azure, Netlify by giving credit on usign our template or contricute via pull requests (read more in the contributing section). [back to top](#my-portfolio) ## 👥 Authors 👤 Didy GitHub: [@diarisd](github.com/diarisdiakite) <br> Twitter: [@diarisd](@diarisdiakite) <br>LinkedIn: [@diarisd](https://www.linkedin.com/in/diariatou-diakite-67ab80165/) <br><br> 👤 Contributor1: Romans Spilaks GitHub: github.com/@obj583 <br><br> 👤 Contributor2: Benson GitHub: github.com/BenMKT <br><br> ## 🔭 Future Features Upcoming features will include: [peer-rating-projects]() [quizzes-templates]() [back to top](#my-portfolio) ## 🤝 Contributing Contributions, issues, and feature requests are welcome! Feel free to check the issues page. [back to top](#my-portfolio) ## ⭐️ Show your support If you like my [portfolio] you can support my work. Visit my personal page www.didy-developer.me. Please follow us on @linkedin.com/diarisd and @twitter.com/diarisd [back to top](#my-portfolio) ## 🙏 Acknowledgments I would like to thank the Microverse community to inspire and encourage everyday programmers and aspiring programmers. Many thanks to my coding partners particularly to @Roman-adi (@obj583) for his great contribution and hints for this project. [back to top](#my-portfolio) ## ❓ FAQ (OPTIONAL) Here are the most common questions about this project. ### Are U available for a job ? ### Answer Yes, definitely! I'm ready and available to work ideally as a Full stack developer. ## Where can we reach out to you ? ### Answer You can reach out to me through email [diarisdiakite@gmail.com](). ## 📝 License This project is [MIT](https://mit-license.org/) licensed. NOTE: we recommend using the MIT license - you can set it up quickly by using templates available on GitHub. You can also use any other license if you wish. [back to top](#my-portfolio)
My portfolio is a Microverse project developed in javascript to help students showcase their most valuable achiements in terms of web dev. It uses a Figma template, Html and Css with Javascript. The main features are: creating mobile and desktop versions; add javascript CRUD functions, contact form with validaton, animation, accessibility ...
accessibility,css,figma,html,javascript,validation
2023-03-23T16:48:50Z
2023-07-19T03:18:26Z
null
6
18
140
2
1
2
null
null
CSS
shubhambhoyar077/math-magicians
develop
<a name="readme-top"></a> <div align="center"> <h1><b>Math Magicians</b></h1> </div> <!-- TABLE OF CONTENTS --> # 📗 Table of Contents - [📖 About the Project](#about-project) - [🛠 Built With](#built-with) - [Tech Stack](#tech-stack) - [Key Features](#key-features) - [🚀 Live Demo](#live-demo) - [💻 Getting Started](#getting-started) - [Setup](#setup) - [Prerequisites](#prerequisites) - [Install](#install) - [Usage](#usage) - [Run tests](#run-tests) - [Deployment](#triangular_flag_on_post-deployment) - [👥 Authors](#authors) - [🔭 Future Features](#future-features) - [🤝 Contributing](#contributing) - [⭐️ Show your support](#support) - [🙏 Acknowledgements](#acknowledgements) - [❓ FAQ (OPTIONAL)](#faq) - [📝 License](#license) <!-- PROJECT DESCRIPTION --> # 📖 [Math Magicians] <a name="about-project"></a> **[Math Magicians]** is created using React. ## 🛠 Built With <a name="built-with"></a> ### Tech Stack <a name="tech-stack"></a> <details> <summary>Client</summary> <ul> <li>HTML</li> <li>CSS</li> <li>React</li> </ul> </details> <details> <summary>Server</summary> <ul> <li>N/A</li> </ul> </details> <details> <summary>Database</summary> <ul> <li>N/A</li> </ul> </details> <!-- Features --> ### Key Features <a name="key-features"></a> - **Calculator to perform maths operations.** - **API to fetch and store data.** <p align="right">(<a href="#readme-top">back to top</a>)</p> <!-- LIVE DEMO --> ## 🚀 Live Demo <a name="live-demo"></a> - [Live Demo](https://math-magician-3zcg.onrender.com/) <p align="right">(<a href="#readme-top">back to top</a>)</p> <!-- GETTING STARTED --> ## 💻 Getting Started <a name="getting-started"></a> To get a local copy up and running, follow these steps. ### Prerequisites In order to run this project you need: any web-browser. ### Setup Clone this [repository](https://github.com/shubhambhoyar077/math-magicians) to your desired folder. ### Install This project does not require installation. ### Usage **To run the project follow the following instruction:-** - Clone this [repository](https://github.com/shubhambhoyar077/math-magicians) in your local machine with correct branch. - First run **npm install** - Terminal:- **npm start** it will run on port 8080. ### Run tests To run tests, open index.html in any web browser. ### Deployment You can deploy this project using: Project is incomplete. <p align="right">(<a href="#readme-top">back to top</a>)</p> <!-- AUTHORS --> ## 👥 Authors <a name="authors"></a> 👤 **Shubham Bhoyar** - GitHub: [@shubhambhoyar077](https://github.com/shubhambhoyar077) <p align="right">(<a href="#readme-top">back to top</a>)</p> <!-- FUTURE FEATURES --> ## 🔭 Future Features <a name="future-features"></a> - [ ] **[Support any device resolution]** - [ ] **[API compatibility]** <p align="right">(<a href="#readme-top">back to top</a>)</p> <!-- CONTRIBUTING --> ## 🤝 Contributing <a name="contributing"></a> Contributions, issues, and feature requests are welcome! Feel free to check the [issues page](../../issues/). <p align="right">(<a href="#readme-top">back to top</a>)</p> <!-- SUPPORT --> ## ⭐️ Show your support <a name="support"></a> If you like this project give a ⭐️. <p align="right">(<a href="#readme-top">back to top</a>)</p> <!-- ACKNOWLEDGEMENTS --> ## 🙏 Acknowledgments <a name="acknowledgements"></a> I would like to thank Microverse. <p align="right">(<a href="#readme-top">back to top</a>)</p> <!-- FAQ (optional) --> ## ❓ FAQ (OPTIONAL) <a name="faq"></a> - **[Can I use this project for my website?]** - [It's MIT license, feel free to use as you like.] <p align="right">(<a href="#readme-top">back to top</a>)</p> <!-- LICENSE --> ## 📝 License <a name="license"></a> This project is [MIT](./LICENSE) licensed. <p align="right">(<a href="#readme-top">back to top</a>)</p>
Math Magician is an online calculator app that makes solving math problems easy and fast. It also includes random motivational quotes to keep you inspired.
javascript,reactjs
2023-03-20T09:23:59Z
2023-03-30T10:19:54Z
null
2
7
47
0
0
2
null
MIT
JavaScript
guyfarley/solar-system-frontend
dev
# Team Intergalactic Presents: Intergalactic Planetary <p>A full-stack application which teaches students about our solar system. The Homepage lets the user flip through all the planets within the solar system (which includes Pluto), gives the user other resources to extend their knowledge (we recommend checking out the solar system rap!), and a few fun facts about our solar system. </p> <p>The planet cards on the home page have a 'Learn more' section where the user is directed to the individual page for that planet. The planet cards also have a locate button and when selected the planet is located on the solar system within the banner on the homepage.</p> <p>Each planet has it's own planet page. The planet page includes basic information about the planet, 3 identifying facts on the specific planet, and the moons for the specific planet. Up to 10 moons for each planet are shown with the name of the moon, the size, and the name history for that moon.</p> <p>The application if fully responsive in mobile, tablet, and desktop.</p> <p>The project is a week long hackathon with a team consisting of three developers who came together through the Hackathon discord channel, wireframed an idea, planned tickets/tasks through a Trello board, and communicated daily via Discord. </p> ## Created by Team Intergalactic 🚀 - <a href="https://github.com/guyfarley" target="_blank">Guy Farley</a> - <a href="https://github.com/revyrob" target="_blank">Kayle Robson</a> - <a href="https://github.com/madxb98" target="_blank">Madison Brown </a> ## Hackathon Parameters This application was developed for a Dear Junior Dev Hackathon, between March 24 and April 2, 2023. Requirements: **Frontend:** - Each planet of the solar system must have its own profile page. - Each page must include at a minimum (Name of the planet, size, distance from the Sun, three identifying facts, solid or gas core, and a visual representation of the planet) - ***NOTE:*** *No images, assets, emojis, or SVGs are permitted. The visual representation of each planet must be made ENTIRELY out of CSS.* - If the planet has a moon, you must display the following information for every moon (Name, history behind name, and size). - Planet pages must include at least two different component styles. - If a planet has more than one moon, the moon information must be displayed in repeating elements. - All planet and moon content MUST be stored in a database. **Backend:** - You must use foreign keys. - Planets and Moons must be stored separate from one another. - You must incorporate one ENUM for the planet data. - ENUM used for the planet data is the type of planet: dwarf planet, ice, terrestrial, gas **Homepage:** - The homepage should be an overview of the solar system. - The data included will be up to each team. - The homepage must include at least two components that are NOT used on any planet page. - Homepage content does not need to be stored in a database and can be coded into your components. ## Planning and Preparation Documentation ### 🖊️ Wireframe <a href="https://www.figma.com/file/SKLo9xQkuOUE3LnJN2Jczx/SolarSystemHackathon?node-id=0%3A1&t=TJt5GIPi0GyAOFmV-1" target="_blank">WireFrame</a> ### 📝 Trello board for tickets/tasks <a href="https://trello.com/b/HAw11w0p/quackathon" target="_blank">Ticket board</a> ## 📸 Visual Presentation ![galaticgif](https://user-images.githubusercontent.com/66695865/229334794-a15d6902-6e5a-4317-98a5-fbb3de0197aa.gif) ## Deployed Site <p>We deployed using Netlify and Heroku</p> <p>Check it out 👉 <a href="https://intergalactic-planetary.netlify.app/" target="_blank">HERE</a></p> ## ⚒️ Tools Used - React - Express - Axios - Sass - MUI - MySQL - AWS ## 👩‍💻 Local Installation : Frontend To install and run locally, you may follow these steps: 1. To start using this app you first need to clone the repository: `git clone git@github.com:guyfarley/solar-system-frontend.git` 2. Then you will need to install all the required packages for the application. Run this command (if you're using npm): `npm i` 3. Run the frontend by the following command `npm start` 4. Create a .env file in the root folder and add the following to the file: REACT_APP_SERVER = <http://localhost:8080/> 5. Clone and run the backend by going to the following repo: <https://github.com/guyfarley/solar-system-backend> 6. Following the `README` file within the backend repo to clone and run the backend. ## 🔨 Things to Work On - Getting the Solar System Banner in mobile to move around on touch so the user can see all the planets ## Backend Deployment - As of May 4, 2023 the server and database deployments have been taken offline to save cost. Our frontend code has been refactored to pull data from an internal data file (src/planet-data.js) instead. - As proof that the application was designed to work with our external server and database, we took the following screenshots for documentation before re-deploying the current frontend: ### MySQL Database hosted on Amazon RDS ![Amazon RDS Instance](./src/assets/images/aws_1.png) ![Amazon RDS Instance 2](./src/assets/images/aws_2.png) ### Server Deployed on Heroku ![Heroku Deployed Server](./src/assets/images/heroku_3.png) ### JSON Data Received from "/" Route ![JSON Data Received from Slash Route](./src/assets/images/heroku_1.png) ### JSON Data Received from "/planet/[planet_id]" Route ![JSON Data Received from Planet Route](./src/assets/images/heroku_2.png)
Learn all about our Solar System
amazon-rds,express,mysql,react,sass,javascript
2023-03-25T16:33:05Z
2023-05-04T20:00:47Z
null
3
37
165
0
0
2
null
null
JavaScript
10-menachi/portfolio
master
<a name="readme-top"></a> <div align="center"> <img src="assets/th.webp" alt="logo" width="140" height="auto" /> <br/> <h3><b>Christian Wamalwa's Portfolio Website</b></h3> </div> <!-- TABLE OF CONTENTS --> # 📗 Table of Contents - [📖 About the Project](#about-project) - [🛠 Built With](#built-with) - [Tech Stack](#tech-stack) - [Key Features](#key-features) - [🚀 Live Demo](#live-demo) - [💻 Getting Started](#getting-started) - [Setup](#setup) - [Prerequisites](#prerequisites) - [Install](#install) - [Usage](#usage) - [Run tests](#run-tests) - [Deployment](#triangular_flag_on_post-deployment) - [👥 Authors](#authors) - [🔭 Future Features](#future-features) - [🤝 Contributing](#contributing) - [⭐️ Show your support](#support) - [🙏 Acknowledgements](#acknowledgements) - [❓ FAQ (OPTIONAL)](#faq) - [📝 License](#license) <!-- PROJECT DESCRIPTION --> # 📖 Christian's Personal Portfolio <a name="about-project"></a> **My personal portfolio** is a that contains projects to showcase my skills in various web development technologies which are HTML, CSS, JavaScript (React JS) and Ruby on Rails ## 🛠 Built With <a name="built-with"></a> ### Tech Stack <a name="tech-stack"></a> <details> <summary>Client</summary> <ul> <li><a href="https://developer.mozilla.org/en-US/docs/Web/HTML">HTML</a></li> <li><a href="https://developer.mozilla.org/en-US/docs/Web/CSS">CSS</a></li> <li><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript">JavaScript</a></li> </ul> </details> <details> <summary>Server</summary> No server side technologies have been used in this project </details> <details> <summary>Database</summary> No databases have been used in this project </details> <!-- Features --> ### Key Features <a name="key-features"></a> A user can: - [x] View my projects - [x] View my skills - [x] View my contact details - [x] View my resume - [x] View my social media links - [x] Contact me for work through given links <p align="right">(<a href="#readme-top">back to top</a>)</p> ## 🚀 Live Demo <a name="live-demo"></a> [Live Demo Link](https://10-menachi.github.io/portfolio/) <p align="right">(<a href="#readme-top">back to top</a>)</p> <!-- GETTING STARTED --> ## 💻 Getting Started <a name="getting-started"></a> To get a local copy up and running, follow these steps: <ul> <li>Open the HTML file in a browser of your choice</li> </ul> The link below provides details on browser support <br /> <a href="https://www.w3schools.com/tags/ref_html_browsersupport.asp">Browser Support</a> ### Prerequisites In order to run this project you need: A working browser LightHouse WebHint StyleLint The link below provides details on browser support <a href="https://www.w3schools.com/tags/ref_html_browsersupport.asp">Browser Support</a> ### Setup Clone this repository to your desired folder: ```sh cd my-folder git clone https://github.com/10-menachi/portfolio.git ``` ### Usage To run the project, Open the HTML file in a browser of your choice ### Run tests There are no tests for this project ### Deployment You can deploy this project using: - [GitHub Pages](https://pages.github.com/) - [Netlify](https://www.netlify.com/) <p align="right">(<a href="#readme-top">back to top</a>)</p> <!-- AUTHORS --> ## 👥 Authors <a name="authors"></a> 👤 **Christian Wamalwa** - [@10-menachi](https://github.com/10-menachi) - [@christian_timbe](https://twitter.com/christian_timbe) - [chris-droid](https://linkedin.com/in/chris-droid) 👤 **Junaid Ahmed** - [@iamsjunaid](https://github.com/iamsjunaid) - [@JunaidAhmedSd](https://twitter.com/junaidahmedsd) - [junaid-syed-058b2779](https://www.linkedin.com/in/junaid-syed-058b2779/) 👤 **Mohamed Almeari** - [@mohametalmeari](https://github.com/mohametalmeari) - [@MohametAlmeari](https://twitter.com/MohametAlmeari) - [mohamet-almeari](https://www.linkedin.com/in/mohamet-almeari/) 👤 **Esmatullah Qadeemi** - [@Esmatullah12](https://github.com/Esmatullah12) - [@Esmatullah173](https://twitter.com/Esmatullah173) - [esmatullah-qadeemi-b9951821b](https://www.linkedin.com/in/esmatullah-qadeemi-b9951821b/) 👤 **Maurice Coker** - [@coker2019](https://github.com/coker2019) - [@Olabisi](https://twitter.com/olabisi) <p align="right">(<a href="#readme-top">back to top</a>)</p> <!-- FUTURE FEATURES --> ## 🔭 Future Features <a name="future-features"></a> - [ ] **Project Showcase** I will add a showcase of my projects - [ ] **About Page** A page that describes me - [ ] **Contact Form** A form that allows users to contact me <p align="right">(<a href="#readme-top">back to top</a>)</p> <!-- CONTRIBUTING --> ## 🤝 Contributing <a name="contributing"></a> Contributions, issues, and feature requests are welcome! Feel free to check the [issues page](../../issues/). <p align="right">(<a href="#readme-top">back to top</a>)</p> <!-- SUPPORT --> ## ⭐️ Show your support <a name="support"></a> If you like this project and want to support it, please give it a ⭐️! <p align="right">(<a href="#readme-top">back to top</a>)</p> <!-- ACKNOWLEDGEMENTS --> ## 🙏 Acknowledgments <a name="acknowledgements"></a> I would like to thank Microverse for this wonderful opportunity to learn and grow as a developer. <p align="right">(<a href="#readme-top">back to top</a>)</p> <!-- LICENSE --> ## 📝 License <a name="license"></a> This project is [MIT](./LICENSE) licensed. <p align="right">(<a href="#readme-top">back to top</a>)</p>
My Web Developer Portfolio is a showcase of my skills, projects, and achievements. Here, you'll find a collection of my best work, in web development. Built with JavaScript
css3,html,javascript
2023-03-22T09:32:53Z
2023-07-14T15:32:13Z
null
5
15
99
0
1
2
null
MIT
CSS
ankit2341/E-Camp-app
main
# E-Camp-app ## Table of Content - About the project - User features - Admin features - Screenshots - Demo - Tech-stack - Status ## About the project This is a website where you can do e-booking of camps, events and also book the particular camp. ## User features - Login and signup - Googlelogin - Explore camps - Book camps - Admin Panel - Chatbot - Filters ## Admin features - Add new users, camps or events - Update users, camps or events - Delete users, camps or events ## Screenshots [![ecamp1.jpg](https://i.postimg.cc/MHhgXJnp/ecamp1.jpg)](https://postimg.cc/30Ftb6js) [![ecamp2.jpg](https://i.postimg.cc/rF2k85xC/ecamp2.jpg)](https://postimg.cc/z37M7bdV) [![ecamp3.jpg](https://i.postimg.cc/Y01T4yYN/ecamp3.jpg)](https://postimg.cc/64pMgcHT) [![ecamp4.jpg](https://i.postimg.cc/nVvWGg9B/ecamp4.jpg)](https://postimg.cc/3Wx9KLBx) [![ecamp5.jpg](https://i.postimg.cc/vmf7dFsv/ecamp5.jpg)](https://postimg.cc/Z9YvrQ09) [![ecamp6.jpg](https://i.postimg.cc/xT8K1bQ8/ecamp6.jpg)](https://postimg.cc/N5hyNF5v) To be updated ## Demo deployed link for demo:- https://ecamp.vercel.app/ ## Tech-stack ## Frontend - React.Js - Redux - Redux-persist - React Bootstrap - React-Oauth/google ## Backend - Node.Js - Express - MongoDB - Mongoose - Jsonwebtoken - Bcrypt ## Status This project is completed. ## Final Words Thank you for staying with me up to this point. Suggestions and feedbacks are always welcomed.😃
E Camping app is a responsive website where you can book camps and events online .
expressjs,javascript,mongodb,nodejs,reactjs,redux,googleauth,mongodb-atlas,mongoose,bcrypt
2023-03-19T07:13:18Z
2023-06-20T12:34:22Z
null
1
0
26
0
1
2
null
null
JavaScript
Hisoka37/JavaScript_Capstone_ThemealdbApi
dev
<a name="_Awesome_Books_Js"></a> <div align="center"> <br/> <h3><b>Chinese Meal Generator </b></h3> </div> # 📗 Table of Contents - [📖 About the Project](#about-project) - [🛠 Built With](#built-with) - [Tech Stack](#tech-stack) - [Key Features](#key-features) - [🚀 Live Demo](#live-demo) - [💻 Getting Started](#getting-started) - [Setup](#setup) - [Prerequisites](#prerequisites) - [Install](#install) - [Usage](#usage) - [Run tests](#run-tests) - [Deployment](#triangular_flag_on_post-deployment) - [👥 Authors](#authors) - [🔭 Future Features](#future-features) - [🤝 Contributing](#contributing) - [⭐️ Show your support](#support) - [🙏 Acknowledgements](#acknowledgements) - [📝 License](#license) # 📖 Chinese Meal Generator <a name="about-project"></a> **Chinese Meal Generator** is API meals generator that displays various chinese meals with an image, ingredients, and preparation steps. ## 🛠 Built With <a name="built-with"></a> ### Tech Stack <a name="tech-stack"></a> HTML5 and css3 which are the latest versions and JavaScript were used in this project. <details> <summary>Client</summary> <ul> <li><a href="">JavaScript(ES6)</a></li> <li><a href="">Css</a></li> <li><a href="">HTML</a></li> </ul> </details> <details> <summary>API</summary> <ul> <li><a href="https://www.themealdb.com/api.php">TheMealDB</a></li> </ul> </details> ### Key Features <a name="key-features"></a> - Chinese Food Generator built with HTML CSS and javascript - Dynamically loading with javascript. - Apply module bundler (Webpack). - User can add like to their favourite meals. - User can add comments to a specific meal. <p align="right">(<a href="#readme-top">back to top</a>)</p> <!-- LIVE DEMO --> ## 🚀 Live Demo <a name="live-demo"></a> - [Documentation video](https://youtu.be/ap3vPmCLWhY) - [Live Demo Link](https://hisoka37.github.io/JavaScript_Capstone_ThemealdbApi/) <p align="right">(<a href="#readme-top">back to top</a>)</p> ## 💻 Getting Started <a name="getting-started"></a> To get a local copy up and running, follow these steps. ### Install Install this project with: 1. Installed Git. 2. Create a local directory that you want to clone the repository. 3. Open the command prompt in the created directory. 4. On the terminal run this command git clone <https://github.com/Hisoka37/JavaScript_Capstone_ThemealdbApi.git> 5. Run ``` npm i --save-dev ``` to Install the dev dependencies ### Usage To run the project, execute the following command: ``` npm run build ``` ### Run tests To run tests, run the following command: ``` npm test ``` ### Deployment You can deploy this project using: ``` npm run deploy ``` <p align="right">(<a href="#readme-top">back to top</a>)</p> <!-- AUTHORS --> ## 👥 Authors <a name="authors"></a> 👤 **Walid Kabboussa** - GitHub: [@Hisoka37](https://github.com/Hisoka37) - Twitter: [@KBwalid9](https://twitter.com/KBwalid9) - LinkedIn: [LinkedIn](https://www.linkedin.com/in/walidkb/) 👤 **Mostafa Shahat** - GitHub: [@MostafaShahat2021](https://github.com/MostafaShahat2021) - LinkedIn: [LinkedIn](https://www.linkedin.com/in/mostafa-shahat-a75810208/) <p align="right">(<a href="#readme-top">back to top</a>)</p> <!-- FUTURE FEATURES --> ## 🔭 Future Features <a name="future-features"></a> - [ ] **Add More meals via another API.** - [ ] **Implement some awesome animations and transitions or use React later** - [ ] **Integrate back-end.** - [ ] **Add a reservation spot.** <p align="right">(<a href="#readme-top">back to top</a>)</p> ## 🤝 Contributing <a name="contributing"></a> Contributions, issues, and feature requests are welcome! Feel free to open a Github issues. Feel free to check the [issues page](../../issues/). <p align="right">(<a href="#readme-top">back to top</a>)</p> ## ⭐️ Show your support <a name="support"></a> If you like this project kindly send to me an e-mail expressing it, it would make my day and fuel my motivation. <p align="right">(<a href="#readme-top">back to top</a>)</p> ## 🙏 Acknowledgments <a name="acknowledgements"></a> I would like to thank Microverse team for this journey. <p align="right">(<a href="#readme-top">back to top</a>)</p> ## 📝 License <a name="license"></a> This project is [MIT](./LICENSE) licensed. <p align="right">(<a href="#readme-top">back to top</a>)</p>
Chinese Meal Generator is API meals generator that displays various chinese meals with an image, ingredients, and preparation steps.
api,css,javascript
2023-03-13T13:04:11Z
2023-08-28T11:50:47Z
null
2
8
41
16
1
2
null
MIT
JavaScript
Ricky10B/aplicacion-chat
master
# Aplicación de chat 💬 ![HTML5](https://img.shields.io/badge/html5-%23E34F26.svg?style=for-the-badge&logo=html5&logoColor=white) ![CSS3](https://img.shields.io/badge/css3-%231572B6.svg?style=for-the-badge&logo=css3&logoColor=white) ![JavaScript](https://img.shields.io/badge/javascript-%23323330.svg?style=for-the-badge&logo=javascript&logoColor=%23F7DF1E) ![Socket.io](https://img.shields.io/badge/Socket.io-black?style=for-the-badge&logo=socket.io&badgeColor=010101) ![NodeJS](https://img.shields.io/badge/node.js-6DA55F?style=for-the-badge&logo=node.js&logoColor=white) ![Express.js](https://img.shields.io/badge/express.js-%23404d59.svg?style=for-the-badge&logo=express&logoColor=%2361DAFB) ![NPM](https://img.shields.io/badge/NPM-%23CB3837.svg?style=for-the-badge&logo=npm&logoColor=white) ![Git](https://img.shields.io/badge/git-%23F05033.svg?style=for-the-badge&logo=git&logoColor=white) ## Acerca de la aplicación Es una aplicación sencilla de mensajería instantánea que no guarda la información de manera permanente, esta aplicación la desarrolle para poner a prueba mis conocimientos, por eso no quise guardar los datos de los usuarios en una base de datos, se la podría agregar en una actualización futura, es solo una app de prueba. La app tiene 5 usuarios agregados por defecto para probar el envío de mensajes, estos usuarios no realizan nada más en la aplicación. ### Caracteristicas - ⚡ Mensajes instantáneos - ⏳ Los datos son temporales - 📹 Se pueden hacer videollamadas - 🔔 Notificaciones de los mensajes entrantes en la app - ✍ Estado en linea y escribiendo - 🖼 Imagen de usuario - 📆 Fecha y hora de los mensajes <br /> Aplicación en version Escritorio mediano 💻 con tema Oscuro <img src='./public/assets/imgs/imagen1-proyecto-chat.jpg' alt="Imágen de la aplicación de chat en tamaño escritorio con notificacion" width='500' style="border-radius: 8px;" /> <br /> Aplicación en version móvil 📱 con tema claro <img src='./public/assets/imgs/imagen2-proyecto-chat.jpg' alt="Imágen de la aplicación de chat en tamaño móvil" width='300' height="400" style="border-radius: 8px;" /> <br /> Puedes regalarme una estrellita si te gusta el proyecto o si lo deseas
Una aplicación de mensajería con videollamadas
javascript,nodejs,express,socket-io
2023-03-20T02:59:11Z
2023-03-22T01:49:58Z
null
1
0
2
0
0
2
null
null
JavaScript
ziaKhan1995/js-gpa-calculator
main
# Javascript GPA calculator This will help you through how to create a simple GPA calculator in Javascript. Download code and run on your ssytem. ## Run the system ### 1. Clone the repo/code ### 2. Open in tomcat (If you have no editors then provide full path for each image file and CSS and HTML file) #### *localhost:8080/js-jpa-calculator/index.html in brower.(with tomcat) #### *Run the index.html file in brower.(without tomcat) ## Kindly visit the Codepen link to Demo the project. Note* Use defer attribute in script tag if async does work or load the roots file properly. i.e ```diff <script src="javascript/nav.js" async></script> ```` replace async with defer. Screenshots are provided in images folder. Download the code and run. (tomcat recommended otherwise you have to handle path issues). ## 1. It will display errors(if grade value for a course is missing) like this when you hit **Calculate GPA button**. ![js-gpa-calculator-errors-when-course-is-empty](https://user-images.githubusercontent.com/77499979/227745279-22de8459-8b5e-4253-82a0-d9a8a9d0fa6f.png) ## 2. Display calculated GPA in case all the grades for each course is provided. ![js-gpa-calculator-display-gpa-based-grades-provided](https://user-images.githubusercontent.com/77499979/227745333-bf8199c3-f89a-42e2-92b0-58b9b736b9cd.png)
This code basically is how to calculate GPA based on the course values and Grades. It has a table that includes a menu of grades for each course. On clicking the Calculate Your GPA button it checks for any empty grade of a course. After validating, it calculates the GPA. Routing, navigation, applying an active class to visited link is also handled
javascript,javascriptcalculator,gpa,html-css-javascript,js-gpa-calculator,js-nav-menu,calculator,front,js-calculator,ziakhan1995
2023-03-25T17:51:19Z
2023-04-01T09:15:45Z
null
1
0
8
0
0
2
null
null
JavaScript
Santosh-Konappanavar/javascript_Capstone
development
<a name="readme-top"></a> <!-- TABLE OF CONTENTS --> # 📗 Table of Contents - [📖 About the Project](#about-project) - [🛠 Tech Stack](#tech-stack) - [Key Features](#key-features) - [🚀 Live Demo](#live-demo) - [💻 Getting Started](#getting-started) - [Prerequisites](#prerequisites) - [Setup](#setup) - [Install](#install) - [Usage](#usage) - [Deployment](#triangular_flag_on_post-deployment) - [👥 Author](#authors) - [🔭 Future Features](#future-features) - [🤝 Contributing](#contributing) - [⭐️ Show your support](#support) - [🙏 Acknowledgements](#acknowledgements) - [❓ FAQ](#faq) - [📝 License](#license) <!-- PROJECT DESCRIPTION --> # 📖 Art Work <a name="about-project"></a> > JavaScript project - API-based webapp, > using webpack and ES6 features, notably modules. ### 🛠 Tech Stack <a name="tech-stack"></a> - HTML - CSS - JavaScript ES6 - NodeJS - Webpack <!-- Features --> ### Key Features <a name="key-features"></a> - Use callbacks and promises - Use ES6 modules to write modular JavaScript. - Use webpack to bundle JavaScript. <p align="right">(<a href="#readme-top">back to top</a>)</p> <!-- LIVE DEMO --> ## 🚀 Live Demo <a name="live-demo"></a> [Live Demo Link](https://santosh-konappanavar.github.io/javascript_Capstone/) <p align="right">(<a href="#readme-top">back to top</a>)</p> <!-- GETTING STARTED --> ## 💻 Getting Started <a name="getting-started"></a> To get a local copy up and running, follow these steps. ### Prerequisites In order to run this project you need: - GIT - if you don't have git installed on your machine you can download it from [here](https://git-scm.com/downloads). - Linter - You can get install guide from <a href="https://github.com/microverseinc/linters-config/tree/master/html-css"> here</a> - Node.js & Npm - if you don't have npm installed on your machine you can download it from [here](https://nodejs.org/en/) ### Setup Once you have git installed on your machine you can clone project by running the command below. To clone your project to your local machine ```sh git clone git@github.com:dev-mamun/javascript-capstone.git ``` Alternatively, you can download the zip file of your project by clicking on the `Code` button on the right side of your project page and clicking on `Download ZIP` ### Install Install this project with: ```sh cd javascript-capstone npm install ``` ### Usage To run the project, use the following : (Port 3000) ``` npm run dev browse http://localhost:3000/ ``` <p align="right">(<a href="#readme-top">back to top</a>)</p> ### Run tests To run tests, run the following command: To check for html errors run: ```sh npx hint . ``` To check for css errors run: ```sh npx stylelint "**/*.{css,scss}" ``` To check for js errors run: ```sh npx eslint . ``` <!-- AUTHORS --> ## 👥 Authors <a name="author"></a> 👤 **Salma Ibrahim** - GitHub: [@Saluumaa](https://github.com/saluumaa) - Twitter: [@SalmaHIbrahim20](https://twitter.com/SalmaHIbrahim20) - LinkedIn: [Salma ibrahim](https://www.linkedin.com/in/salma-ibrahim-78bb5a14a/) 👤 **Santosh Konappanavar** - GitHub: [@Santosh-Konappanavar](https://github.com/Santosh-Konappanavar) - Twitter: [@SantoshKonapp1](https://twitter.com/SantoshKonappa1) - LinkedIn: [@Santosh Konappanavar](https://www.linkedin.com/in/santosh-konappanavar/) <!-- FUTURE FEATURES --> ## 🔭 Future Features <a name="future-features"></a> - adding more components - login and logout pages should be added <!-- CONTRIBUTING --> ## 🤝 Contributing <a name="contributing"></a> Contributions, issues, and feature requests are welcome! Feel free to check the [issues page](../../issues/). <p align="right">(<a href="#readme-top">back to top</a>)</p> <!-- SUPPORT --> ## ⭐️ Show your support <a name="support"></a> > Give a ⭐️ if you like this project! > If you like this project feel comfortable to endorse the author. <p align="right">(<a href="#readme-top">back to top</a>)</p> <!-- ACKNOWLEDGEMENTS --> ## 🙏 Acknowledgments <a name="acknowledgements"></a> I would like to thank... - Teammates - YouTube tutorials - Microverse guides - Google Search <p align="right">(<a href="#readme-top">back to top</a>)</p> <!-- FAQ (optional) --> ## ❓ FAQ <a name="faq"></a> -Why use linters? - The use of linters helps to diagnose and fix technical issues, also linters can help teams achieve a more readable and consistent style, through the enforcement of its rules. -Why use modular programming? - Modular programming usually makes your code easier to read because it means separating it into functions that each only deal with one aspect of the overall functionality. -Why use OOP? - With this type of programming, a program comprises objects that can interact with the user, other objects, or other programs. This makes programs more efficient and easier to understand. <p align="right">(<a href="#readme-top">back to top</a>)</p> <!-- LICENSE --> ## 📝 License <a name="license"></a> This project is [MIT](https://github.com/Santosh-Konappanavar/javascript_Capstone/blob/development/LICENSE) licensed. <p align="right">(<a href="#readme-top">back to top</a>)</p>
JavaScript project - API-based webapp, using webpack and ES6 features, notably modules.
css,html,javascript
2023-03-20T13:06:13Z
2023-04-10T07:42:27Z
null
2
14
25
15
0
2
null
MIT
JavaScript
Atril33/Leaderboard
develop
<a name="readme-top"></a> <div align="center"> <img src="https://github.com/Atril33/Leaderboard/blob/develop/Live_preview.png" width="auto" /> </div> <!-- TABLE OF CONTENTS --> # 📗 Table of Contents - [📖 About the Project](#about-project) - [🛠 Built With](#built-with) - [🚀 Live Demo](#live-demo) - [💻 Getting Started](#getting-started) - [Setup](#setup) - [👥 Authors](#authors) - [🔭 Future Features](#future-features) - [🤝 Contributing](#contributing) - [🙏 Acknowledgements](#acknowledgements) - [📝 License](#license) # 📖 Leaderboard <a name="about-project"></a> > The Leaderboard is a web app developed using HTML, CSS & JS, utilizing an API for saving user game scores with names and comparing them with others' scores on the internet. It offers a platform for permanent score storage and comparison. ## 🛠 Built With <a name="built-with"></a> <details> <summary>Client</summary> <ul> <li><a href="https://www.w3schools.com/html/">HTML</a></li> <li><a href="https://www.w3schools.com/css/">CSS</a></li> <li><a href="https://www.w3schools.com/js/">JavaScript</a></li> </ul> </details> <!-- Features --> ### Key Features <a name="key-features"></a> - **Responsive Design** - **Add Score & Name Functionality** - **Use API** <p align="right">(<a href="#readme-top">back to top</a>)</p> <!-- LIVE DEMO --> ## 🚀 Live Demo <a name="live-demo"></a> - [Live Demo Link](https://atril33.github.io/Leaderboard/dist/) <p align="right">(<a href="#readme-top">back to top</a>)</p> <!-- GETTING STARTED --> ## 💻 Getting Started <a name="getting-started"></a> ### Prerequisites In order to run this project you need: - **A PC with any Browser (Chrome, Opera, & FireFox, etc)** ### Setup Clone this repository to your desired folder: ``` bash https://github.com/Atril33/Leaderboard.git ``` ### Install In order to check tests: ```sh npm i ``` ```sh npm start ``` ### Run tests To run tests, run the following command: <br> _Check Stylelint errors_ ```sh npx stylelint "**/*.{css,scss}" ``` _Check ESLint errors_ ```sh npx eslint . ``` _Check Webhint errors_ ```sh npx hint . ``` <p align="right">(<a href="#readme-top">back to top</a>)</p> <!-- AUTHORS --> ## 👥 Authors <a name="authors"></a> 👤 **Syed Atril** - GitHub: [@githubhandle](https://github.com/Atril33) - Twitter: [@twitterhandle](https://twitter.com/AtrilSyed) - LinkedIn: [LinkedIn](https://www.linkedin.com/in/syed-atril-831696248/) <p align="right">(<a href="#readme-top">back to top</a>)</p> <!-- CONTRIBUTING --> ## 🤝 Contributing <a name="contributing"></a> Contributions, issues, and feature requests are welcome! Feel free to check the [issues page](../../issues/). <p align="right">(<a href="#readme-top">back to top</a>)</p> <!-- ACKNOWLEDGEMENTS --> ## 🙏 Acknowledgments <a name="acknowledgements"></a> I would like to say thanks to everyone who contribute to this project... <p align="right">(<a href="#readme-top">back to top</a>)</p> <!-- LICENSE --> ## 📝 License <a name="license"></a> This project is [MIT](./LICENSE) licensed. <p align="right">(<a href="#readme-top">back to top</a>)</p>
The Leaderboard is a web app developed using HTML, CSS & JS, utilizing an API for saving user game scores with names and comparing them with others' scores on the internet. It offers a platform for permanent score storage and comparison.
css,html,api,gitflow,javascript,webpack
2023-03-14T09:56:13Z
2023-07-27T07:30:16Z
null
1
4
38
1
1
2
null
MIT
JavaScript
kaizipaul/full-stack-frontend
dev
<!-- TABLE OF CONTENTS --> # 📗 Table of Contents - [📖 About the Project](#about-project) - [🛠 Built With](#built-with) - [Tech Stack](#tech-stack) - [Key Features](#key-features) - [🚀 Live Demo](#live-demo) - [💻 Getting Started](#getting-started) - [Setup](#setup) - [Prerequisites](#prerequisites) - [Install](#install) - [Usage](#usage) - [Run tests](#run-tests) - [Deployment](#triangular_flag_on_post-deployment) - [👥 Authors](#authors) - [🔭 Future Features](#future-features) - [🤝 Contributing](#contributing) - [⭐️ Show your support](#support) - [🙏 Acknowledgements](#acknowledgements) - [❓ FAQ (OPTIONAL)](#faq) - [📝 License](#license) <!-- PROJECT DESCRIPTION --> # 📖 [Full-stack-frontend] <a name="about-project"></a> **[full-stack-frontend]** is a Final Capstone Project based on an app to book an appointment to try a car. This app is both mobile and desktop responsive. The app allow users to sign_up, login, book an appointment by reservation, can check appointment and cancel appointment, and logout as well. ### Kanban Board This is a [Link](https://github.com/users/kaizipaul/projects/) to our Kanban Board This is the initial state of our Kanban board![image (1)](https://user-images.githubusercontent.com/106558709/225645735-121fe7ba-3a9e-48c1-8f89-767757fa4a83.png) ## 🛠 Built With <a name="built-with"></a> ### Tech Stack <a name="tech-stack"></a> <details> <summary>Client</summary> <ul> <li><a href="https://reactjs.org/">React.js</a></li> <li><a href="https://reactjs.org/">Redux</a></li> </ul> </details> <details> <summary>Backend</summary> <ul> <li><a href="https://www.postgresql.org/">Ruby on Rails</a></li> <li><a href="https://github.com/kaizipaul/full-stack-frontend-api.git">Backend Repository</a></li> </ul> </details> <details> <summary>Database</summary> <ul> <li><a href="https://www.postgresql.org/">PostgreSQL</a></li> </ul> </details> <!-- Features --> ### Key Features <a name="key-features"></a> - **[Authentication_cycle(SignUp-Login-logout)]** - **[Reservation]** - **[APIs]** - **[Add_Cars]** - **[Show_Cars]** - **[Delete_Cars]** <p align="right">(<a href="#readme-top">back to top</a>)</p> <!-- LIVE DEMO --> ## 🚀 Live Demo <a name="live-demo"></a> - [Live Demo Link](https://deploy-preview-20--jocular-kheer-33ba60.netlify.app) <p align="right">(<a href="#readme-top">back to top</a>)</p> <!-- GETTING STARTED --> ## 💻 Getting Started <a name="getting-started"></a> To get a local copy up and running, follow these steps. ### Prerequisites In order to run this project you need: - Node js - React js - Npm packages ### Setup Clone this repository to your desired folder: ```sh cd my-folder git clone https://github.com/Jaymelfah/full-stack-frontend.git ``` ### Install Install this project with: ```sh cd full-stak-frontend-frontend npm install ``` ### Usage To run the project, execute the following command: ```sh npm start ``` ### Run tests To run tests, run the following command: ```sh npm run test ``` <p align="right">(<a href="#readme-top">back to top</a>)</p> <!-- AUTHORS --> ## 👥 Authors <a name="authors"></a> > Mention all of the collaborators of this project. 👤 **Nickson Nowembabazi** - GitHub: [@githubhandle](https://github.com/nowembabazi) - Twitter: [@twitterhandle](https://twitter.com/NowembabaziN) - Linkedin: [@linkedinhandle](https://www.linkedin.com/in/nowembabazi-nickson) 👤 **kaizi paul** - GitHub: [@githubhandle](https://github.com/kaizipaul) - Twitter: [@twitterhandle](https://twitter.com/kaizipaul) - Linkedin: [@linkedinhandle](https://www.linkedin.com/in/kaizipaul) 👤 **Olaoye Oluwatoyin Abayomi** - GitHub: [@githubhandle](https://github.com/Olaoye-Oluwatoyin) - Twitter: [@twitterhandle](https://twitter.com/Olaoye-Oluwatoyin) - Linkedin: [@linkedinhandle](https://www.linkedin.com/in/Olaoye-Oluwatoyin) 👤 **Ngufor Emmanuella** - GitHub: [@githubhandle](https://github.com/Ngufor-Emmanuella) - Twitter: [@twitterhandle](https://twitter.com/Ngufor-Emmanuella) - Linkedin: [@linkedinhandle](https://www.linkedin.com/in/Ngufor-Emmanuella) <p align="right">(<a href="#readme-top">back to top</a>)</p> <!-- FUTURE FEATURES --> ## 🔭 Future Features <a name="future-features"></a> - [ ] **[Dockerization]** - [ ] **[MobileApp]** <p align="right">(<a href="#readme-top">back to top</a>)</p> <!-- CONTRIBUTING --> ## 🤝 Contributing <a name="contributing"></a> Contributions, issues, and feature requests are welcome! Feel free to check the [issues page](../../issues/). <p align="right">(<a href="#readme-top">back to top</a>)</p> <!-- SUPPORT --> ## ⭐️ Show your support <a name="support"></a> If you like this project, just hit a star button <p align="right">(<a href="#readme-top">back to top</a>)</p> <!-- ACKNOWLEDGEMENTS --> ## 🙏 Acknowledgments <a name="acknowledgements"></a> - Hat tip to anyone whose code was used - Thanks to Microverse for providing this platform. - Original design idea by Murat Korkmaz in Behance. Thank you <p align="right">(<a href="#readme-top">back to top</a>)</p> <!-- LICENSE --> ## 📝 License <a name="license"></a> This project is [MIT](./LICENSE) licensed. <p align="right">(<a href="#readme-top">back to top</a>)</p>
Rent-a-car is a Final Capstone Project based on an app to book an appointment to try a car. This app is both mobile and desktop responsive. The app allow users to sign_up, login, book an appointment by reservation, can check appointment and cancel appointment, and logout as well. Built with React and car booking API
authentication,javascript,jest,react,reactjs,redux
2023-03-17T11:46:45Z
2023-04-01T11:43:33Z
null
4
9
62
3
1
2
null
MIT
JavaScript
Ernulphus/Chomsky-Abnormal-Form
main
# hunter-codefest-2022-chomsky-abnormal-form ## Boaz Kaufman - Ernulphus ## Sam Ebersole - AVespaIsNotAMotorCycle ### Idea: create an app similar to [Evan Wallace's FSM designer](https://madebyevan.com/fsm/) that the user can actually run. ### Machine Class Represents an NFA. Has the following methods: - [X] constructor({ states, alphabet, transitionFunction, acceptStates, intialState }) Creates a new Machine object. Optionally takes an object as its argument, which may contain the following key/val pairs: - states: an array of strings describing the names of the machine's states - alphabet: an array of characters (size 1 strings) describing accepted letters - transitionFunction: an object of the form `{ state1: { a: [state2, state3], b: [state1], }, state2: { a: [state1], b: [state3], }, state3: { b: [state3], }, }` - acceptStates: an array of strings - initialState: a string - [X] addState(name) Creates a new state with name `name` and with with no transitions to or from it. - [X] renameState(oldName, newName) Renames state `oldName` to `newName` and returns the index of the state in `states`. - [X] hasState(name) Returns true or false, depending on whether state `name` exists. - [X] deleteState(state): remove a state, returns the new list of states - [ ] setStates: replace `states` with given array - [X] addLetter(letter): adds `letter` to alphabet, returns alphabet - [X] deleteLetter(letter): removes `letter` from alphabet, returns alphabet - [X] setAlphabet(alphabet): sets alphabet to `alphabet`, returns alphabet - [X] getTransitions(fromState, letter) Both `fromState` and `letter` are optional. If neither value is given, the entire transitionFunction is returned. If only `fromState` is specified, all transitions from `fromState` are returned. If both are specified, only the array of states to which `fromState` transitions on `letter` are returned. For example, given the transition function ` q0: { a: ['q1'], b: ['q2', 'q3'], }, `, - `getTransitions()` returns the entire transition function - `getTranstions('q0')` returns `{ a: ['q1'], b: ['q2', 'q3'] }` - `getTransitions('q0', 'b')` returns `['q2', 'q3']` - [X] addTransition(fromState, toState, letter) Adds a transition from `fromState` to `toState` for `letter`. Returns all transitions from `fromState`. - [ ] deleteTransition - [ ] setTransitions: replace transitionFunction with a given object - [X] addAcceptState(state): append `state` to acceptStates and return acceptStates - [X] deleteAcceptState(state): remove `state` from acceptStates and return acceptStates - [ ] setAcceptStates - [ ] setInitialState - [X] acceptsWord(word, state) Takes required parameter `word`, a string, and optional parameter `state`, a string corresponding to the name of a state in `states`. `state` is `initialState` by default. Returns an array of states representing the path to the accept state if the word is accepted, and an empty array if not. ### MVP: User can design a nondeterministic finite state machine and submit strings in the language to run on it. Site is hosted. - [X] Site displays a diagram canvas and stores an object representing the machine - [X] Creating a state in the diagram updates representation of the machine - [X] Button to submit a string to be run on the machine ### Other goals - [ ] Convert to/from deterministic FAs (HMU 2.3.5) - [ ] Convert to/from regular expressions (HMU 3.2) - [ ] State minimization (HMU 4.4.3) ### Sources - [Hopcroft, Motwani, and Ullman. "Introduction to Automata Theory"](https://drive.google.com/file/d/1g4hUYRvxS7RJSSK9PnZhcbIAkUYvFMSA/view?usp=sharing) - [Canvas with React.js](https://medium.com/@pdx.lucasm/canvas-with-react-js-32e133c05258) - [React Diagrams](https://github.com/projectstorm/react-diagrams) - [MDN](https://developer.mozilla.org/en-US/docs/Web/API/Canvas_API/Tutorial/Drawing_shapes)
Design and run finite automata and regular expressions.
javascript,react-js,regex,state-machine,theory
2023-03-18T11:21:29Z
2023-04-07T19:23:15Z
null
2
1
91
0
0
2
null
null
JavaScript
Rafa-KozAnd/Ignite_React-Native_Activity_02
main
<h1 align="center"> <img src="Print/Print.jpg" width="400" height="150"> </h1> <p align="center"> <img src="http://img.shields.io/static/v1?label=STATUS&message=Concluded&color=blue&style=flat"/> <img alt="GitHub language count" src="https://img.shields.io/github/languages/count/Rafa-KozAnd/Ignite_React-Native_Activity_02"> <img alt="GitHub language count" src="https://img.shields.io/github/languages/top/Rafa-KozAnd/Ignite_React-Native_Activity_02"> <img alt="GitHub repo file count" src="https://img.shields.io/github/directory-file-count/Rafa-KozAnd/Ignite_React-Native_Activity_02"> <img alt="GitHub repo size" src="https://img.shields.io/github/repo-size/Rafa-KozAnd/Ignite_React-Native_Activity_02"> <img alt="GitHub language count" src="https://img.shields.io/github/license/Rafa-KozAnd/Ignite_React-Native_Activity_02"> </p> # Ignite_React-Native_Activity_02 React Native activity done with 'Rocketseat' Ignite course. ("Chapter II, III, IV, V and VI") ## 💻 Sobre o capítulo II - Expo e Styled Components, Formulários e Navegação, Async Storage, Contextos e Autenticação. Neste capítulo criaremos uma aplicação completa utilizando React Native, TypeScript e Styled Components (CSS-in-JS) para ir mais a fundo em estilização e criação de interfaces no React Native baseando-se em um layout do Figma. Você também irá aprender a utilizar API Nativas, Armazenamento Local com Async Storage, Navegação, Formulários e Login Social. E para dar um Booster na produtividade vamos utilizar o Expo Bare Workflow. ## 💻 Sobre o capítulo III - Consumindo API, Animações. Nesse capítulo, integraremos a aplicação React Native com uma API. Você irá compreender os métodos do protocolo HTTP, lidar com requisições e respostas realizadas a uma API. Para integrar e consumir API utilizaremos o Axios. Conhecer e aplicar na prática ferramentas e técnicas que estarão presentes nas suas aplicações no futuro aplicando boas práticas de UX e Animações. ## 💻 Sobre o capítulo IV - Offline First Nesse capítulo implementaremos a estratégia de Offline First para que algumas funcionalidades da nossa aplicação funcionem sem conexão com internet utilizando um banco de dados local mais robusto. ## 💻 Sobre o capítulo V - Testes no React Native, Performando Apps Nesse capítulo vamos entender como criar testes automatizados no React Native garantindo que nossos componentes e funcionalidades continuem funcionando independente de novas manutenções. E também, irá aprender como performar suas aplicações. ## 💻 Sobre o capítulo VI - Publicação de Apps, Fluxo de CI/CD Nesse capítulo vamos entender as técnicas de publicação de Apps e compreender como realizar o deploy de nossas aplicações com o fluxo de CI/CD. <h1 align="center"> <img src="Print/Print01.jpg" width="250" height="500"> <img src="Print/Print02.jpg" width="250" height="500"> <img src="Print/Print03.jpg" width="250" height="500"> </h1>
React Native activity done with 'Rocketseat' Ignite course. ("Chapter II, III, IV, V and VI")
ignite,ignite-react-native,ignite-rocketseat,java,javascript,react-native,rocketseat,ruby,typescript
2023-03-16T21:11:41Z
2023-04-13T15:42:04Z
null
1
0
5
0
0
2
null
null
TypeScript
rafaelmartins92/riot
main
<h1 align="center"> <img alt="Logo" src="assets/svgs/logos/logo-riot.svg" /> <br> </h1> <p align="center"> <a href="https://www.linkedin.com/in/rafael-martins92/"> <img alt="Made By" src="https://img.shields.io/static/v1?label=Made%20By&message=Rafael%20Martins&color=orange&style=for-the-badge"> </a> <img alt="Languages" src="https://img.shields.io/github/languages/count/rafaelmartins92/riot?style=for-the-badge"> <img alt="Top Language" src="https://img.shields.io/github/languages/top/rafaelmartins92/riot?style=for-the-badge"> <img alt="Repo Size" src="https://img.shields.io/github/repo-size/rafaelmartins92/riot?style=for-the-badge"> <img alt="Last Commit" src="https://img.shields.io/github/last-commit/rafaelmartins92/riot?style=for-the-badge"> </p> <h4 align="center"> <p>Redesign Riot Games</p> <p>This is a study project to improve my skills in HTML, SASS, JavaScript and GSAP.</p> </h4> <p align="center"> <a href="#rocket-technologies">Technologies</a>&nbsp;&nbsp;&nbsp;|&nbsp;&nbsp;&nbsp; <a href="#eyes-check-it-out">Check it out</a>&nbsp;&nbsp;&nbsp;|&nbsp;&nbsp;&nbsp; <a href="#information_source-how-to-use">How to use</a>&nbsp;&nbsp;&nbsp;|&nbsp;&nbsp;&nbsp; <a href="#memo-license">License</a> </p> <p align="center"> <img alt="Scene" src="portfolio-scene-riot@2x.png"> </p> ## :rocket: Technologies This project was developed with the following technologies: - [HTML](https://developer.mozilla.org/pt-BR/docs/Web/HTML) - [SASS](https://sass-lang.com/) - [JavaScrit](https://developer.mozilla.org/pt-BR/docs/Web/JavaScript) - [VS Code][vc] with [EditorConfig][vceditconfig] and [ESLint][vceslint] ## :eyes: Check it Out You can try it here: - [Rafael Martins | Redesign Riot Games][demo] ## :information_source: How to use To clone and run this application, you'll need [Git](https://git-scm.com) installed on your computer. From your command line: ```bash # Clone this repository $ git clone https://github.com/rafaelmartins92/riot.git # Go into the repository $ cd riot # Go to index.html # Right click on it # Run with Live Server ``` ## :memo: License This project is under the MIT license. See the [LICENSE](https://github.com/rafaelmartins92/riot/blob/master/LICENSE) for more information. --- <h4 align="center"> Made with ♥ by Rafael Martins 👋 <a href="https://www.linkedin.com/in/rafael-martins92/" target="_blank">Get in touch!</a> </h4> [vc]: https://code.visualstudio.com/ [vceditconfig]: https://marketplace.visualstudio.com/items?itemName=EditorConfig.EditorConfig [vceslint]: https://marketplace.visualstudio.com/items?itemName=dbaeumer.vscode-eslint [demo]: https://riot-one.vercel.app/
🎮 Studying HTML, SASS, JavaScript and GSAP
frontend,gsap,html,javascript,sass
2023-03-21T01:07:01Z
2023-08-04T02:13:00Z
null
1
0
40
0
0
2
null
MIT
HTML
The-Normal-One1/countries-info-metrics-webapp
dev
<a name="readme-top"></a> # 📗 Table of Contents - [📖 About the Project](#about-project) - [🛠 Built With](#built-with) - [Tech Stack](#tech-stack) - [Key Features](#key-features) - [🚀 Live Demo](#live-demo) - [💻 Getting Started](#getting-started) - [Setup](#setup) - [Prerequisites](#prerequisites) - [Install](#install) - [Usage](#usage) - [Run tests](#run-tests) - [Deployment](#triangular_flag_on_post-deployment) - [👥 Authors](#authors) - [🔭 Future Features](#future-features) - [🤝 Contributing](#contributing) - [⭐️ Show your support](#support) - [🙏 Acknowledgements](#acknowledgements) - [❓ FAQ](#faq) - [📝 License](#license) # 📖 Country Guide For All<a name="about-project"></a> > "Country-Guide" is an application will allow users search and get information on specific country/continent around the world. ## 🛠 Built With <a name="built-with"></a> - HTML - CSS - Javascript - React.js and Redux ### Tech Stack <a name="tech-stack"></a> <details> <summary>React</summary> <ul> <li><a href="https://reactjs.org/docs/create-a-new-react-app.html">React</a></li> </ul> </details> ### Key Features <a name="key-features"></a> - **This is a SPA.** <p align="right">(<a href="#readme-top">back to top</a>)</p> ## 🚀 Live Demo <a name="live-demo"></a> - [Live Demo Link](https://countries-info-4bvx.onrender.com) ## 🚀 Project Details - Solo Project - [Ermiyas Demsew](https://github.com/The-Normal-One1) ## 💻 Getting Started <a name="getting-started"></a> To get a local copy up and running follow these simple example steps. ## Clone Git Repository -Reach to following Github URL: ``` https://github.com/The-Normal-One1/countries-info-metrics-webapp ``` -Copy the URL. -In Visual Studio Code “Terminal” change the current working directory to the location where you want the cloned directory. -Type git clone in the terminal, paste the URL you copied earlier, and press “enter” to create your local clone. ``` $ git clone {repository URL} ``` # Install Dependencies(with following Command) - npm install # Build webpack <a name="setup"></a> - run command ``` npm run build ``` ## Start server ``` npm start ``` ### Prerequisites <a name="prerequisites"></a> In order to run this project you need: - [x] Basic Knowledge of **HTML**, **CSS**, & **JavaScript**. - [x] Basic knowledge of **ES6** syntax. - [x] Basic knowledge of **Git**, **GitHub** &**Gitflow**. - [x] Basic knowledge of **Linters**. - [x] Basic knowledge of **Webpack**. - [x] Basic knowledge of **VS Code** or any other code-editors. ### Setup Clone this repository to your desired folder: _cd PATH_ _git clone https://github.com/The-Normal-One1/countries-info-metrics-webapp.git _cd Javascript-Group-Capstone_ _npm install_ _npm run build_ _npm start_ ### Install Install this project with: ```sh npm install ``` ### Usage To run the project, execute the following command: ```sh npm start ``` ### Run tests To run tests, run the following command: ```sh npm test ``` ### Deployment <a name="triangular_flag_on_post-deployment"></a> You can deploy this project using: ```sh npm start ``` <p align="right">(<a href="#readme-top">back to top</a>)</p> <!-- AUTHORS --> ## 👥 Authors <a name="authors"></a> 👤 **Ermiyas Demsew** - GitHub: [@The-Normal-One1](https://github.com/The-Normal-One1) - Twitter: [@DemsewErmiyas](https://twitter.com/DemsewErmiyas) - LinkedIn: [@Ermiyas Demsew](https://www.linkedin.com/in/ermiyas-demsew-616b1b19a/) <p align="right">(<a href="#readme-top">back to top</a>)</p> ## 🔭 Future Features <a name="future-features"></a> - [ ] **Implement additional pages** <p align="right">(<a href="#readme-top">back to top</a>)</p> ## 🤝 Contributing <a name="contributing"></a> Contributions, issues, and feature requests are welcome! Feel free to check the [issues page](https://github.com/The-Normal-One1/countries-info-metrics-webapp/issues). <p align="right">(<a href="#readme-top">back to top</a>)</p> <!-- SUPPORT --> ## ⭐️ Show your support <a name="support"></a> Give a ⭐️ if you like this project! <p align="right">(<a href="#readme-top">back to top</a>)</p> ## 🙏 Acknowledgments <a name="acknowledgements"></a> - Thanks to [Microverse](https://www.microverse.org/) for giving this opportunity to learn ... - Code Reviewers & Coding Partners. - Also would like to Thank [Nelson Sakwa](https://www.behance.net/sakwadesignstudio) the [author of the original design](<https://www.behance.net/gallery/31579789/Ballhead-App-(Free-PSDs)>). for this design. <p align="right">(<a href="#readme-top">back to top</a>)</p> <!-- FAQ (optional) --> ## ❓ FAQ <a name="faq"></a> <p align="right">(<a href="#readme-top">back to top</a>)</p> <!-- LICENSE --> ## 📝 License <a name="license"></a> This project is [MIT](./MIT.md) licensed. <p align="right">(<a href="#readme-top">back to top</a>)</p>
Country-Guid" is an application that will allow the users to search and get information on specific country/continent around the world.
css,html5,javascript,reactjs,redux
2023-03-13T17:27:41Z
2023-03-16T12:21:38Z
null
1
7
45
0
0
2
null
null
JavaScript
Wilian-N-Silva/svg-sun-tracking
main
<h1 align="center">SVG Sun Tracker Generator</h1> <p align="center"> <img alt="License" src="https://img.shields.io/static/v1?label=license&message=MIT&color=49AA26&labelColor=000000"> </p> ## Deploy Veja o deploy [clicando aqui](https://svg-sun-tracking.vercel.app/) ## Descrição Este é um pequeno projeto que fiz para tentar entender melhor o SVG e como manipular ele da maneira mais fácil para o desafio de número 10 do [#boraCodar](https://boracodar.dev) Este projeto tem como base um projeto anterior que intitulei de [SVG Donut Generator](https://github.com/Wilian-N-Silva/svg-donut-generator) que por sua vez, foi feito baseado no post do [Sergio Pedercini](https://medium.com/@pppped) feito no medium onde ele ensina como calcular e montar todo o SVG. ## Agradecimentos Agradecimento ao [Paulo Henrique Lemos](https://github.com/paulohenriquelemos) que me ajudou a realizar o ajuste de compensação e descobrir o problema do background em relação ao Sol! ## Calculos realizados para criar a forma ```javascript const sqrBox = 36 // radius = boxSize / 2 const radius = sqrBox / 2 // diameter = radius *2 const diameter = radius * 2 // x = boxSize /2 const xPos = sqrBox / 2 // y = boxSize - diameter const yPos = (sqrBox - diameter) / 2 ``` ### Cálculos realizados para mover o sol (Obrigado [Paulo Henrique Lemos](https://github.com/paulohenriquelemos)!) ```javascript const adjacent = 2 * (50 - percentage) const radians = Math.acos(adjacent / 100) const degrees = radians * (180 / Math.PI) ``` ## Referência - [How to code a responsive circular percentage chart with SVG and CSS.](https://medium.com/@pppped/how-to-code-a-responsive-circular-percentage-chart-with-svg-and-css-3632f8cd7705)
svg-sun-tracking
javascript,react,reactjs,svg,typescript
2023-03-13T04:43:30Z
2023-03-15T05:14:12Z
null
1
0
6
0
0
2
null
MIT
TypeScript
quytechabhinav/chatgpt-npm
master
# **chatgpt-npm NPM Package** chatgpt-npm is NPM package provide a powerful tool that allows Node.js developers to generate natural language responses using the OpenAI ChatGPT API. # Table of Contents * [Features](#chatgpt-npm) * [Getting Started](#Installation) * [Usage](#usage) * [Example](#example) * [API Server-axios](#axios) * [API Server-OpenAI](#OpenAI) * [Prerequisites](#prerequisites) * [License](#license) * [About the Author](#About-the-Author) * [How to reach me?](#How-to-reach-me?) ## **Installation** To install this package, simply run the following command in your Node.js project directory:<br/> ```javascript npm i chatgpt-npm ``` # **Usage** To use the generateChatGPTResponse function in your JavaScript code, you need to import it like this: ### Example ```javascript const chatgpt = require('chatgpt-npm'); ``` Once you've imported the function, you can use it to generate responses like this: ### axios ```javascript let searchData = req.body.search; const searchResult = await chatgpt.generateChatGPTResponse(searchData); console.log(searchResult) ``` In this example, we are passing the searchData object from the request body to the generateChatGPTResponse function, which will use the OpenAI GPT-3 model to generate a response. The response is then logged to the console using console.log(searchResult). Note that generateChatGPTResponse is an asynchronous function, so you need to use the await keyword when calling it. Also, make sure that you have properly configured the OpenAI API credentials in order to use the function. The generateChatGPTResponse function takes a string prompt as input and returns a string response generated by the ChatGPT API. Note that you will need to set the <b>OPENAI_API_KEY</b> environment variable with your actual OpenAI API key before using this package. ### OpenAI ```javascript let searchData = req.body.search; const searchResult = await chatgpt.generateChatGPTOpenAIResponse(searchData); console.log(searchResult) ``` You can use the generateChatGPTOpenAIResponse function from the chatgpt module to generate a response and store the conversation history using the OpenAI ChatGPT API. ## Prerequisites - Node.js >= 12.0.0 - npm - [OpenAI API key](https://platform.openai.com/account/api-keys) # License This package is licensed under the MIT license. See the LICENSE file for more details. ## **How to reach me?** If you have any questions or comments about this package, feel free to reach out to me on: <ul> <li><a href="https://github.com/quytechabhinav/MVC_Node_API/discussions" alt="github"> <img src="https://img.shields.io/badge/github-%F0%9F%91%A8%F0%9F%92%BB-yellowgreen" /></a></li> <li><a href="https://www.linkedin.com/in/brainbenchabhinav/" alt="linkedin"> <img src="https://img.shields.io/badge/linked-%F0%9F%91%A8%F0%9F%92%BB-orange" /></a> </li> <li><a href="https://www.npmjs.com/package/chatgpt-npm" alt="npmjs.com"> <img src="https://img.shields.io/badge/npm-%F0%9F%91%A8%F0%9F%92%BB-yellowgreen" /><a> </li> </ul> ## **About the Author** This package is made with ❤️ by Abhinav Kashyap. Abhinav is a Node.js developer with extensive experience in developing chatbot applications using natural language processing (NLP) techniques.
chatgpt-npm is NPM package provide a powerful tool that allows Node.js developers to generate natural language responses using the OpenAI ChatGPT API.
javascript,nodejs,openai,openai-api
2023-03-23T04:55:21Z
2023-03-27T07:13:39Z
null
1
0
7
0
0
2
null
null
JavaScript
LoviMadaan/Leaderboard
development
<!-- TABLE OF CONTENTS --> # 📗 Table of Contents - [📖 About the Project](#about-project) - [🛠 Built With](#built-with) - [Tech Stack](#tech-stack) - [Key Features](#key-features) - [🚀 Live Demo](#live-demo) - [💻 Getting Started](#getting-started) - [Setup](#setup) - [Prerequisites](#prerequisites) - [Install](#install) - [Usage](#usage) - [Run tests](#run-tests) - [Deployment](#triangular_flag_on_post-deployment) - [👥 Authors](#authors) - [🔭 Future Features](#future-features) - [🤝 Contributing](#contributing) - [⭐️ Show your support](#support) - [🙏 Acknowledgements](#acknowledgements) - [❓ FAQ (OPTIONAL)](#faq) - [📝 License](#license) # 📖 LEADERBOARD <a name="about-project"></a> *# 📖 Leaderboard > This is Leaderboard website Users can add scores and names permanently in by using this Leaderboard webiste. I used HTML, CSS, JS and API in this project. <table> <td style="border: 1px solid black;"><img src="ss.png" alt="LEADERBOARD" /></td> </table> ## 🛠 Built With <a name="built-with"></a> - HTML - CSS - JS ### Tech Stack <a name="tech-stack"></a> > I Used Gitflow, modules, and advanced JS (ES6) in the Leaderboard Project. <details> <summary>HTML</summary> <ul> <li><a href="https://www.w3schools.com/html/">HTML</a></li> <li><a href="https://www.w3schools.com/css/">CSS</a></li> <li><a href="https://www.w3schools.com/css/">Javascript</a></li> </ul> </details> <!-- Features --> ### Key Features <a name="key-features"></a> - **[Html structure with Button, Inputs, etc]** - **[Styling css with colors, borders, paddings, margins & sizes, etc]** _ **[javascript functions, modules, ES6 syntax, variables, etc]** <p align="right">(<a href="#readme-top">back to top</a>)</p> ## 🔭 Future Features <a name="future-features"></a> > I will Add style in this project with functions. ## 🚀 Live Demo <a name="live-demo"></a> > - [Live Demo Link](https://lovimadaan.github.io/Leaderboard/dist/) <!-- GETTING STARTED --> ## 💻 Getting Started <a name="getting-started"></a> - Create a local directory that you want to clone the repository. - Open the command prompt in the created directory. - On the terminal run this command git clone https://github.com/LoviMadaan/Leaderboard.git - Go to the repository folder using command prompt cd. - Install the dev dependencies for linters run npm install. <p align="right">(<a href="#readme-top">back to top</a>)</p> ### Setup > Clone this repository to your desired folder: - git clone https://github.com/LoviMadaan/Leaderboard.git <!-- AUTHORS --> ## 👥 Authors <a name="Lovi MAdaan"></a> 👤 **Lovi Madaan** - GitHub: [LoviMadaan](https://github.com/LoviMadaan) - Twitter: [@lovinarang](https://twitter.com/lovinarang) - LinkedIn: [LoviMadaan]https://www.linkedin.com/in/lovi-madaan-b27439175 <p align="right">(<a href="#readme-top">back to top</a>)</p> <!-- CONTRIBUTING --> ## 🤝 Contributing Contributions, issues, and feature requests are welcome! Feel free to check the [issues page](../../issues/). <p align="right">(<a href="#readme-top">back to top</a>)</p> <!-- SUPPORT --> ## ⭐️ Show your support <a name="support"></a> If you like this project you can clone it and use it. <p align="right">(<a href="#readme-top">back to top</a>)</p> <!-- ACKNOWLEDGEMENTS --> ## 🙏 Acknowledgments <a name="acknowledgements"></a> I would like to thank my friends Yidne. <p align="right">(<a href="#readme-top">back to top</a>)</p> <!-- LICENSE --> ## 📝 License <a name="license"></a> This project is [MIT](./LICENSE) licensed. <p align="right">(<a href="#readme-top">back to top</a>)</p>
Leaderboard is my my first API project. In this project I have created a scoreboard of game using API.
css,html,javascript
2023-03-16T17:34:36Z
2023-03-25T19:32:14Z
null
1
3
16
1
0
2
null
MIT
CSS
anuragbhardwaj21/Skinstore
main
# Skinstore Live deployed link - [SkinStore.com](https://skinstoreclone44.netlify.app) Team Members - 1. Tushar Sutar - Login and signUp Page 2. Anurag Bhardwaj - Home Page 3. Prasad Mhaske - Product and Product detail Page 4. Manoj Kumar Sharma - cart Page 5. Hari Shankar Pradhan - Payment Page
Welcome to SkinStore. For over 24 years we have been your number 1 destination for premium beauty, delivering the latest in innovative clinical skincare and luxury spa products. We were one of the first online stores to offer dermatologist-created and recommended products worldwide.
css,html,javascript
2023-03-12T06:49:24Z
2023-06-11T07:44:01Z
null
5
9
30
0
0
2
null
null
HTML
leeocoder/clipz-udemy
master
<h1 align="center"> <img alt="Clipz" title="Clipz" src=".github/clipz.png" width="220px" /> </h1> <p align="center"> <a href="#-project">Project</a>&nbsp;&nbsp;&nbsp;|&nbsp;&nbsp;&nbsp; <a href="#-technologies">Technologies</a>&nbsp;&nbsp;&nbsp;|&nbsp;&nbsp;&nbsp; <a href="#-features">Features</a>&nbsp;&nbsp;&nbsp;|&nbsp;&nbsp;&nbsp; <a href="#-getting-started">Getting Started</a> </p> <p align="center"> <img src="https://img.shields.io/static/v1?label=PRs&message=welcome&color=49AA26&labelColor=000000" alt="PRs welcome!" /> <img alt="License" src="https://img.shields.io/static/v1?label=license&message=MIT&color=49AA26&labelColor=000000"> </p> <br> <p align="center"> <img alt="Clipz - Share Your Awesome Gaming Moments!" src=".github/capa.png" width="100%"> </p> ## 💻 Project ### Clipz - Share Your Awesome Gaming Moments! Welcome to Clipz, the ultimate platform for gamers to share their most epic moments with the world! With our powerful tools and user-friendly interface, you can easily upload, edit, and showcase your gaming skills like never before. Join our community of passionate gamers and share your videos with fellow enthusiasts, friends, and family. With Clipz, you can be confident that your videos will be seen by thousands of viewers, giving you the recognition you deserve! Whether you're a beginner or a seasoned pro, Clipz has everything you need to take your gaming content to the next level. So why wait? Sign up today and start sharing your gaming adventures with the world! --- ## 🚀 Technologies This project was developed using the following technologies: - Angular - WebAssembly - Rust - FFMPEG - Video.js - Firebase - Tailwind CSS --- ## 🤖 Features ### Clipz offers the following features: - **Register**: users can create an account to access the app's functionalities. - **Login**: users can log in to their account to access their videos and profile. - **Upload Videos**: users can upload their gaming videos to the app. - **Generate Thumbnail**: the app automatically generates a thumbnail for each video uploaded by the user. - **Delete Videos**: users can delete their videos from the app. - **Edit Title**: users can edit the title of their videos. - **Infinity Scroll**: the app supports infinity scroll, allowing users to navigate through the videos with ease. - **Authentication**: the app uses Firebase for authentication, ensuring secure access to user data. --- ## 👨‍💻 Getting Started To get started with Clipz, follow the steps below: ### Installation Clone the repository: ``` git clone https://github.com/leeodesign/clipz.git ``` cd clipz **Install the dependencies:** ``` npm install ``` ## Usage Start the server: ``` ng serve ``` Open your browser and go to http://localhost:4200/ --- Course :wave: [Complete Angular Developer in 2023: Zero to Mastery!](https://www.udemy.com/course/complete-angular-developer-zero-to-mastery/)
Clipz is a video game sharing platform that allows users to upload, watch, clip, and share their awesome gaming moments with their friends and the world. This project was built using Angular, WebAssembly, Rust, FFMPEG, Video.js, Firebase, Tailwind CSS, and Lazy Load.
angular,jasmine,javascript,rust,webassembly,ztm
2023-03-21T13:19:14Z
2023-03-21T20:31:42Z
null
1
0
42
0
0
2
null
null
TypeScript
Praful-87/blog-app-mern
main
# Notify me. Name of this project is Notify me. The objective of this project is to create a blog app where user can Read the blogs , Create blogs, comment on blog they like ## Visit below link too see demo [Demo](https://rightous.netlify.app/) ## Features - Read blogs without login - Register on website / Signup - Login to account - See account details - Upload profile picture - Update profile - Create blog - Upload image for blog - Update blog - Delete blog - Give comment on the blog - Users can't make changes to others' post - User cannot create post without loging in - Light/dark mode toggle ## Tech Stack ## Client - html 5 - css 3 - javascript - react - redux - react-router-dom - react-icons - react-redux - redux-thunk - chakra-ui --- ## Server - bcrypt - cloudinary - cors - dotenv - express - jsonwebtoken - mongoose - multer - nodemon ## Installation Install my-project by cloning the repository ```bash cd backend npm Install cd frontend npm Install ``` ## Environment Variables To run this project, you will need to add the following environment variables to your .env file ### Backend-End environment Variables - `DB_URL` your mongoDb ATLAS url - `PRIVATE_KEY` to hash the password - #### Cloudinary Variables - `CLOUD_NAME` provided by Cloudinary - `API_KAY` provided by Cloudinary - `API_SECRET` provided by Cloudinary ## API Reference #### Get all items ```http GET /blog ``` | Parameter | Type | Description | | :-------- | :------- | :------------------------- | | `NA` | `NA` | **No API_KEY Required** | #### Get item by blog_Id ```http GET /blog/${blog_id} ``` | Parameter | Type | Description | | :-------- | :------- | :-------------------------------- | | `blog_id` | `ObjectId` | **Required**. Id of item to fetch | #### Create post ```http POST /blog ``` | Parameter | Type | Description | | :-------- | :------- | :-------------------------------- | | `user_id` | `ObjectId` | **Required**. to create post| | `title` | `string` | **Required**. to create post | | `blog` | `string` | **Required**. Description to create post | | `image_blog` | `file` | **Required**. to create post | #### Update item by blog_Id ```http PATCH /blog/update/${blog_id} ``` | Parameter | Type | Description | | :-------- | :------- | :-------------------------------- | | `blog_id` | `ObjectId` | **Required**. Id of item update| | `payload` | `stringified object` | **Required**. object to update| #### Delete item by blog_Id ```http DELETE /blog/delete/${blog_id} ``` | Parameter | Type | Description | | :-------- | :------- | :-------------------------------- | | `blog_id` | `ObjectId` | **Required**. Id of item to fetch | --- #### Get all comments on perticular post by blog_Id ```http GET /comment/${blog_id} ``` | Parameter | Type | Description | | :-------- | :------- | :-------------------------------- | | `blog_id` | `ObjectId` | **Required**. Id of item to all comments | #### post comment ```http POST /comment ``` | Parameter | Type | Description | | :-------- | :------- | :-------------------------------- | | `user_id` | `ObjectId` | **Required**. to create comment| | `comment` | `string` | **Required**. to create comment | | `blog_id` | `ObjectId` | **Required**. to create comment | --- ## Run Locally Clone the project ```bash git clone https://github.com/Praful-87/blog-app-mern.git ``` Go to the project directory ```bash cd backend ``` ```bash cd frontend ``` Install dependencies ```bash npm install ``` Start the server ```bash npm run server ``` Start the developement server ( localhost ) ```bash npm run start ``` ## Deployment To deploy this project Go to the frontend directory ```bash cd frontend ``` ```bash npm run build ``` ```bash deploy the build folder on netlify ``` # Screenshots ### App with Loged In ![App Screenshot](https://res.cloudinary.com/doaedvl5s/image/upload/v1680586453/Screenshot_185_pgk68a.png) ### App with Loged In for mobile view ![App Screenshot](https://res.cloudinary.com/doaedvl5s/image/upload/v1680586923/Screenshot_188_mamoq9.png) ### App without Loged In ![App Screenshot](https://res.cloudinary.com/doaedvl5s/image/upload/v1680586453/Screenshot_186_y9fjed.png) ### App without Loged In for mobile view ![App Screenshot](https://res.cloudinary.com/doaedvl5s/image/upload/v1680586684/Screenshot_187_gtb2sc.png) ## Acknowledgements - [Online storage to store uploaded images](https://cloudinary.com/) - [Host user frontend here](https://www.netlify.com/) - [Host user backend here](https://www.cyclic.sh/) ## Authors - [@Praful-87](https://github.com/Praful-87) --- ![Logo](https://res.cloudinary.com/doaedvl5s/image/upload/v1680167039/lyredncxehdefxt5jx29.png)
The objective of this project is to create a blog app where users can Read the blogs , Create blogs, comment on blog they like
bcrypt,chakra-ui,cloudinary,cors,css,html5,javascript,react-icons,react-redux,react-router-dom-v6
2023-03-16T09:56:25Z
2023-04-04T09:00:24Z
null
1
0
24
0
0
2
null
null
JavaScript
dev-mamun/Art-Gallery
development
<a name="readme-top"></a> <!-- TABLE OF CONTENTS --> # 📗 Table of Contents - [📖 About the Project](#about-project) - [🛠 Tech Stack](#tech-stack) - [Key Features](#key-features) - [🚀 Live Demo](#live-demo) - [💻 Getting Started](#getting-started) - [Prerequisites](#prerequisites) - [Setup](#setup) - [Install](#install) - [Usage](#usage) - [Deployment](#triangular_flag_on_post-deployment) - [👥 Author](#authors) - [🔭 Future Features](#future-features) - [🤝 Contributing](#contributing) - [⭐️ Show your support](#support) - [🙏 Acknowledgements](#acknowledgements) - [❓ FAQ](#faq) - [📝 License](#license) <!-- PROJECT DESCRIPTION --> # 📖 Art Work <a name="about-project"></a> > JavaScript project - API-based webapp, > using webpack and ES6 features, notably modules. [Click here for more details](https://drive.google.com/file/d/1LYydyYqSOkU87gT0mqQCmJSEh4yyvoad/view?usp=share_link) ### 🛠 Tech Stack <a name="tech-stack"></a> - HTML - CSS - JavaScript ES6 - NodeJS - Webpack <!-- Features --> ### Key Features <a name="key-features"></a> - Use callbacks and promises - Use ES6 modules to write modular JavaScript. - Use webpack to bundle JavaScript. <p align="right">(<a href="#readme-top">back to top</a>)</p> <!-- LIVE DEMO --> ## 🚀 Live Demo <a name="live-demo"></a> [Live Demo Link](https://dev-mamun.github.io/Art-Gallery/dist/) <p align="right">(<a href="#readme-top">back to top</a>)</p> <!-- GETTING STARTED --> ## 💻 Getting Started <a name="getting-started"></a> To get a local copy up and running, follow these steps. ### Prerequisites In order to run this project you need: - GIT - if you don't have git installed on your machine you can download it from [here](https://git-scm.com/downloads). - Linter - You can get install guide from <a href="https://github.com/microverseinc/linters-config/tree/master/html-css"> here</a> - Node.js & Npm - if you don't have npm installed on your machine you can download it from [here](https://nodejs.org/en/) ### Setup Once you have git installed on your machine you can clone project by running the command below. To clone your project to your local machine ```sh git clone git@github.com:dev-mamun/js-capstone.git ``` Alternatively, you can download the zip file of your project by clicking on the `Code` button on the right side of your project page and clicking on `Download ZIP` ### Install Install this project with: ```sh cd js-capstone npm install ``` ### Usage To run the project, use the following : (Port 3000) ``` npm run dev browse http://localhost:3000/ ``` <p align="right">(<a href="#readme-top">back to top</a>)</p> ### Run tests To run tests, run the following command: To check for html errors run: ```sh npx hint . ``` To check for css errors run: ```sh npx stylelint "**/*.{css,scss}" ``` To check for js errors run: ```sh npx eslint . ``` <!-- AUTHORS --> ## 👥 Authors <a name="author"></a> 👤 **Abdullah AL mamun** - GitHub: [@dev-mamun](https://github.com/dev-mamun) - Twitter: [@CoderKnight](https://twitter.com/CoderKnight) - LinkedIn: [Mamun](https://www.linkedin.com/in/dev-mamun/) 👤 **Anita Sharma** - GitHub: [@anita00001](https://github.com/anita00001) - Twitter: [@anitaa_sharmaa](https://twitter.com/anitaa_sharmaa) - LinkedIn: [anitaa-sharmaa](https://www.linkedin.com/in/anitaa-sharmaa/) <!-- FUTURE FEATURES --> ## 🔭 Future Features <a name="future-features"></a> - Fetch Data using api - Art work list - Like count - User Like - Comments Popup - Reservation Popup <!-- CONTRIBUTING --> ## 🤝 Contributing <a name="contributing"></a> Contributions, issues, and feature requests are welcome! Feel free to check the [issues page](../../issues/). <p align="right">(<a href="#readme-top">back to top</a>)</p> <!-- SUPPORT --> ## ⭐️ Show your support <a name="support"></a> > Give a ⭐️ if you like this project! > If you like this project feel comfortable to endorse the author. > You can contact the author via [Twitter](https://twitter.com/CoderKnight) or [Linkedin](https://www.linkedin.com/in/dev-mamun/) or directly message at mamun1214@gmail.com <p align="right">(<a href="#readme-top">back to top</a>)</p> <!-- ACKNOWLEDGEMENTS --> ## 🙏 Acknowledgments <a name="acknowledgements"></a> I would like to thank... - Teammates - YouTube tutorials - Microverse guides - Google Search - [Art Institute of Chicago API](https://api.artic.edu/docs/#quick-start) <p align="right">(<a href="#readme-top">back to top</a>)</p> <!-- FAQ (optional) --> ## ❓ FAQ <a name="faq"></a> -Why use linters? - The use of linters helps to diagnose and fix technical issues, also linters can help teams achieve a more readable and consistent style, through the enforcement of its rules. -Why use modular programming? - Modular programming usually makes your code easier to read because it means separating it into functions that each only deal with one aspect of the overall functionality. -Why use OOP? - With this type of programming, a program comprises objects that can interact with the user, other objects, or other programs. This makes programs more efficient and easier to understand. <p align="right">(<a href="#readme-top">back to top</a>)</p> <!-- LICENSE --> ## 📝 License <a name="license"></a> This project is [MIT](./LICENSE) licensed. <p align="right">(<a href="#readme-top">back to top</a>)</p>
API-based JavaScript project, is about building web application based on an external API. An API that provides data about a specific topic. The webapp will have 2 or 3 user interfaces.In this project user can submit there like and comment on selected topic.
css,javascript,jest,nodejs,webpack,bootstrap5
2023-03-20T13:27:23Z
2023-03-24T11:16:53Z
null
2
16
65
5
1
2
null
MIT
JavaScript
Leeoasis/Math-Magicians
development
# 📗 Table of Contents - [📗 Table of Contents](#-table-of-contents) - [📖 \[Math-Magicians\] ](#-math-magicians-) - [🛠 Built With ](#-built-with-) - [Tech Stack ](#tech-stack-) - [Key Features ](#key-features-) - [💻 Getting Started ](#-getting-started-) - [Prerequisites](#prerequisites) - [Setup](#setup) - [Install](#install) - [Usage](#usage) - [Run tests](#run-tests) - [👥 Authors ](#-authors-) - [🔭 Future Features ](#-future-features-) - [🤝 Contributing ](#-contributing-) - [⭐️ Show your support ](#️-show-your-support-) - [🙏 Acknowledgments ](#-acknowledgments-) - [📝 License ](#-license-) <!-- PROJECT DESCRIPTION --> # 📖 [Math-Magicians] <a name="about-project"></a> **[Math-Magicians]** is a website for all fans of mathematics. It is a Single Page App (SPA) that allows users to make simple calculations and read a random math-related quote. ## 🛠 Built With <a name="REACT, NEXT.js and Webpack"></a> ### Tech Stack <a name="REACT, NEXT.js and Webpack"></a> <client> <ul> <li><a href="https://developer.mozilla.org/en-US/docs/Web/HTML">REACT</a></li> </ul> </client> <client> <ul> <li><a href="https://developer.mozilla.org/en-US/docs/Web/CSS">NEXT.js</a></li> </ul> </client> <client> <ul> <li><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript">Webpack</a></li> </ul> </client> <!-- Features --> ### Key Features <a name="key-features"></a> - **[Calculator]** <p align="right">(<a href="#readme-top">back to top</a>)</p> <!-- LIVE DEMO --> <p align="right">(<a href="#readme-top">back to top</a>)</p> <!-- GETTING STARTED --> ## 💻 Getting Started <a name="getting-started"></a> To get a local copy up and running, follow these steps. ### Prerequisites In order to run this project you need: Visual Studio Code, Node.js ### Setup To run the project, follow the steps below: 1. git clone https://github.com/Leeoasis/Math-Magicians.git. 2. cd Math-Magicians ### Install npm install ### Usage npm start ### Run tests To run tests, run the following command: npx hint . and npx stylelint "\*_/_.{css,scss}" , npx eslint . and npm test <p align="right">(<a href="#readme-top">back to top</a>)</p> <!-- AUTHORS --> ## 👥 Authors <a name="authors"></a> 👤 **Leslie Gudo** - GitHub: [@githubhandle](https://github.com/Leeoasis) - Twitter: [@twitterhandle](https://twitter.com/gudo_leslie) - LinkedIn: [LinkedIn](https://www.linkedin.com/in/leslie-gudo/) <p align="right">(<a href="#readme-top">back to top</a>)</p> <!-- FUTURE FEATURES --> ## 🔭 Future Features <a name="future-features"></a> - [ ] **[Home page]** - [ ] **[Quotes section]** <p align="right">(<a href="#readme-top">back to top</a>)</p> <!-- CONTRIBUTING --> ## 🤝 Contributing <a name="contributing"></a> Contributions, issues, and feature requests are welcome! Feel free to check the [issues page](https://github.com/Leeoasis/Math-Magicians/issues). <p align="right">(<a href="#readme-top">back to top</a>)</p> <!-- SUPPORT --> ## ⭐️ Show your support <a name="support"></a> If you like this project then don't forget to give a star ⭐ on this repository. <p align="right">(<a href="#readme-top">back to top</a>)</p> <!-- ACKNOWLEDGEMENTS --> ## 🙏 Acknowledgments <a name="acknowledgements"></a> I would like to thank https://www.microverse.org/ for the great lessons in making this project. <p align="right">(<a href="#readme-top">back to top</a>)</p> <!-- LICENSE --> ## 📝 License <a name="license"></a> This project is [MIT](./LICENSE.md) licensed. <p align="right">(<a href="#readme-top">back to top</a>)</p>
Math-Magicians is a website for all fans of mathematics. It is a Single Page App (SPA) that allows users to make simple calculations and read a random math-related quote.
javascript,nextjs,reactjs,redux,render
2023-03-20T10:18:56Z
2023-09-15T13:06:06Z
null
1
9
42
0
0
2
null
MIT
JavaScript
SaneMyburg/Module2-Capstone
dev
<a name="readme-top"></a> <div align="center"> <h3><b>Besu Italian Food Zone</b></h3> </div> # 📗 Table of Contents - [📖 About the Project](#about-project) - [🛠 Built With](#built-with) - [Tech Stack](#tech-stack) - [Key Features](#key-features) - [🚀 Live Demo](#live-demo) - [ 💻Project Presentation Video](#Presentation-video) - [💻 Getting Started](#getting-started) - [Setup](#setup) - [Prerequisites](#prerequisites) - [Install](#install) - [Usage](#usage) - [Run tests](#run-tests) - [Deployment](#triangular_flag_on_post-deployment) - [👥 Authors](#authors) - [🔭 Future Features](#future-features) - [🤝 Contributing](#contributing) - [⭐️ Show your support](#support) - [🙏 Acknowledgements](#acknowledgements) - [📝 License](#license) # 📖 [Besu Italian Food Zone] <a name="about-project"></a> > This project is a simple app taht displays the Italian food category. It displays and updates the counter for likes, commenst and food list. **[Leaderboard List-App]** is ... ## 🛠 Built With <a name="built-with"></a> ### Tech Stack <a name="tech-stack"></a> - HTML - CSS - Webpack - JavaScript ES6 - API - Jest Testing ### Key Features <a name="key-features"></a> - **[Adds and updates likes]** - **[Adds and updates comments]** <p align="right">(<a href="#readme-top">back to top</a>)</p> ### 💻 Project Presentation Video <a name="Presentation-video"></a> - [Video Link](https://drive.google.com/file/d/1ofhEY6g0EY7Q_TVok8A754rEvN1DqNOe/view?usp=sharing) ### 🚀 Live Demo <a name="live-demo"></a> - [Live Demo Link](https://sanemyburg.github.io/Module2-Capstone/dist/) <p align="right">(<a href="#readme-top">back to top</a>)</p> ## 💻 Getting Started <a name="getting-started"></a> > Get a link of this repository and clone it to your local machine. To get a local copy up and running, follow these steps: - Get a copy of the project - Come into the project directory - Open the project using code editor of your choice - Open your prefered browser ### Prerequisites In order to run this project you need: - You need a GitHub account. - You need to have a Git client installed on your computer. - You need to have a copy of the HTML CSS website codebase on your computer. - You need a code Editor of your choice. ### Setup Clone this repository to your desired folder: ```sh cd my-folder git clone https://github.com/SaneMyburg/Module2-Capstone ``` ### Install ```sh cd Module2-Capstone ``` ```sh npm install ``` ### Usage ```sh npm run build ``` ```sh npm start ``` ### Run tests ```sh npx hint . ``` ```sh npx stylelint "**/*.{css,scss}" ``` ```sh npx eslint . ``` ### Usage To run the project, simply run the HTML document to preferrably Google Chrome. ### Run tests To run tests, you can use Chrome Developer tools, simply run the HTML document in Google Chrome and right-click the HTML element you want to inspect. Click on "Inspect" and you will have the tools to run, analyze, and even debug the code. ### Deployment You can deploy this project using: Github Pages <p align="right">(<a href="#readme-top">back to top</a>)</p> ## 👥 Authors <a name="authors"></a> > Sane Myburg > 👤 **Author1** - GitHub: [@githubhandle](https://github.com/SaneMyburg) - Twitter: [@twitterhandle](https://twitter.com/@SaneMyburg) - LinkedIn: [LinkedIn](https://linkedin.com/in/SaneMyburg) > Besufekad Alemu > 👤 **Author1** - GitHub: [@Besufekad-HAZ](https://github.com/Besufekad-HAZ) - Twitter: [@BesufekadAlemu7](https://twitter.com/BesufekadAlemu7) - LinkedIn: [@besura](www.linkedin.com/in/besura) <p align="right">(<a href="#readme-top">back to top</a>)</p> ## 🔭 Future Features <a name="future-features"></a> - [ ] **Add more meal categories** - [ ] **Adding some backend features** ## 🤝 Contributing <a name="contributing"></a> Contributions, issues, and feature requests are welcome! Feel free to check the [issues page](https://github.com/SaneMyburg/Module2-Capstone/issues/). <p align="right">(<a href="#readme-top">back to top</a>)</p> ## ⭐️ Show your support <a name="support"></a> > Give a ⭐️ if you like this project! <p align="right">(<a href="#readme-top">back to top</a>)</p> ## 🙏 Acknowledgments <a name="acknowledgements"></a> I would like to thank [Microverse](www.microverse.com) <p align="right">(<a href="#readme-top">back to top</a>)</p> <!-- LICENSE --> ## 📝 License <a name="license"></a> This project is [MIT](./LICENSE) licensed. _NOTE: we recommend using the [MIT license](https://choosealicense.com/licenses/mit/) - you can set it up quickly by [using templates available on GitHub](https://docs.github.com/en/communities/setting-up-your-project-for-healthy-contributions/adding-a-license-to-a-repository). You can also use [any other license](https://choosealicense.com/licenses/) if you wish._ <p align="right">(<a href="#readme-top">back to top</a>)</p>
This is a group project about a list of Italian dishes, it displays all the meals, displays and updates likes and comments and fetches and sends data from an API.
css,html,javascript
2023-03-13T12:27:50Z
2023-03-23T07:54:01Z
null
2
7
58
23
1
2
null
MIT
JavaScript
amjad-akmal/fun-fox-portfolio-website
main
# fun-fox-portfolio-website fun fox website,my first github hosting. Just made to practice some front end skills
fun fox website
css,html,javascript
2023-03-14T14:11:56Z
2023-03-17T18:49:28Z
null
1
0
2
0
0
2
null
null
HTML
kenn7575/The-cloud-cast
main
# The cloud cast > This is a weather application build with svelte and vite. > Live demo: [_here_](https://the-cloud-cast.web.app/). <!-- If you have the project hosted somewhere, include the link here. --> ## Table of Contents - [General Info](#general-information) - [Technologies Used](#technologies-used) - [Apis Used](#Apis-Used) - [Features](#features) - [Screenshots](#screenshots) - [Structure](#Structure) - [Usage](#usage) - [Project Status](#project-status) - [Github and hosting](#Github-and-hosting) - [Acknowledgements](#acknowledgements) - [Contact](#contact) <!-- * [License](#license) --> ## General Information The Purpose of this project was to learn svelte, as well as learning about REST API's and system architecture on the web. This Project was developed by: - Project manager [_Kenni (me)_](https://github.com/kenn7575) - Junior developer [_David_](https://github.com/davidsorensenn). ## Technologies Used - Svelte - NPM - Vite - JS - Firebase hosting & analytics ## Apis Used - [Open-Metro api](https://open-meteo.com/en/docs) for weather data - [Geoapify api](https://www.geoapify.com/) for geo translation and location auto completion ## Features This website features: - Live weather updates - Current, hourly and daily weather forecasts. - Color scheme that changes after current weather. - Last searched locations stored in local storage to provide quick weather for favourite locations. - User location to display the weather for the users current location. - A clean, and easily understandable UI that is fully responsive a course on screens. ## Screenshots ![Example screenshot](./public/img/1.png) ![Example screenshot](./public/img/2.png) <!-- If you have screenshots you'd like to share, include them here. --> ## Setup To setup and run this project localy, simply: - Clone this repo in vs code. - Run "npm install" in the terminal. (to setup and install dependencies.) - Run "npm run dev" in the terminal. (to open a development server in your local browser.) ## Structure All the code for the project is located in ".src/lib/". The application is Divide into different folders: - Components - This is all the front-end components. Some files may end with a capital letter. This indicates the level of nesting. Example: "someFile-C.svelte" would be Third in the chain. - Views - This is a svelte media query that helps to make the app responsive. These are second in the component chain. - Data - This is the entire back-end of the app. It includes API's, local storage, and svelte stores. - Services - This is the logic of the application. It Contains a bunch of functions that is used from the UI/Components and it also communicate with the back-end/Data. ## Project Status Project is: _in progress_. ## Github and hosting This project: - Is open source. - Uses codeQL to analyse for errors and Threats on pull request and merge. - Is automaticly deployed to firebase hosting on merge into "main" via actions. - Is being deployed to a preview Channel on pull request to main. So features can be safly tested before merge. - Require all security checks to pass on pull request before it can be merged into main. - Has a issues tab. Feel free to create a new issue if you find bugs in the code, or fix it yourself😀. ## Contact Created by [Kenni Kollemorten](https://kenni-kollemorten.dk/) and [David Sørensen](https://github.com/davidsorensenn) - feel free to contact me on [e-mail](mailto:info@kenni-kollemorten.dk) <!-- Optional --> <!-- ## License --> <!-- This project is open source and available under the [... License](). --> <!-- You don't have to include all sections - just the one's relevant to your project -->
Personal project - Learning svelte & vite.
javascript,svelte,vite
2023-03-19T10:57:28Z
2023-09-28T14:07:46Z
null
3
55
166
0
1
2
null
Apache-2.0
Svelte
FlowiseAI/Flowise
main
<!-- markdownlint-disable MD030 --> <img width="100%" src="https://github.com/FlowiseAI/Flowise/blob/main/images/flowise.png?raw=true"></a> # Flowise - Build LLM Apps Easily [![Release Notes](https://img.shields.io/github/release/FlowiseAI/Flowise)](https://github.com/FlowiseAI/Flowise/releases) [![Discord](https://img.shields.io/discord/1087698854775881778?label=Discord&logo=discord)](https://discord.gg/jbaHfsRVBW) [![Twitter Follow](https://img.shields.io/twitter/follow/FlowiseAI?style=social)](https://twitter.com/FlowiseAI) [![GitHub star chart](https://img.shields.io/github/stars/FlowiseAI/Flowise?style=social)](https://star-history.com/#FlowiseAI/Flowise) [![GitHub fork](https://img.shields.io/github/forks/FlowiseAI/Flowise?style=social)](https://github.com/FlowiseAI/Flowise/fork) English | [中文](./README-ZH.md) | [日本語](./README-JA.md) | [한국어](./README-KR.md) <h3>Drag & drop UI to build your customized LLM flow</h3> <a href="https://github.com/FlowiseAI/Flowise"> <img width="100%" src="https://github.com/FlowiseAI/Flowise/blob/main/images/flowise.gif?raw=true"></a> ## ⚡Quick Start Download and Install [NodeJS](https://nodejs.org/en/download) >= 18.15.0 1. Install Flowise ```bash npm install -g flowise ``` 2. Start Flowise ```bash npx flowise start ``` With username & password ```bash npx flowise start --FLOWISE_USERNAME=user --FLOWISE_PASSWORD=1234 ``` 3. Open [http://localhost:3000](http://localhost:3000) ## 🐳 Docker ### Docker Compose 1. Go to `docker` folder at the root of the project 2. Copy `.env.example` file, paste it into the same location, and rename to `.env` 3. `docker-compose up -d` 4. Open [http://localhost:3000](http://localhost:3000) 5. You can bring the containers down by `docker-compose stop` ### Docker Image 1. Build the image locally: ```bash docker build --no-cache -t flowise . ``` 2. Run image: ```bash docker run -d --name flowise -p 3000:3000 flowise ``` 3. Stop image: ```bash docker stop flowise ``` ## 👨‍💻 Developers Flowise has 3 different modules in a single mono repository. - `server`: Node backend to serve API logics - `ui`: React frontend - `components`: Third-party nodes integrations ### Prerequisite - Install [PNPM](https://pnpm.io/installation) ```bash npm i -g pnpm ``` ### Setup 1. Clone the repository ```bash git clone https://github.com/FlowiseAI/Flowise.git ``` 2. Go into repository folder ```bash cd Flowise ``` 3. Install all dependencies of all modules: ```bash pnpm install ``` 4. Build all the code: ```bash pnpm build ``` 5. Start the app: ```bash pnpm start ``` You can now access the app on [http://localhost:3000](http://localhost:3000) 6. For development build: - Create `.env` file and specify the `VITE_PORT` (refer to `.env.example`) in `packages/ui` - Create `.env` file and specify the `PORT` (refer to `.env.example`) in `packages/server` - Run ```bash pnpm dev ``` Any code changes will reload the app automatically on [http://localhost:8080](http://localhost:8080) ## 🔒 Authentication To enable app level authentication, add `FLOWISE_USERNAME` and `FLOWISE_PASSWORD` to the `.env` file in `packages/server`: ``` FLOWISE_USERNAME=user FLOWISE_PASSWORD=1234 ``` ## 🌱 Env Variables Flowise support different environment variables to configure your instance. You can specify the following variables in the `.env` file inside `packages/server` folder. Read [more](https://github.com/FlowiseAI/Flowise/blob/main/CONTRIBUTING.md#-env-variables) ## 📖 Documentation [Flowise Docs](https://docs.flowiseai.com/) ## 🌐 Self Host Deploy Flowise self-hosted in your existing infrastructure, we support various [deployments](https://docs.flowiseai.com/configuration/deployment) - [AWS](https://docs.flowiseai.com/deployment/aws) - [Azure](https://docs.flowiseai.com/deployment/azure) - [Digital Ocean](https://docs.flowiseai.com/deployment/digital-ocean) - [GCP](https://docs.flowiseai.com/deployment/gcp) - <details> <summary>Others</summary> - [Railway](https://docs.flowiseai.com/deployment/railway) [![Deploy on Railway](https://railway.app/button.svg)](https://railway.app/template/pn4G8S?referralCode=WVNPD9) - [Render](https://docs.flowiseai.com/deployment/render) [![Deploy to Render](https://render.com/images/deploy-to-render-button.svg)](https://docs.flowiseai.com/deployment/render) - [HuggingFace Spaces](https://docs.flowiseai.com/deployment/hugging-face) <a href="https://huggingface.co/spaces/FlowiseAI/Flowise"><img src="https://huggingface.co/datasets/huggingface/badges/raw/main/open-in-hf-spaces-sm.svg" alt="HuggingFace Spaces"></a> - [Elestio](https://elest.io/open-source/flowiseai) [![Deploy](https://pub-da36157c854648669813f3f76c526c2b.r2.dev/deploy-on-elestio-black.png)](https://elest.io/open-source/flowiseai) - [Sealos](https://cloud.sealos.io/?openapp=system-template%3FtemplateName%3Dflowise) [![](https://raw.githubusercontent.com/labring-actions/templates/main/Deploy-on-Sealos.svg)](https://cloud.sealos.io/?openapp=system-template%3FtemplateName%3Dflowise) - [RepoCloud](https://repocloud.io/details/?app_id=29) [![Deploy on RepoCloud](https://d16t0pc4846x52.cloudfront.net/deploy.png)](https://repocloud.io/details/?app_id=29) </details> ## 💻 Cloud Hosted Coming soon ## 🙋 Support Feel free to ask any questions, raise problems, and request new features in [discussion](https://github.com/FlowiseAI/Flowise/discussions) ## 🙌 Contributing Thanks go to these awesome contributors <a href="https://github.com/FlowiseAI/Flowise/graphs/contributors"> <img src="https://contrib.rocks/image?repo=FlowiseAI/Flowise" /> </a> See [contributing guide](CONTRIBUTING.md). Reach out to us at [Discord](https://discord.gg/jbaHfsRVBW) if you have any questions or issues. [![Star History Chart](https://api.star-history.com/svg?repos=FlowiseAI/Flowise&type=Timeline)](https://star-history.com/#FlowiseAI/Flowise&Date) ## 📄 License Source code in this repository is made available under the [Apache License Version 2.0](LICENSE.md).
Drag & drop UI to build your customized LLM flow
artificial-intelligence,chatgpt,large-language-models,llm,low-code,no-code,javascript,react,typescript
2023-03-31T12:23:09Z
2024-05-23T14:46:11Z
2024-05-21T15:36:42Z
101
842
2,410
330
13,091
25,524
null
Apache-2.0
TypeScript
mouredev/one-day-one-language
main
# UN DÍA, UN LENGUAJE ## Cómo dar en un día tus primeros pasos en cada lenguaje de programación ![](./Media/header.jpg) ### Proyecto realizado durante emisiones en directo desde [Twitch](https://twitch.tv/mouredev). Cada semana le dedico un día a un nuevo lenguaje de programación. > ##### Si consideras útil el curso, apóyalo haciendo "★ Star" en el repositorio. ¡Gracias! ## Introducción Aprender un lenguaje de programación en profundidad es una tarea que exige dedicación y trabajo duro, y por supuesto, más de un día. Con este curso no pretendo convertirte en experto en tiempo récord, simplemente quiero ayudarte a dar tus primeros pasos, responder las preguntas más frecuentes y darte unas pequeñas bases para que conozcas el lenguaje y puedas comenzar tu ruta de aprendizaje. Mi intención es crear un recurso para aquellas personas que tienen interés en aprender o conocer cierto lenguaje. Se llama *"Un día, un lenguaje"* porque el contenido asociado a cada lenguaje de programación se llevará a cabo durante un único día. > Consulta la fecha de la próxima clase en directo en la sección "Calendario" ## Lo que aprenderás Cada clase estará formada por un vídeo y código para que puedas tener una primera aproximación a un lenguaje de programación concreto. En ella trataré los siguientes lecciones: * Introducción al lenguaje * Configuración e instalación * Usos habituales * Hola mundo * Fundamentos del lenguaje * Sintaxis * Próximos pasos Así con cada uno de los lenguajes. ## Calendario > Cada semana un día dedicado a un nuevo lenguaje ### <a href=""><img src="https://cdn.jsdelivr.net/gh/devicons/devicon/icons/dart/dart-original.svg" style="height: 3%; width:3%;"/></a> Día 1: Dart <a href="https://youtu.be/5tTDztEQzQQ"><img src="./Media/dart.jpg" style="height: 50%; width:50%;"/></a> #### [Clase en vídeo](https://youtu.be/5tTDztEQzQQ) y [Código](./01%20-%20Dart) **Recursos:** [Web oficial](https://dart.dev) | [Editor en línea](https://dartpad.dev) | [Configuración](https://dart.dev/get-dart) | [Documentación](https://dart.dev/language) | [Tutoriales](https://dart.dev/tutorials) | [Codelabs](https://dart.dev/codelabs) | [Uso con Flutter](https://flutter.dev) | [Gestor de paquetes](https://pub.dev) ### <a href=""><img src="https://cdn.jsdelivr.net/gh/devicons/devicon/icons/python/python-original.svg" style="height: 3%; width:3%;"/></a> Día 2: Python <a href="https://youtu.be/WatTqrq8kQQ"><img src="./Media/python.jpg" style="height: 50%; width:50%;"/></a> #### [Clase en vídeo](https://youtu.be/WatTqrq8kQQ) y [Código](./02%20-%20Python) **Recursos:** [Web oficial](https://www.python.org) | [Editor en línea](https://www.online-python.com/) | [Configuración](https://www.python.org/downloads/) | [Documentación](https://docs.python.org/es/3/) | [Tutoriales](https://mouredev.com/python) | [Libro](https://mouredev.com/libropython) ### <a href=""><img src="https://cdn.jsdelivr.net/gh/devicons/devicon/icons/swift/swift-original.svg" style="height: 3%; width:3%;"/></a> Día 3: Swift <a href="https://youtu.be/kpsVJptSv1U"><img src="./Media/swift.jpg" style="height: 50%; width:50%;"/></a> #### [Clase en vídeo](https://youtu.be/kpsVJptSv1U) y [Código](./03%20-%20Swift) **Recursos:** [Web oficial](https://www.swift.org) | [Web oficial Apple](https://www.apple.com/es/swift) | [Editor en línea](https://swiftfiddle.com/) | [Configuración](https://www.swift.org/download/) | [Documentación](https://www.swiftbook.es/) | [Uso con SwiftUI](https://developer.apple.com/xcode/swiftui/) | [Uso con Vapor](https://vapor.codes/) | [Tutoriales Swift](https://www.youtube.com/watch?v=Wfh0FYR0z6I&list=PLNdFk2_brsRcWM-31vJUgyHIGpopIDw4s) | [Tutoriales SwiftUI](https://developer.apple.com/tutorials/swiftui) ### <a href=""><img src="https://cdn.jsdelivr.net/gh/devicons/devicon/icons/java/java-original.svg" style="height: 3%; width:3%;"/></a> Día 4: Java <a href="https://youtu.be/W86KTBSiX2o"><img src="./Media/java.jpg" style="height: 50%; width:50%;"/></a> #### [Clase en vídeo](https://youtu.be/W86KTBSiX2o) y [Código](./04%20-%20Java) **Recursos:** [Web oficial](https://www.java.com/es/) | [Editor en línea](https://www.online-java.com) | [Configuración](https://www.java.com/es/download/help/index_installing.html) | [Documentación](https://docs.oracle.com/en/java/) | [Tutorial](https://www.w3schools.com/java/) ### <a href=""><img src="https://cdn.jsdelivr.net/gh/devicons/devicon/icons/kotlin/kotlin-original.svg" style="height: 3%; width:3%;"/></a> Día 5: Kotlin <a href="https://youtu.be/T3ugOYTRF7c"><img src="./Media/kotlin.jpg" style="height: 50%; width:50%;"/></a> #### [Clase en vídeo](https://youtu.be/T3ugOYTRF7c) y [Código](./05%20-%20Kotlin) **Recursos:** [Web oficial](https://kotlinlang.org) | [Web JetBrains](https://www.jetbrains.com/es-es/opensource/kotlin) | [Web Android](https://developer.android.com/kotlin?hl=es-419) | [Editor en línea](https://play.kotlinlang.org) | [Configuración](https://kotlinlang.org/docs/getting-started.html) | [Documentación](https://kotlinlang.org/docs/home.html) | [Tutorial](https://kotlinlang.org/docs/kotlin-tour-hello-world.html) | [Cursos Kotlin](https://kotlinlang.org/education/courses.html) | [Cursos Android](https://developer.android.com/courses?hl=es-419) | [Cursos JetBrains](https://www.jetbrains.com/academy/#learn) ### <a href=""><img src="https://cdn.jsdelivr.net/gh/devicons/devicon/icons/javascript/javascript-original.svg" style="height: 3%; width:3%;"/></a> Día 6: JavaScript <a href="https://youtu.be/6cnFl9aHD5Y"><img src="./Media/javascript.jpg" style="height: 50%; width:50%;"/></a> #### [Clase en vídeo](https://youtu.be/6cnFl9aHD5Y) y [Código](./06%20-%20JavaScript) **Recursos:** [Web oficial](https://developer.mozilla.org/es/docs/Web/JavaScript) | [Editor en línea](https://playcode.io/javascript-compiler) | [Tutorial Mozilla](https://developer.mozilla.org/es/docs/Web/JavaScript) | [Documentación](https://developer.mozilla.org/es/docs/Learn/JavaScript/First_steps) | [Tutorial W3Schools](https://www.w3schools.com/js/) | [Libro Aprendiendo JavaScript](https://mouredev.com/aprendiendojs) ### <a href=""><img src="https://cdn.jsdelivr.net/gh/devicons/devicon/icons/typescript/typescript-original.svg" style="height: 3%; width:3%;"/></a> Día 7: TypeScript <a href="https://youtu.be/4W3UWjyyVkQ"><img src="./Media/typescript.jpg" style="height: 50%; width:50%;"/></a> #### [Clase en vídeo](https://youtu.be/4W3UWjyyVkQ) y [Código](./07%20-%20TypeScript) **Recursos:** [Web oficial](https://www.typescriptlang.org/es/) | [Editor en línea](https://www.typescriptlang.org/es/play) | [Configuración](https://www.typescriptlang.org/download) | [Documentación](https://www.typescriptlang.org/es/docs/) | [Tutorial W3Schools](https://www.w3schools.com/typescript/index.php) | [Tutorial Microsoft](https://learn.microsoft.com/es-es/training/browse/?terms=typescript) ### <a href=""><img src="https://cdn.jsdelivr.net/gh/devicons/devicon/icons/go/go-original-wordmark.svg" style="height: 3%; width:3%;"/></a> Día 8: Go <a href="https://youtu.be/AGiayASyp2Q"><img src="./Media/go.jpg" style="height: 50%; width:50%;"/></a> #### [Clase en vídeo](https://youtu.be/AGiayASyp2Q) y [Código](./08%20-%20Go) **Recursos:** [Web oficial](https://go.dev) | [Editor en línea](https://go.dev/play/) | [Configuración](https://go.dev/doc/install) | [Documentación](https://go.dev/doc) | [Tutorial](https://go.dev/learn) | [Tutorial Microsoft](https://learn.microsoft.com/es-es/training/paths/go-first-steps/) ### <a href=""><img src="https://cdn.jsdelivr.net/gh/devicons/devicon/icons/rust/rust-plain.svg" style="height: 3%; width:3%;"/></a> Día 9: Rust <a href="https://youtu.be/GWprpnIG-w4"><img src="./Media/rust.jpg" style="height: 50%; width:50%;"/></a> #### [Clase en vídeo](https://youtu.be/GWprpnIG-w4) y [Código](./09%20-%20Rust) **Recursos:** [Web oficial](https://www.rust-lang.org/es/) | [Editor en línea](https://play.rust-lang.org/) | [Configuración](https://www.rust-lang.org/es/learn/get-started) | [Documentación](https://www.rust-lang.org/es/learn) | [Tutorial](https://doc.rust-lang.org/rust-by-example/) | [Libro](https://github.com/Phosphorus-M/rust-book-es) ### <a href=""><img src="https://cdn.jsdelivr.net/gh/devicons/devicon/icons/php/php-original.svg" style="height: 3%; width:3%;"/></a> Día 10: PHP <a href="https://youtu.be/nPCJAx5c1uE"><img src="./Media/php.jpg" style="height: 50%; width:50%;"/></a> #### [Clase en vídeo](https://youtu.be/nPCJAx5c1uE) y [Código](./10%20-%20PHP) **Recursos:** [Web oficial](https://www.php.net) | [Editor en línea](https://paiza.io/es/projects/new) | [Configuración](https://www.php.net/manual/es/install.php) | [Documentación](https://www.php.net/manual/es/) | [Tutorial](https://www.php.net/manual/es/langref.php) | [Tutorial W3Schools](https://www.w3schools.com/php/) ### <a href=""><img src="https://cdn.jsdelivr.net/gh/devicons/devicon/icons/csharp/csharp-original.svg" style="height: 3%; width:3%;"/></a> Día 11: C Sharp <a href="https://youtu.be/L-f8u0hwi4Y"><img src="./Media/csharp.jpg" style="height: 50%; width:50%;"/></a> #### [Clase en vídeo](https://youtu.be/L-f8u0hwi4Y) y [Código](./11%20-%20CSharp) **Recursos:** [Web oficial](https://dotnet.microsoft.com) | [Editor en línea](https://sharplab.io) | [Configuración](https://dotnet.microsoft.com/download) | [Documentación](https://learn.microsoft.com/es-es/dotnet/csharp/) | [Tutorial](https://dotnet.microsoft.com/learn/csharp) | [Unity](https://unity.com) #### ¿Quieres más lenguajes? Haz "star" por el repo y dime por redes qué lenguaje te gustaría añadir. ## Preguntas frecuentes #### ¿Qué información se publicará en este repositorio? Toda la relacionada con el curso. Fecha de la próxima clase, vídeo del directo (una vez finalice en Twitch) o clase editada (una vez se suba a YouTube), enlaces de interés y código fuente. #### ¿Las clases en directo quedarán grabadas? Sí, todas las emisiones se podrán ver durante dos meses en [Twitch](https://www.twitch.tv/mouredev/videos). #### ¿El curso se subirá a YouTube? Sí, cada clase asociada a un nuevo lenguaje de programación se irá subiendo poco a poco a mi canal de [YouTube](https://www.youtube.com/@mouredev). - #### Puedes apoyar mi trabajo haciendo "☆ Star" en el repo o nominarme a "GitHub Star". ¡Gracias! [![GitHub Star](https://img.shields.io/badge/GitHub-Nominar_a_star-yellow?style=for-the-badge&logo=github&logoColor=white&labelColor=101010)](https://stars.github.com/nominate/) Si quieres unirte a nuestra comunidad de desarrollo, aprender programación de Apps, mejorar tus habilidades y ayudar a la continuidad del proyecto, puedes encontrarnos en: [![Twitch](https://img.shields.io/badge/Twitch-Programación_en_directo-9146FF?style=for-the-badge&logo=twitch&logoColor=white&labelColor=101010)](https://twitch.tv/mouredev) [![Discord](https://img.shields.io/badge/Discord-Servidor_de_la_comunidad-5865F2?style=for-the-badge&logo=discord&logoColor=white&labelColor=101010)](https://mouredev.com/discord) [![Link](https://img.shields.io/badge/Links_de_interés-moure.dev-39E09B?style=for-the-badge&logo=Linktree&logoColor=white&labelColor=101010)](https://moure.dev) ## ![https://mouredev.com](https://raw.githubusercontent.com/mouredev/mouredev/master/mouredev_emote.png) Hola, mi nombre es Brais Moure. ### Freelance full-stack iOS & Android engineer [![YouTube Channel Subscribers](https://img.shields.io/youtube/channel/subscribers/UCxPD7bsocoAMq8Dj18kmGyQ?style=social)](https://youtube.com/mouredevapps?sub_confirmation=1) [![Twitch Status](https://img.shields.io/twitch/status/mouredev?style=social)](https://twitch.com/mouredev) [![Discord](https://img.shields.io/discord/729672926432985098?style=social&label=Discord&logo=discord)](https://mouredev.com/discord) [![Twitter Follow](https://img.shields.io/twitter/follow/mouredev?style=social)](https://twitter.com/mouredev) ![GitHub Followers](https://img.shields.io/github/followers/mouredev?style=social) ![GitHub Followers](https://img.shields.io/github/stars/mouredev?style=social) Soy ingeniero de software desde hace más de 12 años. Desde hace 4 años combino mi trabajo desarrollando Apps con creación de contenido formativo sobre programación y tecnología en diferentes redes sociales como **[@mouredev](https://moure.dev)**. ### En mi perfil de GitHub tienes más información [![Web](https://img.shields.io/badge/GitHub-MoureDev-14a1f0?style=for-the-badge&logo=github&logoColor=white&labelColor=101010)](https://github.com/mouredev)
Cómo dar en un día tus primeros pasos en cada lenguaje de programación. Introducción, configuración e instalación, usos habituales, fundamentos, sintaxis y próximos pasos.
curso,dart,go,java,javascript,kotlin,php,programacion,python,rust
2023-03-30T11:39:38Z
2023-08-18T07:47:50Z
null
1
1
19
1
120
2,773
null
null
C#
jina-ai/auto-gpt-web
main
# AutoGPT Website **Set Your Goals, AI Achieves Them.** You can set up the initial role and goals for your AI buddy, without human's supervision, it will automatically leverage all of the resources it has to achieve your goal. Inspired by [Auto-GPT](https://github.com/Torantulino/Auto-GPT). ![Demo screenshot](.github/static/demo.gif) ## Features - 🌐 Internet access for searches and information gathering - 💾 Save your definition of AI, chat history and credentials in the browser - [ ] Long-Term memory (based on browser-based vector database) - [ ] Electron Application - [ ] Using Electron webview to conduct search operations (remove google search api limitation and solve SPA problem) - [ ] Calculate tokens and evaluate cost ## Requirements Required: - OpenAI API Key - Google - Search API Key - Custom Search Engine ID ## Security - All of your credentials will be saved in your local browser **ONLY** and be sent to the providers (OpenAI, Google Search API...) when necessary. You can remove them completely anytime. - All of your chat history will be saved in your local browser **ONLY**. You can remove them completely anytime. ## [Development](./CONTRIBUTING.md)
Set Your Goals, AI Achieves Them.
ai,gpt-3,gpt-4,javascript,autogpt,openai,electron
2023-04-04T03:49:29Z
2023-04-10T10:17:10Z
2023-04-07T07:16:11Z
32
1
43
14
140
747
null
MIT
TypeScript
18alantom/strawberry
main
<div align="center" markdown="1"> <img src="https://github.com/18alantom/strawberry/assets/29507195/9cb6a348-3b02-4de7-be62-ee85cf594871" alt="strawberry logo" width="720"/> Zero-dependency, build-free framework for the artisanal web. [Website](https://strawberry.quest) · [How it works](https://18alan.space/posts/how-hard-is-it-to-build-a-frontend-framework.html) · [Docs](https://github.com/18alantom/strawberry/tree/main/docs) </div> > **Warning** > > Strawberry is in an experimental phase. Everything stated below works, but I > am still figuring out the quickest and cleanest ways of doing things. --- > Seriously, another frontend framework? Yes, but, Strawberry is not like the usual frontend-framework. It doesn't have any dependencies. It doesn't need a build-step to run. It's tiny, less than 3KB when gzipped. Yet it does a lot of the core things the big, spangly frameworks can do. ```html <!-- Define Components --> <template name="plum-p"> <p style="color: plum"><slot /></p> </template> <!-- Initialize Strawberry --> <script> const data = sb.init(); </script> <!-- Use Components --> <plum-p sb-mark="message"> A plum colored p element! </plum-p> <!-- Dynamically Update Components --> <script> data.message = 'Hello, World!'; </script> ``` [Here's](https://strawberry.quest/#inventory-example) a live example from the website. --- <div align="center" markdown="1"> **Index** [Installation](#installation) · [Features](#features) · [Examples](#examples) · [Development](#development) [Docs](https://github.com/18alantom/strawberry/tree/main/docs) · [Roadmap](https://github.com/18alantom/strawberry/blob/main/ROADMAP.md) </div> **Documentation Index** 1. [Installation](./docs/installation.md): explains how to pull Strawberry code into your web project. 2. [Getting Started](./docs/getting_started.md): describes a simple example with code walk through. 3. [Reactivity](./docs/reactivity/README.md): explains what is reactivity in Strawberry. 1. [Reactive Values](./docs/reactivity/reactive_values.md): explains keys and values of the reactive object. 2. [Mark (`sb-mark`)](./docs/reactivity/mark.md): explains how to mark an element to update along with data. 3. [Conditionals (`sb-if`, `sb-ifnot`)](./docs/reactivity/conditionals.md): explains how to render or hide an element when data changes to truthy or falsy. 4. [Computed](./docs/reactivity/computed.md): explains how to define reactive values that depend on other reactive values. 5. [Directives](./docs/reactivity/directives.md): explains how to extend Strawberry with custom directives. 4. Composability (to be added) 5. [API](./docs/api.md): lists all of Strawberry's defined directives and methods. ## Installation If you wanna try it out, then run this 👇 command to setup a simple _starter_ page. ```bash curl -so- https://raw.githubusercontent.com/18alantom/strawberry/main/setup.sh | bash ``` Or if you wanna just use it straight away, copy this 👇 script tag in the head of your html file: ```html <script src="https://unpkg.com/sberry@0.0.3-alpha.0/dist/sb.min.js"></script> ``` ## Features Here're are a few of its features: 1. **Reactivity**: change your data and the UI updates. 2. **Composability**: create and use components. 3. **Build-free**: doesn't require a build-step. Link or [copy the lib](https://unpkg.com/sberry@0.0.3-alpha.0/dist/sb.min.js) and you're ready to go. 4. **Zero Dependencies**: has no dependencies. Uses WebAPIs for everything. 5. **Tiny**: [source code](https://github.com/18alantom/strawberry/blob/main/index.ts) is under 1000 CLOC. 6. **No VDOM**: directly updates the DOM. Strawberry is and will be developed with these two hard constraints: 1. Zero dependencies. 2. No build step required to run it. Other than this, there is also a soft constraint of keeping the source code light. --- ## Examples Here are a couple of simple examples of a few things that Strawberry can do right now. **1. Basic Reactivity**: `innerText` is updated when `data.message` when is set. ```html <p sb-mark="message">Placeholder</p> <script> data.message = 'Hello, Strawberry!'; </script> ``` **2. Computed Values**: `innerText` is updated with the computed value `data.countMessage` when `data.count` is updated. ```html <p sb-mark="countMessage">Placeholder</p> <script> data.count = 0; data.countMessage = () => `The count is: ${data.count}`; data.count += 1; </script> ``` **3. Conditional Rendering**: `p` is rendered only when `data.sayHi` is `true`. ```html <template sb-if="sayHi"> <p>Hi!</p> </template> <script> data.sayHi = true; </script> ``` **4. Looping**: `ul` is populated with `li` when `data.list` is set. `innerText` of the `li` are set from the list items. ```html <ul> <li sb-mark="list.#"></li> </ul> <script> data.list = ['Strawberry', 'Mulberry', 'Raspberry']; </script> ``` **5. Templates**: On running `sb.register`, the `red-p` element is defined and can be used. ```html <template name="red-p"> <p style="color: red"><slot /></p> </template> <red-p>Hi!</red-p> ``` **5. External Templates**: Templates can be defined in external files. They are loaded and registered using `sb.load`. ```html <script> sb.load('./templates.html'); </script> <red-p>Hi!</red-p> ``` **6. Nested Templates**: Templates can be nested, named slots can be used to ```html <!-- Blue H1 Template --> <template name="blue-h1"> <h1 style="color: blue"><slot></slot></h1> </template> <!-- Red P Template --> <template name="red-p"> <p style="color: red"><slot></slot></p> </template> <!-- Div Template using the above two --> <template name="user-div"> <div> <blue-h1> <slot name="name" /> </blue-h1> <red-p> <slot name="age" /> </red-p> </div> </template> <body> <user-div> <span slot="name" sb-mark="user.name"></span> <span slot="age" sb-mark="user.age"></span> </user-div> </body> <script> data.user = { name: 'Lin', age: 36 }; </script> ``` --- ## Development The development of Strawberry does has a direction, but no deadlines as I work on this usually during the weekends. Here's a [road map](https://github.com/18alantom/strawberry/blob/main/ROADMAP.md). This isn't exactly a road map, but a list of problems and maybe their solutions that need to be implemented to further Strawberry. ### Running Dev Mode Strawberry has only two dev dependencies: `esbuild` and `typescript`. To run Strawberry in dev mode: ```bash # Clone the repo git clone https://github.com/18alantom/strawberry # Install esbuild and typescript cd strawberry yarn install # Run in Dev mode yarn dev ``` You can now create an HTML file in the repository and add `script:src` to link the generated `index.js` file. You can serve this using the Live Preview plugin. To view the rendered HTML you need to serve it locally for that you can use the [Live Preview](https://marketplace.visualstudio.com/items?itemName=ms-vscode.live-server) VSCode plugin, or run [this](https://docs.python.org/3/library/http.server.html#:~:text=python%20%2Dm%20http.server%20%2D%2Dbind%20127.0.0.1): ```bash # Cd into strawberry root cd strawberry # Run simple python server to serve files in strawberry python -m http.server 8080 --bind 127.0.0.1 ``` ### Tests Right now tests just involve linking strawberry to an html file (`test.*.html`), and calling the `test` function to check whether a value is as expected. Success and Failures are printed in the console. See [`test.html`](https://github.com/18alantom/strawberry/blob/main/tests/test.html) for an example. To see all tests in one place, open `test/index.html`. ### Website The website has two dependencies required to run, `sb.min.js` and `highlight.min.js` for running strawberry in the example and highlighting all the code. You can run the [`pubwebsite.sh`](https://github.com/18alantom/strawberry/blob/main/pubwebsite.sh) script which downloads these files: ```bash ./pubwebsite.sh ``` And then respond with `"n"` when it asks to publish: ```bash $ Publish the website? [y/n]: n $ /Users/you/Desktop/projects/strawberry ``` After the script has run, [`website/index.html`](https://github.com/18alantom/strawberry/blob/main/website/index.html) should render as expected. --- ## Douglas Crockford on the XML of today These are excerpts from the CoRecursive podcast on [JSON vs XML](https://corecursive.com/json-vs-xml-douglas-crockford/). > It’s probably the JavaScript frameworks. They have gotten so big and so weird. > People seem to love them. I don’t understand why. And on web APIs. > ...the browsers have actually gotten pretty good. The web standards thing have > finally worked, and the web API is stable pretty much. Some of it’s still pretty > stupid, but it works and it’s reliable. Read the transcript on [CoRecursive](https://corecursive.com/json-vs-xml-douglas-crockford/#javascript-frameworks).
Zero-dependency, build-free framework for the artisanal web.
javascript,frontend,library,web,webdev
2023-04-08T09:05:04Z
2023-07-24T18:13:12Z
2023-07-20T15:46:34Z
7
20
145
4
14
675
null
MIT
HTML
hardhackerlabs/themes
master
<p align="center"> <a href="https://discord.com/invite/MGmp9QjfkK" target="_blank" rel="noopener noreferrer"> <img width="180" src="media/logo/logo.png" alt="HardHacker"> </a> </p> <h1 align="center"> HardHacker Themes<br/> <a href="https://discord.com/invite/MGmp9QjfkK"> <img src="https://img.shields.io/discord/1095552215944527962?style=for-the-badge&logo=discord&color=e965a5&logoColor=eee9fc&labelColor=282433"/> </a> </h1> A visually comfortable dark theme that is suitable for prolonged use. It differs from the typical blueish dark themes and aims to express a unique style with a more futuristic color palette. The color inspiration comes from some cyberpunk-style art works. However, neon color schemes commonly seen in cyberpunk styles are not suitable for prolonged staring, thus the saturation of the colors has been reduced. ![preview](media/preview/preview.png) ## Features #### 🎉 Suitable for prolonged use <details><summary>❤️ Color-blind friendly</summary> <p> <img width="920" src="media/foundamental/color_blind_safe.png" alt="Color Blind"> </p> </details> <details><summary>👀 Good readability, meets WCAG AA standard</summary> <p> <img width="920" src="media/foundamental/enough_contrast.png" alt="Enough Contrast"> </p> </details> #### 🛸 Futuristic #### 🚀 Continuously increasing support for editors and tools ## Color Palette | Palette | Hex | Preview | | ------------- | ----------- | ------------------------------------------------ | | Background | `#282433` | ![background](media/colors/background.png) | | Foreground | `#eee9fc` | ![foreground](media/colors/foreground.png) | | Selection | `#3f3951` | ![selection](media/colors/selection.png) | | Comment | `#938aad` | ![comment](media/colors/comment.png) | | Red | `#e965a5` | ![red](media/colors/red.png) | | Green | `#b1f2a7` | ![green](media/colors/green.png) | | Yellow | `#ebde76` | ![yellow](media/colors/yellow.png) | | Blue | `#b1baf4` | ![blue](media/colors/blue.png) | | Purple | `#e192ef` | ![purple](media/colors/purple.png) | | Cyan | `#b3f4f3` | ![cyan](media/colors/cyan.png) | ### Usage reference * Primary color: red * String: green * Number: yellow * Method: red * Keyword: blue * Operator: foreground * Class: cyan * Variable: purple ## Supports * VSCode * JetBrains IDEs (since version 2023) * vim * Sublime Text * Emacs * iTerm2 * macOS Terminal * Windows Terminal * Hyper * kitty * Alacritty * LSD: a rewrite of GNU `ls` * 🚧 Building... ## Contributing > How do I submit a new theme? 1. Create a repository based on out [template repo](https://github.com/hardhackerlabs/theme-template). 2. Build your new theme with our color palette. 3. Submit an issue contains a link to your repository. 4. We will move the repository to HardHackerLabs organization and give you rights. ## Sponsers * Podcast HardHacker <p> <a href="https://podcasts.apple.com/au/podcast/%E7%A1%AC%E5%9C%B0%E9%AA%87%E5%AE%A2/id1678465783" target="_blank" rel="noopener noreferrer"> <img width="620" src="media/sponsers/hardhacker-podcast.png" alt="HardHacker"> </a> </p>
🧑🏾‍🚀 One Theme to Rule Them All 🌈
cyberpunk,theme,vscode,golang,iterm2,javascript,rust,vscode-theme,color-scheme,terminal
2023-04-06T12:50:04Z
2024-02-01T07:12:11Z
null
4
1
97
7
15
669
null
Apache-2.0
null
HapticX/happyx
master
<div align="center"> <img height="128px" width="128px" src="https://raw.githubusercontent.com/HapticX/happyx/master/examples/website/src/happyx/public/icon.webp"> ### Macro-oriented asynchronous full-stack web-framework written in Nim with ♥ ![Nim language](https://img.shields.io/badge/>=1.6.14-1b1e2b?style=for-the-badge&logo=nim&logoColor=f1fa8c&label=Nim&labelColor=2b2e3b) ![Python language](https://img.shields.io/badge/>=3.7.x-1b1e2b?style=for-the-badge&logo=python&logoColor=f1fa8c&label=Python&labelColor=2b2e3b) ![JavaScript language](https://img.shields.io/badge/ES6-1b1e2b?style=for-the-badge&logo=javascript&logoColor=f1fa8c&label=JavaScript&labelColor=2b2e3b) ![TypeScript language](https://img.shields.io/badge/>=5.2.2-1b1e2b?style=for-the-badge&logo=typescript&logoColor=f1fa8c&label=TypeScript&labelColor=2b2e3b) [![wakatime](https://wakatime.com/badge/user/eaf11f95-5e2a-4b60-ae6a-38cd01ed317b/project/bbd13748-36e6-4383-ac40-9c4e72c060d1.svg?style=for-the-badge)](https://wakatime.com/badge/user/eaf11f95-5e2a-4b60-ae6a-38cd01ed317b/project/bbd13748-36e6-4383-ac40-9c4e72c060d1) [![Testing](https://img.shields.io/github/actions/workflow/status/HapticX/HappyX/tests.yml?label=Testing&logo=github&style=for-the-badge)](https://github.com/HapticX/happyx/actions/workflows/tests.yml) [![Documentation](https://img.shields.io/badge/Documentation-2b2e3b?style=for-the-badge&logo=data:image/svg%2bxml;base64,PHN2ZyB3aWR0aD0iODAwcHgiIGhlaWdodD0iODAwcHgiIHZpZXdCb3g9IjAgMCAyNCAyNCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4NCjxwYXRoIGQ9Im05IDExYy0wLjU1MjI4IDAtMSAwLjQ0NzctMSAxczAuNDQ3NzIgMSAxIDFoNmMwLjU1MjMgMCAxLTAuNDQ3NyAxLTFzLTAuNDQ3Ny0xLTEtMWgtNnptMCAzYy0wLjU1MjI4IDAtMSAwLjQ0NzctMSAxczAuNDQ3NzIgMSAxIDFoNmMwLjU1MjMgMCAxLTAuNDQ3NyAxLTFzLTAuNDQ3Ny0xLTEtMWgtNnptMy40ODItMTJjMC42Nzg4LTAuMDAxMDQgMS4yODEyLTAuMDAxOTYgMS44Mzc2IDAuMjI4NTFzMC45ODE4IDAuNjU3MTEgMS40NjEgMS4xMzc4YzAuOTQ5NiAwLjk1MjUxIDEuOTAwNyAxLjkwMzYgMi44NTMyIDIuODUzMiAwLjQ4MDcgMC40NzkyNSAwLjkwNzQgMC45MDQ1OSAxLjEzNzggMS40NjEgMC4yMzA1IDAuNTU2NDEgMC4yMjk2IDEuMTU4OCAwLjIyODUgMS44Mzc3LTAuMDAzOCAyLjUxNTktMWUtNCA1LjAzMTgtMWUtNCA3LjU0NzggMWUtNCAwLjg4NjUgMWUtNCAxLjY1MDMtMC4wODIxIDIuMjYxOS0wLjA4ODIgMC42NTU1LTAuMjg2OSAxLjI4MzktMC43OTY2IDEuNzkzNi0wLjUwOTYgMC41MDk2LTEuMTM4IDAuNzA4NC0xLjc5MzUgMC43OTY1LTAuNjExNyAwLjA4MjItMS4zNzU1IDAuMDgyMi0yLjI2MiAwLjA4MjFoLTYuMTMxNmMtMC44ODY1IDFlLTQgLTEuNjUwMyAxZS00IC0yLjI2Mi0wLjA4MjEtMC42NTU1MS0wLjA4ODEtMS4yODM5LTAuMjg2OS0xLjc5MzUtMC43OTY1LTAuNTA5NjYtMC41MDk3LTAuNzA4NC0xLjEzODEtMC43OTY1My0xLjc5MzYtMC4wODIyNC0wLjYxMTYtMC4wODIyLTEuMzc1NC0wLjA4MjE1LTIuMjYxOWwxZS01IC0xMC4wNjZjMC0wLjAyMjAyLTFlLTUgLTAuMDQzOTctMWUtNSAtMC4wNjU4My01ZS01IC0wLjg4NjQ5LTllLTUgLTEuNjUwMyAwLjA4MjE1LTIuMjYyIDAuMDg4MTMtMC42NTU1MSAwLjI4Njg3LTEuMjgzOSAwLjc5NjU0LTEuNzkzNSAwLjUwOTY2LTAuNTA5NjcgMS4xMzgtMC43MDg0MSAxLjc5MzUtMC43OTY1NCAwLjYxMTY2LTAuMDgyMjQgMS4zNzU1LTAuMDgyMiAyLjI2Mi0wLjA4MjE1IDEuMTgyNiA3ZS01IDIuMzY1MiAwLjAwMTY4IDMuNTQ3OC0xLjRlLTR6IiBjbGlwLXJ1bGU9ImV2ZW5vZGQiIGZpbGw9IiNmMWZhOGMiIGZpbGwtcnVsZT0iZXZlbm9kZCIvPg0KPC9zdmc+DQo=&label=HappyX&labelColor=3b3e4b)](https://hapticx.github.io/happyx/#/guide/) [![Tutorials](https://img.shields.io/badge/Tutorials-2b2e3b?style=for-the-badge&logo=data:image/svg%2bxml;base64,PHN2ZyB3aWR0aD0iODAwcHgiIGhlaWdodD0iODAwcHgiIGZpbGw9Im5vbmUiIHZpZXdCb3g9IjAgMCAxNiAxNiIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48cGF0aCBkPSJNOC4zMTYgMi4wN2EuNzUuNzUgMCAwMC0uNjMyIDBsLTcgMy4yNWEuNzUuNzUgMCAwMDAgMS4zNmwxLjQzNC42NjZBLjc0Ni43NDYgMCAwMDIgNy43NVYxMWEuNzUuNzUgMCAwMC4xNTguNDZMMi43NSAxMWwtLjU5Mi40Ni4wMDEuMDAyLjAwMS4wMDEuMDAzLjAwNC4wMDguMDFhMS44ODIgMS44ODIgMCAwMC4xMDMuMTJjLjA2OC4wNzYuMTY1LjE3OC4yOTIuMjk5LjI1NC4yNC42My41NTUgMS4xMzIuODY2QzQuNzA2IDEzLjM4OCA2LjIxNyAxNCA4LjI1IDE0YzIuMDM3IDAgMy40NC0uNjE1IDQuMzQ1LTEuMjY2YTUuMzIgNS4zMiAwIDAwLjk3Ny0uOTAyIDMuOTE2IDMuOTE2IDAgMDAuMzIyLS40NDhsLjAwNy0uMDEyLjAwMy0uMDA0di0uMDAyaC4wMDFjMC0uMDAxIDAtLjAwMi0uNjU1LS4zNjZsLjY1NS4zNjVBLjc1NC43NTQgMCAwMDE0IDExVjcuNzVhLjc0Ny43NDcgMCAwMC0uMTE4LS40MDRsMS40MzQtLjY2NmEuNzUuNzUgMCAwMDAtMS4zNmwtNy0zLjI1ek0xMi41IDcuOTg4TDguMzE2IDkuOTNhLjc1Ljc1IDAgMDEtLjYzMiAwTDMuNSA3Ljk4OHYyLjcyM2E1LjU4NSA1LjU4NSAwIDAwLjk5Ljc3NmMuODA0LjUgMi4wNDMgMS4wMTMgMy43NiAxLjAxMyAxLjcxMyAwIDIuODEtLjUxIDMuNDY4LS45ODRhMy44MTIgMy44MTIgMCAwMC43ODItLjc0NVY3Ljk4OHpNOCA4LjQyM0wyLjc4MSA2IDggMy41NzcgMTMuMjE5IDYgOCA4LjQyM3oiIGNsaXAtcnVsZT0iZXZlbm9kZCIgZmlsbD0iI2YxZmE4YyIgZmlsbC1ydWxlPSJldmVub2RkIi8+PC9zdmc+&label=HappyX&labelColor=3b3e4b)](https://github.com/HapticX/happyx-tutorial-series) [![VS Code Plugin](https://img.shields.io/badge/Plugin-1b1e2b?style=for-the-badge&logo=visualstudiocode&logoColor=f1fa8c&label=VS%20Code&labelColor=2b2e3b)](https://github.com/HapticX/hpx-vs-code) [![Python Bindings](https://img.shields.io/badge/Bindings-1b1e2b?style=for-the-badge&logo=python&logoColor=f1fa8c&label=Python&labelColor=2b2e3b)](https://pypi.org/project/happyx/) [![NodeJS Bindings](https://img.shields.io/badge/Bindings-1b1e2b?style=for-the-badge&logo=npm&logoColor=f1fa8c&label=NodeJS&labelColor=2b2e3b)](https://www.npmjs.com/package/happyx) </div> # Why HappyX? 💁‍♀️ > HappyX is a web framework with asynchronous, macro-oriented, full stack support. In HappyX you can write `single page`, `static site generation` and `server side rendering` applications 💡 You can write Rest API with HappyX also 🔌 HappyX is very simple to use. Keep your peace of mind 🙂 ## Why Not Jester/Karax? 🤔 Jester and Karax have many features, but Jester is a `backend web framework`, and Karax is a `frontend web framework`. HappyX is a `full-stack web framework` that combines the features of Jester and Karax and slightly improves them 🛠 With HappyX you mustn't learn new libraries/frameworks to switch between `frontend` and `backend`. You can switch between them easily using HappyX ✌ HappyX is macro-oriented web framework so you mustn't write a lot of code ✨ ## Features ⚡ - Multiple options for HTTP server! Happyx use `asynchttpserver` as default HTTP server (`httpx` via `-d:happyxHttpx`, `httpbeast` via `-d:happyxBeast` and `microhttpserver` via `-d:happyxMicro` as alternative HTTP servers). - Support `SPA` on `JS` backend and `SSR` on other backends. - Build HTML, CSS and pure JS with `buildHtml`, `buildStyle` and `buildJs` macros. - Request models that supports `JSON`/`XML`/`Form-Data`/`x-www-form-urlencoded` with `model` macro. - Routing and powerful path params. - Assignment path params with `pathParams` macro. - Powerful mounting sub-applications with `mount` macro. - Logging with `-d:debug`. - Automatic translate with `-d:hpxTranslate` or `-d:translate` flags. - CLI tool for `creating`, `serving` and `building` your projects. - Hot code reloading (only for `SPA` projects as of now). - Built-in UI library (to enable compile with `-d:enableUi` flag). - [Python bindings](https://pypi.org/project/happyx/) - [NodeJS bindings](https://www.npmjs.com/package/happyx) ## Minimal Example 👩‍💻 <table height="180px"> <thead> <tr> <td align="center">SPA</td> <td align="center">SSR</td> </tr> </thead> <tbody> <tr> <td> <pre lang="nim"><code>import happyx appRoutes "app": "/": "Hello, world!" </code></pre> </td><td> <pre lang="nim"><code>import happyx serve "127.0.0.1", 5000: "/": "Hello, world!" </code></pre> </td> <tr> </tbody> </table> # Get Started 👨‍🔬 ## Installing 📥 ### Nimble ```shell nimble install happyx@#head ``` ### Nimble via Git ```shell nimble install https://github.com/HapticX/happyx ``` ### PyPI ```shell pip install happyx ``` ## Usage ▶ ### SSR ```bash hpx create --name ssr_project --kind SSR cd ssr_project/src ``` Main script will be able in `/ssr_project/src/main.nim` #### Run 💻 | HTTP Server | Flag | | -------------------- | ---------- | | Default | no flags | | Httpx | `-d:httpx` | | MicroAsyncHttpServer | `-d:micro` | | HttpBeast | `-d:beast` | ### SPA ```bash hpx create --name spa_project --kind SPA --path-params cd spa_project ``` Main script will be able in `/spa_project/src/main.nim` #### Run 💻 Just run this command and see magic ✨ ```bash hpx dev --reload ``` ## Have A Question? 👀 [![StackOverflow](https://img.shields.io/badge/Overflow-1b1e2b?style=for-the-badge&logo=stackoverflow&logoColor=f1fa8c&label=Stack&labelColor=2b2e3b)](https://stackoverflow.com/search?q=%5Bnim-lang%5D+HappyX) ## Have A Nice Idea? 🍍 [Open issue](https://github.com/HapticX/happyx/issues/new/choose) or contact us hapticx.company@gmail.com ## Contributing 🌀 See [Contributing.md](https://github.com/HapticX/happyx/blob/master/.github/CONTRIBUTING.md) for more information ## Donate 💰 [![Tinkoff](https://img.shields.io/badge/Tinkoff-ffdd2d?style=for-the-badge&logo=tinkoff&logoColor=f1fa8c&label=Сбор%20Средств&labelColor=2b2e3b)](https://www.tinkoff.ru/cf/9HWYxcPF4pS) ## Star History ✨ <a href="https://star-history.com/#HapticX/happyx&Date"> <picture> <source media="(prefers-color-scheme: dark)" srcset="https://api.star-history.com/svg?repos=HapticX/happyx&type=Date&theme=dark" /> <source media="(prefers-color-scheme: light)" srcset="https://api.star-history.com/svg?repos=HapticX/happyx&type=Date" /> <img alt="Star History Chart" src="https://api.star-history.com/svg?repos=HapticX/happyx&type=Date" /> </picture> </a>
Macro-oriented asynchronous web-framework written in Nim with ♥
nim,web,web-framework,happyx,open-source,spa,ssr,backend,frontend,full-stack
2023-03-27T04:47:32Z
2024-05-20T03:47:46Z
2024-05-12T03:00:56Z
10
43
1,026
15
16
449
null
MIT
Nim
adamlui/chatgpt-apps
main
null
🤖 Apps that utilize the astounding power of ChatGPT or enhance its UX
ai,artificialintelligence,brave,brave-search,chat,chatbot,chatgpt,chatgpt3,chatgpt35-turbo,duckduckgo
2023-04-01T01:23:31Z
2024-05-22T19:05:47Z
null
5
39
6,671
0
24
262
null
NOASSERTION
JavaScript
Saran-pariyar/100_Days_Of_Frontend_Interview_Questions
main
# 100 Days Of Frontend Interview Questions This repo will contain 500 frontend interview questions which will have HTML, CSS, Javascript & React questions. I will add not any question in which we have to write code, just theory questions. I am myself learning 5 questions a day and will add those 5 questions a day in this repo till day 100 days. I'll be posting those 5 questions on social media too so if you want to see the 5 questions daily in your social media feed, connect with me on [Twitter](https://twitter.com/saran_pariyar1) and [LinkedIn](https://www.linkedin.com/in/saran-pariyar-5078b5217/). <b>I've also added some tables, no need to memorize them, just take a look at them few times and you'll easily be able to answer those concepts if asked in interview.</b> `Source of the questions: Google, ChatGPT, Github repos, etc` --- ## Tables of content | Techs | No. of Questions | Range | Day Range | | ---------- | :--------------: | :-----: | :----------: | | HTML | 50 | 0-50 | Day 1 - 10 | | CSS | 100 | 51-150 | Day 11 - 30 | | Javascript | 180 | 151-330 | Day 31 - 66 | | React | 170 | 331-465 | Day 67 - 93 | | Typescript | 35 | 466-500 | Day 94 - 100 | ## <br /> # HTML ## Day 1 1. ### What is HTML and what are it's basic components? HTML (Hyper Text Markup Language) is the standard markup language for creating web pages. It's basics components includes element, tags and attribute. 2. ### What is the purpose of Doctype in HTML? The Doctype declaration specifies the type of document being used and tell the web browser how to interpret the pages content. It is located at the top of the HTML document. 3. ### What is semantic HTML? Semantic HTML uses specific HTML elements to provide additional information about the structure and content of the page, making it more accessible and easy to read. 4. ### What are different types of list in HTML? There are 3 types of list in HTML. They are Ordered list, unordered list and definition list. 5. ### What is the difference between div element and span element? The div element is a block-level element that is used to group and organize other HTML elements while span element is an inline-element that is used to apply style or attribute to a specific part of a block-level element. ## Day 2 6. ### What is the difference between \<b> and \<strong> tags in HTML? The \<B> tag is used to apply bold formatting to text, while the \<strong> tag is used to indicate that the text is important and carries stronger semantic meaning than \<b>. 7. ### What are the different types of input field in HTML? There are several types of input field in HTML including text, password, checkbox, radio, button, submit, file and reset. 8. ### What is the difference between a GET request and POST request? The GET request is used to retrieve data from a web server, while a POST request is used to submit data to a web server. GET requests are less secure and have limit on the amount of data that can be sent while POST request have no limit and are more secure. 9. ### How do you create a hyperlink in HTML? Hyperlinks are created using \<a>(anchor) tag, which contains the URL of the link and the text to be displayed. 10. ### What is the purpose of the alt attribute in HTML? The alt attribute is used to provide a text description of an image for users who are unable in to see the image, such as those who use screen readers. ## Day 3 11. ### What are void elements in HTML? Void elements are those elements in HTML which do not have closing tag or do not need to be closed. Example: \<br />, \<img />, etc. 12. ### Can we display web page inside a webpage or is nesting of webpage possible? Yes, we can display a web page inside another HTML web page. HTML provides \<iframe> tag using which we can achieve this functionality. 13. ### What is the difference between \<link> tag and \<a> tag? The anchor tag \<a> is used to create a hyperlink to another web page or to a certain part of a web page and these links are clickable, whereas, link tag \<link> defines a link between a document and external resource and these are not clickable. 14. ### What are some of the advantages of HTML5 over its previous versions? Some advantages of HTML5 are: 1. It has multi media support 2. Improved performance (faster loading) 3. Better accessibility 15. ### What is the canvas element in HTML5? The \<canvas> element is a container that is used to draw graphics on the web page using scripting language like javascript. ## Day 4 16. ### What is an HTML form? HTML form is a section of a web page that allows users to input and submit data to the server. 17. ### What is the difference between HTML form's "action" and "method" attributes? The "action" attribute specifies the URL to which the form data is submitted, while the "method" attribute specifies the HTTP method when submitting the form data(either "GET" or "POST"). 18. ### What would happen if there is no text between the HTML tags? There would be nothing to format if there is not text present between the tags. Therefore, nothing will appear on the screen. Tags without closing tag like \<img> do not require any text between them. 19. ### What is the purpose of \<head> tag? The \<head> tag in HTML is used to provide metadata about document, such as title of page, links and other information that is not directly displayed on the web page. This information is used by browser and search engine to understand the content and structure of the web page. 20. ### What is the purpose of the \<meta> tag in HTML? The \<meta> tag is used to provide additional information about the webpage, such as author, keywords, description which is used by search engines to understand the content of the page. ## Day 5 21. ### What is the purpose of the \<script> tag in HTML? The \<script> tag is either used to embed client-side script(Javascript), or it points to an external script file through the src attribute. 22. ### What is the purpose of the viewport meta tag? Viewport meta tag lets us control the width and scaling of the viewport so that it's sized correctly on all devices. 23. ### What is the purpose of the \<noscript> tag in HTML? The \<noscript> tag in used to display text for those browsers which does not support script tag or the browser disabled the script by user. 24. ### What is the purpose of the \<fieldset> tag in HTML? Fieldset is used to group related elements in a form. The \<fieldset> tag draws a box around the related elements. 25. ### what is the difference between HTML tag and HTML element? HTML tag is just opening or closing entity. For example \<p> and \</p> are called HTML tags. <br /> HTML element consists of opening tag, closing tag and content(optional for content-less tags). For example: \<p> This is the content \</p>, this complete thing is called HTML element. ## Day 6 26. ### How do you change the color of bullets? The color of the bullet is always the color of the first text of the list. So, if we can change the color of the bullets by changing the color of the text. 27. ### What will happen if we don't put \<!Doctype HTML> tag? If we don't put \<!Doctype HTML> tag, the browser will not be able to identify that it is an HTML document and HTML5 tags will not function properly. 28. ### What is HTML5 web storage? HTML5 Web Storage is a mechanism in modern web browsers that allows web applications to store data locally within the user's browser. It provides two storage options: Local Storage and Session Storage. 29. ### What is the use of "target" attribute in HTML? The "target" attribute is used to specify where to open the linked document when the user clicks on the hyperlink. 30. ### What is the use of "em" tag? The "em" tag is a semantic tag which is used to apply emphasis to a word or phrase within a paragraph. <br /> Example: The sentence "I really enjoyed cycling" could be written using the "em" tag to emphasize the word "really": "I \<em>really \</em> enjoyed the concert last night." ## Day 7 31. ### What is the purpose of \<header> tag? The \<header> tag is used to defined the header section of a webpage which includes site logo, navigation menu, and other introductory content. 32. ### What is the purpose of \<nav> tag? The \<nav> tag used to define a section of a webpage that contains links to other pages or sections of the current page. 33. ### What is the purpose of \<main> tag? The \<main> tag is used to define the main content of a webpage, where the most important information is displayed. 34. ### What is the purpose of \<article> tag? The \<article> tag is used to define a self-contained piece of content, such as a blog post, news article, or product review. 35. ### What is the purpose of \<section> tag? The \<section> tag is used to group together related content and can be thought of as a container for content. ## Day 8 36. ### What is the purpose of \<aside> tag? The \<aside> tag is used to define content that is related to the main content of a webpage, but is not directly part of it. It is often used to provide additional information to the main content. 37. ### What is the purpose of \<footer> tag? The \<footer> tag is used to define the footer section of a webpage which contains copyright information, contact details, and other legal content. 38. ### What is the purpose of \<figure> tag? The \<figure> tag is used to group together media content, such as images or video with their associated captions or explanatory text. 39. ### What is the purpose of \<figcaption> tag? The \<figcaption> is used to define the caption or description of a media that is contained within a \<figure> tag. 40. ### What is the purpose of \<blockquote> tag? The \<blockquote> tag is used to indicate that a section of text is being quoted from another source. It is used to highlight a particularly important quote. ## Day 9 41. ### What is \<datalist> tag? The \<datalist> tag is new addition to HTML5, and it is used to provide a list of pre-defined options for an input field. It allows us to create dropdown list of options. 42. ### What is the use of \<option> tag? The \<option> tag is used to define an option in a dropdown list. The 'value' attribute in \<option> tag is specifies the value of the option that will be submitted when the form is submitted. 43. ### How can you make an image clickable in html? To make an image clickable, we have to use anchor tag with the image tag nested inside it and specify where we want to be directed to in "href" attribute when image in click. 44. ### Details about all tags used in HTML table. | Tag Name | Definition | | ----------- | -------------------------------------------------------------- | | \<table> | Defines a table | | \<caption> | Defines a title or caption for a table | | \<thead> | Defines the header of a table | | \<tbody> | Defines the body of a table | | \<tfoot> | Defines the footer of a table | | \<tr> | Defines a row in a table | | \<th> | Defines a header cell in a table | | \<td> | Defines a standard cell in a table | | \<colgroup> | Defines a group of columns in a table | | \<col> | Specifies column properties for each column within \<colgroup> | | \<caption> | Defines a title or caption for a table | 45. ### HTML table attributes. | Attribute | Description | | ----------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | | `border` | Specifies the width of the border around the table. | | `cellpadding` | Specifies the amount of padding to be added to the cells in the table. | | `cellspacing` | Specifies the amount of space to be added between cells in the table. | | `width` | Specifies the width of the table. | | `height` | Specifies the height of the table. | | `align` | Specifies the horizontal alignment of the table within its containing element. Possible values are `left`, `center`, `right`, and `justify`. | | `valign` | Specifies the vertical alignment of the table within its containing element. Possible values are `top`, `middle`, `bottom`, and `baseline`. | | `bgcolor` | Specifies the background color of the table. | | `bordercolor` | Specifies the color of the border around the table. | | `border-collapse` | Specifies whether the borders of the cells in the table should be collapsed into a single border or not. Possible values are `collapse` and `separate`. Default is `separate`. | | `border-spacing` | Specifies the amount of space to be added between the cells in the table when the `border-collapse` property is set to `separate`. | | `caption` | Specifies the title or caption of the table. | | `caption-side` | Specifies the side of the table on which to place the caption. Possible values are `top`, `bottom`, `left`, and `right`. Default is `top`. | | `empty-cells` | Specifies whether or not to display borders around empty cells in the table. Possible values are `show` and `hide`. Default is `show`. | | `frame` | Specifies which sides of the table should have borders. Possible values are `void`, `above`, `below`, `hsides`, `vsides`, `lhs`, `rhs`, and `box`. | | `rules` | Specifies which parts of the table's border should be shown. Possible values are `none`, `groups`, `rows`, `cols`, and `all`. Default is `none`. | | `summary` | Specifies a summary of the contents of the table. | | `dir` | Specifies the direction of the table's text. Possible values are `ltr` (left-to-right) and `rtl` (right-to-left). | ## Day 10 46. ### What is the purpose of the "data-\*" attribute in HTML? The data=\* attribute allows us to store additional information about an HTML element that is not otherwise displayed on the page, but may be useful to scripts that interact with the page. 47. ### What is the purpose of \<legend> tag? The \<legend> tag provides semantic caption or title for a \<fieldset> element. It is optional but better for better to have for accessibility. 48. ### What are HTML entities? HTML entities are codes used to represent special characters in HTML that cannot be easily typed or displayed. Example: `&amp` represents (`&`) 49. ### What is the purpose of the \<picture> element in HTML5, and how is it used to optimize images? The \<picture> element in HTML5 is used to provide multiple versions of an image at different resolutions or sizes, and allows the browser to choose the best version to display based on the user's device and viewport size. 50. ### HTML ARIA attributes. | Attribute | Description | Example | | ------------------ | --------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------- | | `aria-label` | Provides a short, descriptive label for an element that isn't already provided by its text content or associated label element. | `<button aria-label="Search">🔍</button>` | | `aria-describedby` | References another element that provides additional information about the current element, such as instructions or help text. | `<input type="text" aria-describedby="name-help"> <div id="name-help">Enter your full name</div>` | | `aria-required` | Indicates which form fields are mandatory and must be filled out before the form can be submitted. | `<input type="text" aria-required="true">` | | `aria-expanded` | Indicates whether a collapsible element like an accordion or dropdown menu is currently expanded or collapsed. | `<button aria-expanded="true" aria-controls="menu">Menu</button> <div id="menu">...</div>` | | `aria-disabled` | Indicates whether an element is currently disabled or not, such as a disabled button. | `<button aria-disabled="true">Submit</button>` | | `aria-checked` | Indicates whether a checkbox or radio button is currently checked or not. | `<input type="checkbox" aria-checked="true">` | | `aria-haspopup` | Indicates that an element has a pop-up or dropdown menu associated with it. | `<button aria-haspopup="true" aria-controls="menu">Menu</button> <div id="menu">...</div>` | | `aria-selected` | Indicates that an element is currently selected or highlighted, such as a selected item in a list | `<li aria-selected="true">Item 1</li>` | | `aria-hidden` | Indicates that an element is currently hidden or not visible to users, such as content that is only revealed when certain conditions are met. | `<div aria-hidden="true">Hidden content</div>` | <br /> --- # CSS ## Day 11 51. ### What is CSS? CSS stands for Cascading Style Sheets. CSS is used to define styles for web pages, including the design, layout and variations in display for different devices and screen sizes. 52. ### What are the possible ways to apply CSS styles to a web page? There are 3 ways to apply CSS styles to a web page. They are: 1. Inline CSS 2. Internal CSS 3. External CSS 53. ### What are some new features in CSS3? Some new features of CSS3 are: 1. New selectors. 2. Pseudo-classes 3. Rounded Corners(Border-radius) 4. Text shadow 5. Gradient, etc 54. ### What are the css selectors? CSS selector is a part of css rule which is used to apply styles to a target specific HTML element or group of elements. 55. ### What is universal selector in css? The universal selector is a css selector that can be used to apply styles to all elements on a page or to reset styles for all elements to their default values ## Day 12 56. ### Explain the difference between classes and IDs in CSS. Classes are used to group together elements with similar styles, while IDs are used to target specific elements on a page. IDs must be unique, while classes can be used multiple times on a page. 57. ### Explain box model in CSS. The box model in CSS is a way of representing elements as boxes with content, padding, borders, and margins. The content area is the actual content of the element, the padding is the space between the content and the border, the border is a line around the element, and the margin is the space between the border and the surrounding elements. 58. ### What is the difference between margin and padding in CSS? Margin is the space between the border of an element and the surrounding elements, while padding is the space between the content of an element and its border. 59. ### Explain the CSS display property and its values. The CSS display property controls how an element is displayed on a page. The possible values are block, inline, inline-block, none, and others. 60. ### What is the CSS position property and its values? The CSS position property controls how an element is positioned on a page. The possible values are static, relative, absolute, fixed, and sticky ## Day 13 61. ### What is the difference between absolute and relative positioning in CSS? Relative positioning moves an element relative to its current position without affecting the position of other elements, while absolute positioning positions an element relative to its closest parent element, potentially affecting the position of other elements. 62. ### Explain the CSS float property and its values. The CSS float property controls the alignment of an element in a page layout. The possible values include left, right, none, and inherit. When an element is floated left or right, other elements will flow around it. 63. ### What is the CSS clear property? The CSS clear property controls whether an element is allowed to float next to another element or not. The possible values include left, right, both, and none. When an element is cleared, it will be moved below any floated elements. 64. ### What is the CSS z-index property? The CSS z-index property controls the stacking order of elements on a page. Elements with a higher z-index value are displayed on top of elements with a lower z-index value. The default value of z-index is auto. 65. ### What are CSS pseudo-classes? Give some examples. CSS pseudo-classes are selectors that target elements based on their state or position in the document. Some examples include :hover, :active, :focus, :first-child, :last-child, and :nth-child. ## Day 14 66. ### What is CSS animation? CSS animation is a way to add movement and dynamism to the HTML element on a web pages using CSS. It is used to enhance users experience. 67. ### How do you define a CSS animation? We can define CSS animation by creating a set of keyframes that specify the start and end states of an animation. We can apply the animation to an element using the animation property in css. 68. ### How do you trigger a CSS animation to start and stop? You can trigger a CSS animation to start and stop using various CSS selectors and events. For example, you can use the :hover pseudo-class to start an animation when a user hovers over an element. 69. ### How do you create a responsive CSS animation? We can create responsive CSS animation by using relative units like percentages instead of fixed units like pixels. We can also use media queries to adjust the animation properties based on the size of the viewport. 70. ### How do you optimize CSS animations for performance? We can optimize CSS animation for performance by using techniques like reducing the number of elements being animated, minimizing the use of box-shadow and text-shadow, and using transform and opacity instead of top, left, bottom, and right. ## Day 15 71. ### How do you debug CSS animations and troubleshoot common issues, such as animations not playing or playing too quickly? We can debug CSS animations by checking for typos or syntax errors, checking browser's compatibility if it supports the property or not, checking for code that may override the animation. 72. ### What is transition in CSS? A transition in CSS is a way to create animation effects when a property of an HTML element changes, allowing developers to smoothly animate changes to an element's style over a specified duration. 73. ### Can you specify multiple CSS transitions for an element? Yes, you can specify multiple CSS transitions for an element by separating them with commas in the "transition" property. 74. ### What are gradients in CSS? It is a property of CSS which allows you to display a smooth transformation between two or more than two specified colors. There are two types of gradients in CSS. They are: Linear gradient and radial gradient. 75. ### What is the difference between linear and radial gradient in CSS? A linear gradient creates a smooth transition between two or more colors in a straight line while the radial gradient creates a smooth transition between two or more colors in a circular shape. ## Day 16 76. ### What is flexbox? Flexbox is a CSS3 layout module which provides more flexible and efficient way to align arrange and align the elements within the container. It is widely supported by the modern web browser. 77. ### What is the difference between flex-grow and flex-shrink properties in Flexbox? `flex-grow` is a property in Flexbox that specifies how much a flex item should grow relative to the other items in the container, while `flex-shrink` specifies how much a flex item should shrink relative to the other items when there is not enough space available in the container. 78. ### What is the difference between flex-wrap: nowrap and overflow: hidden in CSS? `flex-wrap: nowrap` prevents flex items from wrapping to the next line when they overflow the container, while `overflow: hidden` hides any content that overflows the container's boundaries. 79. ### What is the `gap` property in Flexbox, and how is it used to add spacing between flex items? The `gap` property in Flexbox sets the spacing between flex items, both horizontally and vertically. It is a shorthand for `row-gap` and `column-gap`. 80. ### How do you center an element using flexbox? To center an element using flexbox, we need to set the parent container's display property to `flex` and use the `justify-content` & `align-items` properties with the value of `center`. ## Day 17 81. ### What is CSS grid? CSS grid is a layout system in CSS that allows you to create complex, multi-dimensional grid layouts for web pages. 82. ### How do you use the grid-template-columns and grid-template-rows properties to define the size and number of columns and rows in a grid? You can use the grid-template-columns and grid-template-rows properties to define the size and number of columns and rows in a grid. For example, you might define a grid with three columns, where the first column is 100 pixels wide, the second column is 50% of the available width, and the third column takes up the remaining space, with the following CSS: ``` grid-template-columns: 100px 50% 1fr; ``` 83. ### How do you specify the number of columns in a grid using CSS? You can specify the number of columns in a grid by using the `grid-template-columns` property. For example, `grid-template-columns: repeat(3, 1fr)` will create a grid with three columns that are each one fraction of the available space. 84. ### How do you align items within a grid using CSS? You can align items within a grid using the `justify-items` and `align-items` properties. justify-items aligns items horizontally within a grid, while `align-items` aligns items vertically. 85. ### What is the difference between grid-row and grid-column in CSS Grid? `grid-row` is used to position an item within a row, while `grid-column` is used to position an item within a column. Both properties can take a value of either a number or a named grid line. # Day 18 86. ### What is a CSS transition? A CSS transition is a way to add a gradual animation effect to an element when its CSS properties change. 87. ### What is the purpose of the `transition-property` property in CSS transitions? The `transition-property` property specifies which CSS property or properties should be transitioned when a change occurs. 88. ### What is the function of the `transition-timing-function` property in CSS transitions? The `transition-timing-function` property specifies the rate of change of the transition over time. This can be used to control the speed of the transition and how it accelerates and decelerates. Example: `ease-in`, `ease`, `ease-out`. 89. ### How do you delay the start of a CSS transition? You can delay the start of a CSS transition using the transition-delay property. This property specifies the amount of time to wait before starting the transition, in seconds or milliseconds. Example: `transition-delay: 1s;` 90. ### How do you apply a transition to multiple properties at once? You can apply a transition to multiple properties at once by separating the property names with commas in the `transition-property` property. example, `transition-property: background-color, color, opacity;` # Day 19 91. ### What are CSS 2D Transforms? CSS 2D Transforms are a set of properties that allow you to transform the position, rotation, scaling, and skewing of an element in two dimensions, without affecting the surrounding elements. 92. ### Can you use negative values with CSS 2D transforms? If so, what effect do they have? Yes, you can use negative values with CSS 2D transforms. The effect of negative values depends on the function being used. For example, a negative value for the `rotate()` function will rotate the element counterclockwise instead of clockwise. 93. ### What are the properties of CSS 2D transform? The properties of CSS 2D Transforms are: 1. transform: specifies the transformation functions to be applied to an element 2. transform-origin: specifies the point around which the transformation should occur 3. translate: moves an element along the x-axis and/or y-axis 4. rotate: rotates an element clockwise or counterclockwise around a given point 5. scale: increases or decreases the size of an element 6. skew: skews an element along the x-axis and/or y-axis 94. ### Can you apply multiple transformations to the same element using CSS 2D transforms? Yes, you can apply multiple transformations to the same element using CSS 2D transforms. You can do this by separating each transformation function with a space in the `transform` property. 95. ### What is the difference between the `translate()` and `rotate()` functions? The `translate()` function is used to move an element along the x-axis and/or y-axis, while the `rotate()` function is used to rotate an element clockwise or counterclockwise around a given point. # Day 20 96. ### What are the properties of CSS 3D transform? The properties of CSS 3D Transforms are: 1. transform-style: determines whether an element's children are transformed in 3D space 2. perspective: determines the distance between the viewer and the element, affecting the appearance of 3D transforms 3. perspective-origin: specifies the origin point of the perspective 4. transform: applies a 3D transformation to an element, such as rotateX(), rotateY(), rotateZ(), translateX(), translateY(),translateZ(), scale(), and skew() 5. transform-origin: specifies the origin point of the transformation 6. backface-visibility: determines whether or not the back face of an element should be visible when the element is rotated. 97. ### What is the difference between RGB and RGBA colors? RGBA is similar to RGB, but it includes an additional alpha value that represents the opacity of the color. The alpha value is a number between 0 and 1, with 0 being completely transparent and 1 being completely opaque. 98. ### What is color contrast? Color contrast is how much the colors of the text and the background of a website stand out from each other. 99. ### How does color contrast applies to accessibility in web design? It is important because people with visual impairments or color blindness may have trouble seeing things if there is not enough contrast. There are guidelines for making sure there is enough contrast which makes the website content more accessible to the people. 100. ### what is css filter? CSS filters are a set of visual effects that can be applied to HTML elements using CSS. Filters can be used to adjust the appearance of an element in various ways, such as changing its color, blurring or sharpening it, adjusting its brightness or contrast, and more. # Day 21 101. ### What are some important considerations when using text effects? Important considerations include making sure the text remains readable and legible, ensuring the effect is appropriate for the overall design, and avoiding overuse of effects. 102. ### What is a CSS sprite? A CSS sprite is a technique used to combine multiple images into a single image file, reducing the number of HTTP requests required to load the page and improving loading times. 103. ### What is the :not() pseudo-class used for in CSS? The :not() pseudo-class is used to select all elements that do not match the specified selector. 104. ### How do you target all even or odd elements using a pseudo-selector in CSS? The :nth-child() pseudo-selector can be used with the "even" or "odd" keyword to target all even or odd elements of a parent element. 105. ### What is the :visited pseudo-class used for in CSS? The :visited pseudo-class is used to target a link that has been visited by the user. # Day 22 106. ### How do you target the first letter of a text element using a pseudo-selector in CSS? The ::first-letter pseudo-element is used to target the first letter of a text element. 107. ### What is the :active pseudo-class used for in CSS? The :active pseudo-class is used to target an element when it is in an active state, such as when a user clicks on it. 108. ### What is the :lang() pseudo-class used for in CSS? The lang() pseudo-class is used to target elements based on the language attribute of the HTML document. For example, you can use :lang(en) to target all elements in English, or :lang(fr) to target all elements in French. 109. ### What is the :checked pseudo-class used for in CSS? The :checked pseudo-class is used to target form elements that have been selected by the user, such as checkboxes or radio buttons. This can be used to change the appearance or behavior of the selected element. 110. ### What is the @media rule in CSS? The @media rule in CSS allows developers to apply styles to a web page based on the size of the device or screen being used to view it, making it more responsive. # Day 23 111. ### What is the difference between fluid and fixed layouts in CSS? A fluid layout in CSS adjusts its width and height based on the size of the screen, while a fixed layout has a set width and height. Fluid layouts use percentages to set their dimensions, while fixed layouts use pixels. 112. ### How do you make images responsive in CSS? To make images responsive in CSS, you can use the max-width: 100% property, which will make the image scale down proportionally to fit the width of its container while maintaining its aspect ratio. 113. ### What is the difference between min-width and max-width in CSS media queries? In CSS media queries, min-width sets the minimum screen width at which a set of styles will be applied, while max-width sets the maximum screen width at which a set of styles will be applied. For example, if you use min-width: 768px, the styles will only be applied to screens that are 768 pixels wide or larger, while if you use max-width: 768px, the styles will only be applied to screens that are 768 pixels wide or smaller. 114. ### What is the difference between responsive and adaptive design in CSS? Responsive design in CSS adapts to different screen sizes and devices by using flexible grids, fluid images, and media queries to adjust the layout and content of the website. Adaptive design in CSS, on the other hand, uses predefined layout sizes and breakpoints to adjust the layout and content based on the screen size and device being used. 115. ### How do you optimize responsive images for faster loading in CSS? To optimize responsive images for faster loading in CSS, you can use smaller file formats like JPEG and PNG, reduce the image size and resolution, and use lazy loading to only load images when they are needed. # Day 24 116. ### How does calc() work in css? The CSS3 calc() function allows us to perform mathematical operations on property values. Example: `div{width: calc(100px + 50px)}` 117. ### What is the overflow property in CSS used for? The overflow property specifies what should happen if content overflows an element’s box. It's possible values are: auto, none, scroll, visible. 118. ### What is the difference between `visibility:hidden` and `display:none`? `visibility:hidden` means the tag is not visible, but the space is allocated for it on the page. `display:none` means the tag will not appear at all and there will be no space allocated for it between the other tags. 119. ### Are quotes mandatory in URL’s? Quotes are optional in URL’s, and it can be single or double. 120. ### Explain what are web-safe fonts and fallback fonts. Web-safe fonts are fonts that are commonly installed on most devices and web browsers. Fallback fonts are alternative fonts specified in case the primary font is not available on the user's device. # Day 25 121. ### What is the purpose of CSS content property? The CSS content property is used to insert content before or after an HTML element using the ::before and ::after pseudo-elements. 122. ### How can we create custom cursor in CSS? To create a custom cursor in CSS, you can use the "cursor" property and set it to "url" with the path to the image file that you want to use as the cursor. 123. ### What is the "line-height" property in CSS? The "line-height" property in CSS is used to control the spacing between lines of text within an element. 124. ### What is specificity in CSS? Specificity in CSS is a way of determining which CSS rule applies to an element. It is based on the number of selectors and their types in a CSS rule. Specificity is calculated using a formula: inline styles have the highest specificity, followed by IDs, classes, and then elements. 125. ### Which property is used to control the scrolling of an image in the background? The `background-attachment` property is used to control the scrolling of an image in the background. # Day 26 126. ### Which CSS property is used to capitalize text or convert text to uppercase or lowercase letters? The text-transform property is used to capitalize text or convert text to uppercase or lowercase letters. 127. ### What is word-wrap property in CSS3? The word-wrap property allows long words to be able to be broken in order to prevent overflow and wrap onto the next line. 128. ### Describe ‘rule set’ in CSS? It is an instruction that tells browser on how to render a specific element on the HTML page. It consists of a selector with a declaration block that follows. 129. ### How can you create a CSS-only dropdown menu? A CSS-only dropdown menu can be created by using the "hover" pseudo-class and the "display" property. When the user hovers over a parent element, the "display" property of the child element can be set to "block" or "inline-block" to reveal the dropdown menu. 130. ### What are the potential drawbacks of using CSS frameworks such as Bootstrap? Using CSS frameworks like Bootstrap can lead to bloated code, difficulties in customizing the design, and unoriginal or generic looks # Day 27 131. ### What is Tailwind CSS? TailwindCSS is a utility-first CSS framework that provides pre-defined CSS classes that can be used to rapidly build custom user interfaces. 132. ### How do you customize TailwindCSS to match a specific design system or brand guidelines? TailwindCSS provides a configuration file that can be customized to match a specific design system or brand guidelines. This file includes variables for colors, fonts, spacing, and more, which can be adjusted to match the project's needs. 133. ### Can you explain the difference between utility classes and component classes in TailwindCSS? Utility classes in TailwindCSS are small, single-purpose classes that provide a specific styling utility, such as padding, margin, or text alignment. Component classes, on the other hand, are larger classes that provide a collection of styles for a specific component, such as a button or card. 134. ### How do you optimize the file size of TailwindCSS in a production environment? TailwindCSS provides a purge option that removes any unused classes from the final CSS file, reducing its size. This option should be enabled in a production environment to minimize the CSS file size. 135. ### What are some common performance issues with TailwindCSS, and how do you optimize performance in your projects? Common performance issues with TailwindCSS include the size of the CSS file and the number of classes being generated. To optimize performance, it is important to enable the purge option in a production environment, use a caching mechanism to speed up builds, and avoid generating unnecessary classes. # Day 28 136. ### What is CSS preprocessor? A CSS preprocessor is a scripting language that extends the capabilities of CSS which makes it easier and more efficient to write CSS code. 137. ### What is the difference between a CSS preprocessor and a post-processor? A CSS preprocessor generates CSS code from source code written in a higher-level scripting language, whereas a post-processor takes existing CSS code and applies transformations or optimizations to it. In other words, a preprocessor is used during development, while a post-processor is used after development to optimize performance. 138. ### What is SASS? Sass is a CSS preprocessor that adds functionality to CSS, such as variables, nesting, and more. It allows us to write more efficient code and simplifies task like browser compatibility. 139. ### what is the difference between sass and scss? Sass and SCSS are both CSS pre-processors and are very similar, but they have different syntax. Sass has a more concise and less verbose syntax, with no curly braces and no semicolon whereas SCSS has a syntax that is almost identical to standard CSS, with curly braces and semicolons 140. ### Can you describe a situation where you would choose not to use Sass? A developer might choose not to use Sass if they prefer to stick with standard CSS for simplicity or if they are working on a small project where the added features of Sass may not be necessary. # Day 29 141. ### What is SASS nesting? Sass nesting is a feature that allows us to write CSS selectors that are nested within one another which makes our code easier to read and understand. 142. ### What are variables in Sass? Variables in Sass allow you to assign values to a variable name, which can then be used throughout your stylesheet. 143. ### What are mixins in Sass? A mixin is a feature in Sass that allows you to define a set of CSS styles that can be reused throughout your stylesheet. Example: ``` @mixin my-text-style { font-size: 16px; font-weight: bold; } /* we can use the whole style like this now */ h1 { @include my-text-style; } ``` 144. ### What is Sass inheritance? Inheritance allows us to define a set of styles in one selector, called a "parent", and then extend those styles to another selector, called a "child". Example: ``` @mixin button-style($bg-color, $text-color) { background-color: $bg-color; color: $text-color; display: inline-block; padding: 8px 16px; } // Use the mixin to create different button styles .button-primary { @include button-style(#007bff, #fff); } .button-secondary { @include button-style(#6c757d, #fff); } ``` 145. ### How do you use 'if' statements in SCSS? In SCSS, you can use the @if directive to add conditional logic to your styles. Example: ``` //declaring variable $background-color: #333; body { @if $background-color == #333 { background-color: $background-color; } @else { background-color: #fff; } } ``` # Day 30 146. ### What are some common mistakes that developers make when writing CSS, and how do you avoid them? Common mistakes in CSS include over-reliance on frameworks, lack of organization, and using non-semantic HTML 147. ### How do you balance the need for visual aesthetics with the need for website or application functionality? I balance the need for visual aesthetics with the need for functionality by designing with the user in mind, testing designs with real users, and incorporating feedback and data into the design process. 148. ### How do you ensure that your CSS is optimized for search engine optimization (SEO)? We can ensure CSS is optimized for SEO by minimizing code bloat to improve load time, use relevant class names, avoiding inline styles, etc. 149. ### How do you ensure that your CSS is scalable and maintainable for large projects? We can ensure that our CSS is scalable and maintainable for large project by: 1. Using proper naming convection for ID and classes. 2. Using preprocessor like sass, less, etc. 3. Using performance enhancing techniques like lazy-loading, etc. 150. ### How do you use CSS variables to create more flexible and dynamic designs, and what are some use cases where variables are particularly useful? CSS variables can improve maintainability and reduce repetition. Variables are particularly useful for theming, creating responsive designs, and making changes to global styles. # Javascript # Day 31 151. ### What is javascript? JavaScript is a programming language used to create interactive and dynamic web pages, as well as to create more complex applications on the client and server side. 152. ### What is the difference between null and undefined in JavaScript? Null represents a deliberate non-value or absence of any object value, while undefined represents a lack of value or an uninitialized variable. 153. ### What is the difference between == and === in JavaScript? The double equals (==) compares the value of two variables, while the triple equals (===) compares both the value and the data type of two variables. 154. ### What is the difference between let, const, and var in JavaScript? The var keyword is used for variable declaration in older versions of JavaScript, while let and const were introduced in ES6. Var has a function-level scope, while let and const have block-level scope. Additionally, const variables cannot be reassigned after being declared, while let variables can be. 155. ### How do you convert a string to a number in JavaScript? You can use the `Number()` or `parseFloat()` functions to convert a string to a number in JavaScript. # Day 32 156. ### What is the purpose of the array slice method? The `slice()` method returns the selected elements in an array as a new array object. It selects the elements starting at the given start argument, and ends at the given optional end argument without including the last element. 157. ### What is the purpose of the array splice method? The `splice()` is an array method in JavaScript that allows you to modify an array by adding, removing, or replacing elements. It takes two required parameters: the index at which to start making changes to the array, and the number of elements to remove. It also has an optional parameter for adding one or more elements to the array. 158. ### What is the difference between slice and splice? | slice | splice | | -------------------------------------------- | :---------------------------------------------: | | Doesn't modify the original array(immutable) | Modifies the original array(mutable) | | Returns the subset of original array | Returns the deleted elements as array | | Used to pick the elements from array | Used to insert or delete elements to/from array | 159. ### What are arrow function? Arrow functions are a shorthand syntax for writing function expressions in JavaScript. They use the `=>` syntax to separate the function parameters from the function body and have a concise syntax that makes them ideal for writing short, one-liner functions. 160. ### What are first class function? First-class functions means when functions in that language are treated like any other variable. This means that functions can be assigned to variables, passed as arguments to other functions, and returned from functions. # Day 33 161. ### What is a pure function? A pure function is a function that, given the same input, will always return the same output and does not have any observable side effect. 162. ### What is the scope chain in JavaScript? The scope chain is how Javascript looks for variables. When looking for variables through the nested scope, the inner scope first looks at its own scope. 163. ### What is a higher order function? A higher-order function is a function that takes one or more functions as arguments and/or returns a function as its result. 164. ### What is hoisting? Hoisting is a behavior in JavaScript where variable and function declarations are moved to the top of their respective scopes during compilation or interpretation, before the code is actually executed. This means that you can use a variable or function before it has been declared, but only if it is declared using the `var` or `function` keywords. However, only the declarations themselves are hoisted, not their values or assignments. 165. ### What are modules in javascript? Modules are a way of organizing code into separate files or components that can be reused in different parts of an application. Modules allow you to encapsulate data and functionality, making your code more organized and easier to maintain # Day 34 166. ### What is a closure in JavaScript? In JavaScript, a closure is created when a function is defined inside another function and the inner function is returned from the outer function. The inner function has access to the variables in the outer function, even after the outer function has returned. ``` function outer() { var name = "John"; function inner() { console.log("Hello " + name); } return inner; } var greeting = outer(); greeting(); // Output: "Hello John" ``` 167. ### What is callback in JavaScript? A callback is a function that is passed as an argument to another function and is intended to be called when the first function has completed its task. The primary use of callbacks in JavaScript is to handle asynchronous operations, such as making an AJAX request or waiting for a user to click a button. 168. ### What is a callback hell in javascript? Callback hell is a term used to describe a situation where multiple callbacks are nested within one another, making the code difficult to read, debug, and maintain. It often arises when dealing with asynchronous operations, such as making HTTP requests or working with databases. 169. ### What is memoization? Memoization is a technique used in computer science to speed up the execution of functions by caching the results of expensive function calls and returning the cached result when the same inputs occur again. 170. ### What is the purpose of the "use strict" statement in JavaScript? The "use strict" statement is used to enable strict mode in JavaScript, which helps to prevent common errors and make the code more secure. It prevents things like use of undeclared variable, use of keywords as variable name, using duplicate property names in objects, etc. # Day 35 171. ### What is a cookie in javascript? A cookie is a small data file that a website stores on a user's computer or device. Cookies are commonly used to remember user preferences and login information, and to track user activity on a website. Cookies can also have an expiration date, after which they are automatically deleted. 172. ### What are the differences between cookie, local storage and session storage? | Feature | Cookie | Local storage | Session storage | | --------------------------------- | ---------------------------------- | ---------------- | ------------------- | | Accessed on client or server side | Both server-side & client-side | client-side only | client-side only | | Lifetime | As configured using Expires option | until deleted | until tab is closed | | SSL support | Supported | Not supported | Not supported | | Maximum data size | 4KB | 5 MB | 5MB | 173. ### What is AJAX? AJAX (Asynchronous JavaScript and XML) is a technique to create more dynamic and interactive web pages. It allows a web page to update content without requiring the page to reload. With AJAX, data is sent to and from the server in the background, using JavaScript and other data formats like JSON. This makes web applications more seamless and responsive, providing users with a faster and more engaging browsing experience. 174. ### What is the difference between synchronous and asynchronous code in JavaScript? Synchronous code executes tasks in sequence and waits for each task to complete before moving on, while asynchronous code can execute multiple tasks simultaneously and doesn't wait for them to complete before moving on to the next task. 175. ### What are promises in JavaScript? Promises in JavaScript are a way of handling async operations. They help us write async code that looks and behaves like sync code, making it easier to read and maintain. Promises have three states: pending, fulfilled, and rejected. # Day 36 176. ### Who created Javascript? JavaScript was created by Brendan Eich in 1995. 177. ### What is the difference between async/await and promises in JavaScript? Both async/await and Promises are used to handle asynchronous operations in JavaScript. However, async/await is built on top of Promises which makes asynchronous code more readable, easier to write and reason about. 178. ### How do you handle errors in javascript? In JavaScript, errors can be handled using try-catch blocks. The code that might generate an error is enclosed in a try block, and if an error occurs, the catch block is executed. The catch block can then handle the error, such as by logging it to the console or displaying an error message to the user. 179. ### What is NaN in javascript? NaN (Not A Number) is a special value in JavaScript that represents a situation where a value is not a valid number. One important thing to note is that NaN is not equal to any value, including itself. We can use the `isNaN()` function to check whether a value is NaN or not. 180. ### How do you find operating system details in javascript? In JavaScript, you can find the operating system details of the user by accessing the `navigator` object, which contains information about the user's browser and environment. # Day 37 181. ### What is the Document Object Model (DOM)? The DOM (Document Object Model) is a programming interface that represents the structure and content of an HTML document as a tree-like structure of nodes. It allows developers to access and manipulate the content and structure of a web page using programming languages like JavaScript. 182. ### What is the difference between the DOM and HTML? HTML is a markup language used to define the structure and content of a web page, while the DOM is an interface that represents that structure and content as a tree-like structure. The DOM provides a way to access and manipulate the content and structure of a web page, while HTML is simply a static markup language. 183. ### What is the difference between the DOMContentLoaded event and the load event? The DOMContentLoaded event is fired when the initial HTML document has been completely loaded and parsed, while the load event is fired when all resources on the page, including images and scripts, have finished loading. 184. ### What is the difference between innerHTML and innerText? The main difference between `innerText` and `innerHTML` in the DOM is that `innerText` returns only the visible text content of an element, excluding any HTML tags, while `innerHTML` returns the complete HTML content of an element, including any nested elements and tags. 185. ### What is the role of the Window object in the DOM? The Window object in the DOM represents the browser window or tab that displays the web page. It provides methods and properties for controlling and manipulating the browser window. # Day 38 186. ### What is a DOM node in JavaScript? A node in the DOM is a fundamental unit that represents an element, attribute, or text content in a web page. Every node has a relationship with other nodes, such as a parent, child, or sibling. The parent node contains the child nodes, and the child nodes can have siblings that share the same parent 187. ### How do you prevent default behavior of an event in the DOM using JavaScript? To prevent the default behavior of an event in the DOM using JavaScript, you can use the preventDefault() method. This method is called on the event object that is passed to the event handler function 188. ### What is event propagation? Event propagation in the DOM refers to how events move or flow through different elements on a webpage. When an event happens on an element, like a click, it can travel to its parent elements and eventually to the whole document. This is called event bubbling. Alternatively, events can also travel from the document to the element that triggered the event, which is called event capturing. 189. ### What is call stack in javascript? The call stack in JavaScript is a data structure that stores information about the currently executing functions. When a function is called, a new frame is added to the top of the stack, and when the function completes, its frame is removed from the stack. This helps the JavaScript engine keep track of where it is in the execution of a script and manage the order in which functions are called. 190. ### What is an event loop? The event loop in JavaScript handles asynchronous operations by queuing them up and processing them one by one in a non-blocking way. It checks the event queue continuously and processes the oldest operation first. When an operation is completed, its callback function is executed. # Day 39 191. ### What is BOM? BOM stands for Browser Object Model. It is a set of APIs provided by the browser that allow JavaScript to interact with the browser window. 192. ### What is the use of `setTimeOut()` in javascript? `setTimeout()` is a built-in function in JavaScript that allows you to schedule a function to be executed after a specified amount of time has elapsed. 193. ### What is the use of `setInterval()` in javascript? `setInterval()` is a function in JavaScript that allows you to repeatedly execute a given function at a specified interval. It works by calling the function repeatedly with a specified time delay between each call, until the interval is cancelled. 194. ### What is the purpose of clearTimeout method and clearInterval? The clearTimeout method is a built-in function in JavaScript that is used to cancel a timer created by the setTimeout function and clearInterval method is a built-in function in JavaScript that is used to cancel a recurring timer created by the setInterval function. 195. ### How do you redirect new page in javascript? To redirect to a new page using JavaScript, you can use the `window.location` object's `assign` or `replace` methods. Example: ``` // Redirect to a new page window.location.assign("https://www.example.com"); // Redirect to a new page and replace the current page in the browser history window.location.replace("https://www.example.com"); ``` # Day 40 196. ### What is a JavaScript object? JavaScript object is a non-primitive data-type that allows you to store multiple collections of data. It is a container of key-value pairs in which value may be a variable, function or object itself. 197. ### What is the difference between dot notation and bracket notation when accessing properties of an object? Dot Notation only allows static keys while Bracket Notation accepts dynamic keys. Static key here means that the key is typed directly, while Dynamic key here means that the key is evaluated from an expression. 198. ### What is an object literal in javascript? Object literal is a syntax for creating object in javascript in which property and method are inside of curly braces separated by comma. We assign a variable to an object in object literal. 199. ### How would you clone an object in JavaScript? There are four ways to clone an object in javascript. They are: 1. Use the spread operator. 2. Call the Object.assign() function. 3. Use JSON parsing. 4. Use the structuredClone() function. ``` const data = { name: "Alice", age: 26 } // 1 const copy1 = { ...data } // 2 const copy2 = Object.assign({}, data) // 3 const copy3 = JSON.parse(JSON.stringify(data)) // 4 const copy4 = structuredClone(data) ``` 200. ### What is a JSON? JavaScript Object Notation (JSON) is a standard text-based format for representing structured data based on JavaScript object syntax. It is commonly used for transmitting data in web applications . # Day 41 201. ### What is Class in JavaScript? Class is a template that can be used to create objects that share the same properties and methods. When an object is created from a class, it is called an instance of that class. Class was introduced in ECMAScript(ES6). 202. ### What is a constructor in javascript? In JavaScript, a constructor is a special method that is used to create and initialize objects that are based on a class. It's like a blueprint for creating new objects.The constructor method is called automatically when a new object is created from a class, using the new keyword. It's used to set the initial state of the object by assigning values to its properties. 203. ### What is the difference between a static method and an instance method in a class? An instance method is a method that can be called on an instance of a class, and it can access and modify instance-specific data, like properties of the object. A static method, on the other hand, is a method that belongs to the class itself, not to any instance of the class. It can only access class-level data and can be called on the class itself, rather than on an instance of the class. 204. ### What is "this" in javascript Classes? In JavaScript classes, `this` refers to the current object that is being worked on. It's like a placeholder for the object. For example, if you have a class that creates `Person` objects, and you want to give each person a `name`, you can use `this.name` to refer to the `name` property of the current `Person` object that is being created or accessed. So, `this` is just a way to access the current object's properties and methods inside a class. 205. ### What are the benefits of using classes in JavaScript? There are several benefits of using classes in javascript. Some of them are: 1. Encapsulation: Classes allow you to encapsulate related data and behavior into a single object, making it easier to manage and organize your code. 2. Inheritance: Classes support inheritance, which allows you to create subclasses that inherit properties and methods from a parent class. This can help you avoid duplicating code and make your code more modular and reusable. 3. Code Reusability: With classes, you can create objects that share common properties and behavior. This can help you avoid writing the same code over and over again, making your code more efficient and easier to maintain. 4. Readability: Classes provide a clean and organized way to structure your code, which can make it easier to read and understand. # Day 42 206. ### Can you explain the concept of method overriding in a class in JavaScript? Method overriding is a concept in JavaScript where a subclass can provide its own implementation of a method that is already defined in the parent class. To override a method in a subclass, you simply define a method with the same name as the method in the parent class 207. ### What is composition in classes in JavaScript? Composition in class JS is a technique of building complex classes by combining smaller, more focused classes that represent specific behaviors or properties.Composition is a flexible and powerful technique for creating modular, reusable code in JavaScript. 208. ### What is inheritance in classes in javascript? Inheritance in classes in JavaScript is the ability to create a new class based on an existing class. The new class inherits all the properties and methods of the existing class, and can also add new properties and methods or override existing ones. 209. ### What is the `extends` keyword in JavaScript, and how is it used for inheritance? The `extends` keyword is used in JavaScript to create a new class that inherits from an existing class. It is used in the class declaration syntax, like this: ``` class ChildClass extends ParentClass { // ChildClass methods and properties } ``` 210. ### what is the purpose of `super()` in javascript classes? The `super()` keyword in JavaScript is used to call a method or constructor of a parent class from within a subclass. It allows a subclass to inherit and use functionality from the parent class, while also adding its own functionality. # Day 43 211. ### What is a private class field in JavaScript? A private class field in JavaScript refers to a class field that is only accessible within the class in which it is defined. It cannot be accessed or modified from outside the class, not even by instances of the class. 212. ### Can you explain the concept of encapsulation in JavaScript classes? Encapsulation is a concept in object-oriented programming that refers to bundling data and methods within a single unit, such as a class, and hiding the internal details of the class from the outside world. This makes the code more secure and maintainable. 213. ### What is `get` keyword in javascript classes? The `get` keyword is used to define a method that retrieves the value of a property. When the property is accessed, the `get` method is automatically called, and its return value is used as the property's value. 214. ### What is `set` keyword in javascript classes? The `set` keyword is used to define a method that sets the value of a property. When the property is assigned a value, the `set` method is automatically called, and it can perform any necessary validation or processing before setting the property's value. 215. ### Can you explain the concept of instance variables in a class in JavaScript? In JavaScript, instance variables are properties of an object that are specific to an instance of a class. When we create a new instance of a class using the `new` keyword, each instance has its own set of instance variables that are separate from other instances. # Day 44 216. ### What is the difference between a class and a function in JavaScript? functions and classes are both important tools in JavaScript for defining reusable code, but they serve different purposes. Functions are used to encapsulate logic and perform specific tasks, while classes are used to create objects with shared properties and methods. Knowing when to use each one depends on the specific problem being solved and the design of the application. 217. ### What is abstract class in javascript? In JavaScript, an abstract class is a blueprint for creating other classes that share some common properties and methods. However, unlike regular classes, abstract classes cannot be directly instantiated. Instead, they are meant to be extended or subclassed by other classes. 218. ### How would you convert an object to a JSON string in JavaScript, and vice versa? In JavaScript, you can convert an object to a JSON string using the `JSON.stringify()` method, and you can convert a JSON string back to an object using the `JSON.parse()` method. 219. ### What is the difference between a class and an interface in JavaScript? Classes and interfaces are both used in JavaScript to define object types, but serve different purposes. A class defines a blueprint for creating objects that have properties and methods, while an interface describes the shape of an object and enforces a contract between different parts of a program. Classes define what an object is, while interfaces define what an object can do. 220. ### Can you explain the concept of polymorphism in classes in JavaScript? Polymorphism in JavaScript classes means that different objects can share the same methods, even if they belong to different classes. This allows us to reuse code across multiple classes and write more flexible, maintainable code. # Day 45 221. ### What is prototype in javascript? In JavaScript, a prototype is an object that contains properties and methods that can be shared by all objects created with the same constructor function. It helps to reduce code duplication and makes your code more efficient. 222. ### What is prototype chain? Every object in JavaScript has a built-in property, which is called its prototype. The prototype is itself an object, so the prototype will have its own prototype, making what's called a prototype chain. The chain ends when we reach a prototype that has null for its own prototype. 223. ### How does prototypal inheritance work in JavaScript? Prototypal inheritance allows objects to inherit properties and methods from their parent objects. When an object is created with a constructor function, its prototype is automatically set to the prototype object associated with that constructor function. Any properties or methods defined in the prototype object are shared by all objects created with that constructor function. When an object tries to access a property or method, JavaScript first looks for it in the object itself. If it's not found, it looks up the prototype chain until it finds the property or method. 224. ### What is the difference between prototypal inheritance and classical inheritance? The main difference between prototypal and classical inheritance is that prototypal inheritance allows objects to inherit properties and methods directly from other objects, without the need for classes or constructors. This makes the code more flexible and easier to maintain. Classical inheritance relies on classes and constructors to define the inheritance hierarchy, which can provide better organization and structure but is more rigid and requires more upfront planning. 225. ### What is the difference between an object's prototype and its constructor function? | Prototype | Constructor Function | | --------------------------------------------------------------------------------- | ---------------------------------------------------------------------- | | An object that is shared by all instances created by the constructor function | A function that is used to create new objects | | Used to define properties and methods that are shared by all instances | Used to define properties and methods that are unique to each instance | | Accessed using the `prototype` property of the constructor function | Accessed using the `new` keyword followed by the constructor function | | Modifying the prototype affects all instances created by the constructor function | Modifying the constructor function does not affect existing instances | ### Day 46 226. ### How do you add properties and methods to an object's prototype in JavaScript? We can add properties and methods to an object's prototype by using the constructor function's prototype property. To add a property, simply assign a value to a property on the prototype object. To add a method, define a function and assign it to a property on the prototype object. ``` MyConstructor.prototype.myProperty = "some value"; ``` 227. ### What is the difference between `Object.prototype` and `Object.__proto__` in JavaScript? In other words, `Object.prototype` is the object that provides default properties and methods that all objects in JavaScript inherit from. On the other hand, `Object.__proto__` is the object that the `Object` constructor itself inherits from, and it provides the properties and methods that are specific to the `Object` constructor. 228. ### How do you check if an object inherits from a specific prototype in JavaScript? We can check if an object inherits from a specific prototype by using the `isPrototypeOf()` method. This method can be called on a prototype object to check if it appears anywhere in the prototype chain of another object. If the prototype object does appear in the prototype chain of the other object, `isPrototypeOf()` will return `true`. Otherwise, it will return `false`. ``` // Check if person inherits from the Object.prototype console.log(Object.prototype.isPrototypeOf(person)); // Outputs true if it inherits or else false ``` 229. ### How do you override a method in an object's prototype in JavaScript? We can override a method in an object's prototype by redefining the method on the prototype. To do this, you simply assign a new function to the existing property on the prototype. When you do this, any objects that were created using the constructor function whose prototype you are modifying will now have the new version of the method available to them. 230. ### What is the difference between Object.create() and new Object() in JavaScript? The main difference between `new Object()` and `Object.create()` is that `new Object()` creates a new object from scratch, while `Object.create()` creates a new object that inherits from an existing object. # Day 47 231. ### What is a regular expression(regex)? A regular expression, or regex for short, is a set of characters that form a pattern. This pattern is used to search for and match specific sequences of text. 232. ### What is the difference between a regular expression and a string? A regular expression is a pattern used to match against a string. A string is simply a sequence of characters. 233. ### What is the syntax for creating a regular expression pattern? The syntax for creating a regular expression pattern consists of a combination of characters, special characters, and operators that define the pattern to match. ``` // Define the regex pattern const pattern = /\b[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\.[A-Z|a-z]{2,}\b/; ``` 234. ### What is a character class in regular expressions? A character class in regular expressions is a set of characters that can be matched in a single position in the text. It is denoted by enclosing the characters in square brackets []. ``` // Define the regex pattern using a character class const pattern = /[aeiou]/; ``` 235. ### What is the difference between the asterisk () and the plus sign (+) in regular expressions? In regular expressions, the asterisk (\*) matches zero or more occurrences of the preceding character, while the plus sign (+) matches one or more occurrences of the preceding character. For example, if we want to match the letter "a" followed by zero or more "b" characters, we would use the asterisk in our regular expression like this: /ab\*/. This would match strings like "a", "ab", "abb", "abbb", and so on. On the other hand, if we want to match the letter "a" followed by one or more "b" characters, we would use the plus sign in our regular expression like this: /ab+/ # Day 48 236. ### How do you use the question mark (?) in regular expressions? The question mark (?) is a metacharacter used in regular expressions to indicate that the preceding character or group of characters is optional. It means that the preceding character or group of characters may appear zero or one time. For example, the regular expression "colou?r" will match both "color" and "colour". 237. ### What is the purpose of backslashes () in regular expressions? Backslashes () are used in regular expressions to indicate that the following character has a special meaning. For example, the regular expression "\d" matches any digit character, while the regular expression "\s" matches any whitespace character. If you want to match a literal backslash character, you need to escape it by using two backslashes (\). 238. ### How do you specify a range of characters in a character class? In a character class, you can specify a range of characters by using a hyphen (-) between two characters. For example, the regular expression "[a-z]" matches any lowercase letter from "a" to "z". Similarly, the regular expression "[0-9]" matches any digit character from "0" to "9". Note that the range is inclusive, so the characters at both ends are included in the match. 239. ### What is the difference between a greedy and a non-greedy match in regular expressions? In regular expressions, a greedy match will match as much as possible while still allowing the overall pattern to match. A non-greedy match, on the other hand, will match as little as possible while still allowing the overall pattern to match. Greedy matching is the default behavior in most regex engines. To make a match non-greedy, you can use the question mark (?) after the quantifier. For example, the regular expression ".\*?" will match as few characters as possible. 240. ### How do you use the pipe (|) operator in regular expressions? The pipe (|) operator is used in regular expressions to match either one pattern or another. For example, the regular expression "cat|dog" will match either "cat" or "dog". You can also use parentheses to group patterns together when using the pipe operator. For example, the regular expression "(red|green|blue) car" will match "red car", "green car", or "blue car". # Day 49 241. ### What is the purpose of the caret (^) and dollar sign ($) characters in regular expressions? The caret (^) and dollar sign ($) characters in regular expressions are used to match the beginning and end of a string, respectively. 242. ### What are some common use cases for regular expressions? Common use cases for regular expressions include text parsing, search and replace operations, and input validation. 243. ### How do you match a specific number of characters in a regular expression? To match a specific number of characters in a regular expression, you can use quantifiers such as {n} to match exactly n occurrences of a pattern, or {n,m} to match between n and m occurrences. 244. ### How do you match a specific character that has a special meaning in a regular expression? To match a specific character that has a special meaning in a regular expression, you can use an escape character () before the special character. 245. ### How do you use lookarounds in regular expressions? Lookarounds in regular expressions allow you to look ahead or behind the current position in the string without including the matched text in the result. Positive lookaheads (?=) and negative lookaheads (?!), as well as positive lookbehinds (?<=) and negative lookbehinds (?<!), are the four types of lookarounds that can be used. # Day 50 246. ### What is the `window.location` object in JavaScript? The `window.location` object is a built-in object in JavaScript that contains information about the current URL of the webpage. It is a property of the global `window` object and provides several properties and methods to work with URLs. 247. ### What are the properties of the `window.location` object? Some of the properties of the window.location object are: `href` : returns the entire URL of the current page <br/> `protocol` : returns the protocol of the URL (http:, https:, etc.) <br/> `host` : returns the hostname and port number of the URL <br/> `hostname` : returns the hostname of the URL <br/> `port` : returns the port number of the URL <br/> `pathname` : returns the path and filename of the URL <br/> `search` : returns the query string of the URL <br/> `hash` : returns the anchor part of the URL <br/> 248. ### How do you redirect to another page using JavaScript's `window.location` object? We can redirect to another page using the `assign()` method of the `window.location` object. ``` window.location.assign("https://www.google.com"); ``` 249. ### How do you reload the current page using JavaScript's `window.location` object? You can reload the current page using the reload() method of the window.location object. ``` window.location.reload(); ``` 250. ### How do you get the value of a query parameter from the URL using JavaScript's `window.location` object? You can get the value of a query parameter from the URL using the `searchParams` property of the `window.location ` object. For example, to get the value of a query parameter named `id`. ``` const id = new URLSearchParams(window.location.search).get("id"); ``` # Day 51 251. ### What is the Date object in JavaScript? The Date object in JavaScript represents a date and time value, which can be used to perform various operations on dates and times. 252. ### How do you format a date in JavaScript? You can format a date in JavaScript using the toLocaleDateString() method of the Date object, which returns a string representation of the date in the specified locale. ``` let date = new Date(); let formattedDate = date.toLocaleDateString('en-US', { month: '2-digit', day: '2-digit', year: 'numeric' }); console.log(formattedDate); // Output: "05/14/2023" ``` 253. ### How do you compare two dates in JavaScript? You can compare two dates in JavaScript using the <, >, <=, >=, ==, and != operators, which compare the numeric values of the Date objects (i.e., their timestamps). ``` let date1 = new Date('2023-05-14'); let date2 = new Date('2023-05-15'); if (date1 < date2) { console.log('date1 is earlier than date2'); } else { console.log('date1 and date2 are equal'); } ``` 254. ### How do you get the current timestamp in JavaScript? You can get the current timestamp in JavaScript using the `getTime()` method of the Date object, which returns the number of milliseconds since January 1, 1970, 00:00:00 UTC. 255. ### How do you add or subtract days to a date in JavaScript? You can add or subtract days to a date in JavaScript using the `setDate()` method of the Date object, which allows you to set the day of the month for a given date. ``` let date = new Date(); date.setDate(date.getDate() + 3); console.log(date); // Output: the date 3 days from now ``` # Day 52 256. ### what is iterator in javascript? In JavaScript, an iterator is an object that provides a way to access elements of a collection or a custom data structure in a sequential manner. It allows you to loop over the elements one at a time, retrieving them on demand. The most important method is next(), which is responsible for returning the next element in the sequence. When you call next() on an iterator, it returns an object with two properties: value, representing the current element, and done, indicating whether there are more elements or if the iteration is complete. 257. ### What is decorator in javascript? In JavaScript, a decorator is a design pattern that allows you to modify the behavior of an object or a function by wrapping it with another function. It provides a way to add new functionality or modify existing functionality dynamically, without changing the original code. 258. ### What is babel? Babel is a tool that helps you write modern JavaScript code while ensuring compatibility with older environments by transforming or transpiling that code into an older JavaScript version. It allows developers to take advantage of new language features without worrying about browser compatibility issues. 259. ### What is optional chaining? Optional chaining is a js feature by which using the `?.` operator, you can directly access nested properties or call nested functions, and if any part of the chain is null or undefined, the expression short-circuits and returns undefined instead of throwing an error. 260. ### What is throttling? Throttling is a technique used in JavaScript to control the rate at which a particular function or code block is executed. It ensures that the function is called at a maximum frequency or a specified interval, preventing it from being invoked too frequently. # Day 53 261. ### What is debouncing? Debouncing in JavaScript is a way to control how often a function gets called when there are frequent events happening, like typing or scrolling. This can be useful for optimizing performance and avoiding unnecessary function calls. 262. ### What is global execution context? The global execution context is the default or first execution context that is created by the JavaScript engine before any code is executed(i.e, when the file first loads in the browser). All the global code that is not inside a function or object will be executed inside this global execution context. Since JS engine is single threaded there will be only one global environment and there will be only one global execution context. 263. ### What is function execution context? In JavaScript, the function execution context refers to the environment in which a function is executed or called. Each time a function is invoked, a new execution context is created specifically for that function. It consists of two main components: the variable environment and the scope chain. 264. ### What does the variable environment in JavaScript's function execution context contain, and what is its purpose? The variable environment contains all the variables, function declarations, and function arguments specific to that function. It keeps track of the function's local variables and parameters, allowing the function to access and manipulate them during its execution. 265. ### What is a scope chain in JavaScript's function execution context? The scope chain is a list of all the variable environments that are accessible to the function. It is used to resolve variable references during the function's execution. When a variable is not found in the current variable environment, JavaScript looks up the scope chain to find the variable in outer environments until it reaches the global execution context. # Day 54 266. ### What is Minification? Minification is the process of removing all unnecessary characters(empty spaces are removed) and variables will be renamed without changing it's functionality. 267. ### How do I modify the url without reloading the page? The `window.location.href` property will be helpful to modify the url but it reloads the page. HTML5 introduced the `history.pushState()` and `history.replaceState()` methods, which allow you to add and modify history entries, respectively. Example: ``` window.history.pushState("page2", "Title", "/page2.html"); ``` 268. ### What are dynamic imports in javascript? Dynamic imports in JavaScript allow you to load modules or scripts dynamically at runtime, instead of including them statically in the initial page load. ``` import('module.js') .then(module => { // Use the imported module // ... }) .catch(error => { // Handle any import errors // ... }); ``` 269. ### What paradigm is Javascript? JavaScript is a multi-paradigm language, supporting imperative/procedural programming, Object-Oriented Programming and functional programming. JavaScript supports Object-Oriented Programming with prototypical inheritance. 270. ### How do you empty an array? You can empty an array quickly by setting the array length to zero. ``` let cities = ["Singapore", "Delhi", "London"]; cities.length = 0; // cities becomes [] ``` # Day 55 271. ### What is a lambda function? A lambda function, also known as an arrow function in JavaScript, is a concise and shorthand way of defining a function. It uses the => arrow syntax to indicate a function, allowing for shorter and more readable code. 272. ### What is variable shadowing in javascript? If there is a variable in the global scope, and you'd like to create a variable with the same name in a function. The variable in the inner scope will temporarily shadow the variable in the outer scope. It is called variable shadowing. 273. ### How do you assign default values to variables? You can use the logical or operator || in an assignment expression to provide a default value. The syntax looks like as below, ``` let a = b || c; ``` 274. ### What is a rest operator in javascript? The rest operator in JavaScript is a special syntax that allows you to pass an indefinite number of arguments to a function. It is represented by three dots ( ... ). ``` function partyGuests(...names) { console.log(names); } partyGuests('Alice', 'Bob', 'Charlie'); ``` 275. ### What is a spread operator? The spread operator (`...`) is used to spread elements from an array or object into another array, function call, or object literal. It allows you to unpack or expand the individual items or properties from the source into a destination. ``` const fruits = ['apple', 'banana', 'orange']; const fruitSalad = ['kiwi', 'grape', ...fruits, 'melon']; //fruitSalad = ["kiwi", "grape", "apple", "banana", "orange", "melon"] ``` # Day 56 276. ### Why would you use something like the load event? Does this event have disadvantages? Do you know any alternatives, and why would you use those? The `load` event fires at the end of the document loading process. At this point, all of the objects in the document are in the DOM, and all the images, scripts, links and sub-frames have finished loading. The DOM event `DOMContentLoaded` will fire after the DOM for the page has been constructed, but do not wait for other resources to finish loading. This is preferred in certain cases when you do not need the full page to be loaded before initializing. 277. ### What's the difference between Native objects and Host objects? Native objects are objects that are part of the JavaScript language defined by the ECMAScript specification, such as String, Math, RegExp, Object, Function, etc on the other hand, the host objects are provided by the runtime environment (browser or Node), such as window, XMLHTTPRequest, etc. 278. ### What's a typical use case for anonymous functions? Anonymous functions are functions that are not bound to a name. They are often used as inline functions, or as arguments to other functions. One typical use case for anonymous functions is as callback functions. 279. ### What is negative Infinity? Negative Infinity is a number in JavaScript which can be derived by dividing negative number by zero. 280. ### What is the data type of variables in JavaScript? All variables in JavaScript are object data types. # Day 57 281. ### What is the difference between a prototype and an instance? A prototype is a blueprint for creating objects. An instance is an object that is created from a prototype. Instances inherit properties and methods from their prototypes. 282. ### What is a function expression? A function expression in JavaScript is a way to define a function by assigning it to a variable. Instead of using the traditional function declaration syntax, a function expression involves creating an anonymous function that can be stored in a variable. 283. ### What is the difference between a module and a library? A module is a self-contained unit of code that can be imported into another program. A library is a collection of modules that can be used to perform a specific task. Modules are typically used to organize code and make it easier to reuse, while libraries are typically used to provide functionality that is not available in the core language. 284. ### How are JavaScript and ECMA Script related? ECMA Script is like rules and guidelines, while Javascript is a scripting language used for web development. 285. ### What are the different ways to delete a variable in JavaScript? We can delete a variable and remove it from memory in the following ways: 1. Using the `delete` keyword: ``` let x = 10; console.log(x); // Output: 10 delete x; console.log(x); // Output: 10 (variable still exists but with no value) ``` 2. Setting the variable to `undefined` or `null`: ``` let x = 10; console.log(x); // Output: 10 x = undefined; console.log(x); // Output: undefined ``` 3. Using a block scope with `let` or `const`: ``` //Variables declared with let or const within a block scope will automatically be removed // from memory once the block is exited. { let x = 10; console.log(x); // Output: 10 } console.log(x); // Output: ReferenceError: x is not defined ``` # Day 58 286. ### What are the different types of errors in JavaScript? There are three types of errors: 1. Load time errors: Errors that come up when loading a web page, like improper syntax errors, are known as Load time errors and generate the errors dynamically. 2. Runtime errors: Errors that come due to misuse of the command inside the HTML language. 3. Logical errors: These are the errors that occur due to the bad logic performed on a function with a different operation. 287. ### What is the use of the blur function? In JavaScript, the `blur()` function is used to remove the focus from a specific element on a web page. When an element has focus, it typically means that it is selected or ready to receive user input, such as when a user clicks on an input field or a button. 288. ### What is the difference between an alert box and a confirmation box? An alert box is a simple message box with an OK button for displaying information, while a confirmation box allows users to confirm or cancel an action with OK and Cancel buttons respectively. The alert box is non-interactive and pauses code execution until closed, whereas the confirmation box returns a boolean value indicating the user's choice and doesn't halt code execution. 289. ### What is `prompt()` in javascript? `prompt()` is a built-in JavaScript function that displays a dialog box to the user with a message, an input field, and OK/Cancel buttons. It allows the user to input data, which can then be captured and used in JavaScript code. The `prompt()` function halts the code execution until the user enters a value and clicks OK or cancels the dialog. If the user clicks OK, the entered value is returned as a string. If the user cancels or closes the dialog, the function returns null. 290. ### When to Use Internal and External JavaScript Code? If you have only a few lines of code that is specific to a particular webpage. In that case, it is better to keep your JavaScript code internal within your HTML document. On the other hand, if your JavaScript code is used in many web pages, you should consider keeping your code in a separate file.If your code is too long, it is better to keep it in a separate file. This helps in easy debugging. # Day 59 291. ### What is npm? NPM(Node Package Manager) is a helpful tool for developers that makes working with JavaScript easier. It's like a big library where they can find ready-to-use code and easily add it to their own projects. It is also the name of the command line package manager used to interact with npm. 292. ### What is the name of the file which npm uses to identify the project and its dependencies? The file that npm uses to identify the project and its dependencies is called "package.json". It serves as a configuration file where developers can specify information about their project, such as its name, version, and dependencies on external packages. 293. ### What is the difference between dependencies and devDependencies? Both are defined in the `package.json`. dependencies lists the packages that the project is dependent on. devDependencies lists the dependencies which are only required during testing and development. 294. ### What is a non-blocking function? A non-blocking function, also known as an asynchronous function, is a type of function that does not block the execution of other code while it is running. Instead of waiting for the function to complete before moving on to the next task, non-blocking functions allow the program to continue executing other tasks while it performs its operation in the background. 295. ### What is a blocking function? A blocking function is a type of function that halts the execution of the program until it completes its task or receives a response. # Day 60 296. ### What is Function Composition? Function composition in JavaScript refers to the process of combining two or more functions to create a new function. To compose functions, you typically create a higher-order function that takes two functions as arguments and returns a new function. This new function executes the functions in order, passing the result of one function as the argument to the next function. 297. ### What is heap? In JavaScript, the "heap" refers to a part of the memory where dynamic memory allocation takes place. It is the memory region used for storing objects and variables that are created during the execution of a program. The heap is an essential component of the JavaScript runtime environment. It is responsible for managing and allocating memory for objects that are created dynamically at runtime, such as objects created using the new keyword, arrays, and function closures. 298. ### What is typed array in javascript? Typed Arrays are specialized array-like objects that allow you to work with binary data in a structured and efficient manner. They come in different types, such as numbers and bytes, and provide optimized operations for reading, writing, and manipulating binary data. They offer better performance and memory efficiency compared to regular arrays. 299. ### What is nodejs? Node.js is a JavaScript runtime for server-side applications. It lets you run JavaScript outside of web browsers, handle network requests, access databases, and build scalable apps efficiently. It's widely used for creating web servers, APIs, real-time apps, and command-line tools. 300. ### What is a PWA? PWAs (Progressive Web Apps) are web applications that use JavaScript, HTML, and CSS to provide a mobile app-like experience. They work offline, send push notifications, and can be installed on devices. PWAs combine the best of web and app technologies, allowing users to access them directly through web browsers without the need for app store downloads. # Day 61 301. ### What is nullish coalescing operator (??)? It is a logical operator that returns its right-hand side operand when its left-hand side operand is null or undefined, and otherwise returns its left-hand side operand. This can be contrasted with the logical OR (||) operator, which returns the right-hand side operand if the left operand is any falsy value, not only null or undefined. ``` console.log(null ?? true); // true ``` 302. ### How do you get the status of a checkbox with javascript? You can apply the checked property on the selected checkbox in the DOM. If the value is true it means the checkbox is checked, otherwise it is unchecked. For example, the below HTML checkbox element can be access using javascript as below: ``` console.log(document.getElementById(‘checkbox_name’).checked); // true or false ``` 303. ### What is the purpose of double tilde operator? The double tilde operator(~~) is known as double NOT bitwise operator. This operator is a slightly quicker substitute for Math.floor(). 304. ### What are the different ways to debug JavaScript code? To debug JavaScript code, you can use console.log() statements to print values and messages to the console, browser developer tools for breakpoints, stepping through code, and variable inspection, the debugger statement to trigger breakpoints, exception handling to catch and log errors, linters and code analyzers to detect potential issues, and remote debugging for debugging code running in a different environment. 305. ### What are the different ways to optimize JavaScript code? To optimize JavaScript code, you can combine and minify files, minimize global variables, optimize loops and conditionals, use efficient data structures and algorithms, cache data, leverage asynchronous programming, and optimize DOM manipulation. # Day 62 306. ### What is the difference between undeclared & undefined? Undeclared variables are those that do not exist in a program and are not declared. If the program tries to read the value of an undeclared variable, then a runtime error is encountered. Undefined variables are those that are declared in the program but have not been given any value. If the program tries to read the value of an undefined variable, an undefined value is returned. 307. ### What would be the result of 2+5+”3″? Since 2 and 5 are integers, they will be added numerically. And since 3 is a string, its concatenation will be done. So the result would be 73. The ” ” makes all the difference here and represents 3 as a string and not a number. 308. ### What is statically typed and dynamically typed language and is javascript a statically typed or a dynamically typed language? Dynamically-typed languages perform type checking at runtime, while statically typed languages perform type checking at compile time.Javascript is a dynamically typed language. 309. ### What is function currying? Function currying is a process in which we convert a function with multiple parameters to a chain of functions with a single parameter. ``` // Normal function function sum(a, b) { return a + b; } // Curried function function currySum(a) { return function (b) { return a + b; } } ``` 310. ### What does delete do in JavaScript? The `delete` operator is used for deleting an object’s property or key. # Day 63 311. ### What is control flow function? A control flow function in JavaScript refers to a function that controls the flow of execution within a program, particularly when dealing with asynchronous operations. 312. ### How does control flow function in js play a role in asynchronous operation in javascript? Control flow functions provide mechanisms to coordinate and handle asynchronous operations, ensuring that certain actions occur before or after others. They help to maintain the desired order and synchronization in asynchronous code. 313. ### Can you access DOM in nodejs? No, you cannot directly access the DOM in Node.js. Node.js is a runtime environment for running JavaScript outside of web browsers, and it does not have a built-in DOM implementation. 314. ### How can you share code between files? In the client-side/browser environment, if variables and functions are declared in the global scope (window), they can be accessed and shared by all scripts on the page. This is often referred to as the global scope or global namespace. 315. ### What does the `instanceof` operator do? The `instanceof` operator checks whether the prototype property of a constructor appears anywhere in the prototype chain of an object. In other words, the `instanceof` operator checks if the object is an instance of a class or not at run time. ``` class Person { constructor(name) { this.name = name; } } const john = new Person("John"); console.log(john instanceof Person); // Output: true console.log(john instanceof Object); // Output: true (all objects inherit from Object) const str = "Hello"; console.log(str instanceof String); // Output: false (str is a primitive string, not an instance of the String constructor) ``` # Day 64 316. ### What are the drawbacks of prototypal inheritance? Prototypal inheritance also has some drawbacks. First, it can be more difficult to understand than class-based inheritance. Second, it can be more difficult to debug. Third, it can be more difficult to test. 317. ### What are some common problems that you encounter when using regular expressions? When using regular expressions, common problems include incorrect pattern matching, performance issues with large data or complex patterns, difficulty in readability and maintenance, and the risk of overfitting the problem at hand. 318. ### What are the limitations of using the "var" keyword in JavaScript? The "var" keyword in JavaScript has limitations. Variables declared with "var" are function-scoped, accessible throughout the entire function. It lacks block-level scoping, leading to confusion and unintended side effects. Additionally, "var" doesn't prevent variable redeclaration within the same scope, risking inadvertent overwriting. 319. ### What are the limitations of using the "this" keyword in JavaScript? The "this" keyword in JavaScript has limitations. Its value depends on the function invocation, leading to confusion and unexpected behavior. In arrow functions, "this" behaves differently, being lexically scoped. When using "this" in a constructor function without the "new" keyword, it refers to the global object instead of creating a new instance. 320. ### What are the drawbacks of using the "delete" operator in JavaScript? The "delete" operator in JavaScript has drawbacks. It can be slow and impact performance when deleting object properties. It does not affect the prototype chain, leading to unexpected behavior. It also cannot delete variables or functions declared with "var" or "function" keywords. # Day 65 321. ### What are the advantages of using closures in JavaScript? Closures in JavaScript allow for encapsulation, data privacy, and the creation of private variables and functions that are inaccessible from the outside scope. 322. ### How does the concept of prototypal inheritance benefit JavaScript developers? Prototypal inheritance in JavaScript allows objects to inherit properties and methods from other objects, promoting code reuse and reducing memory consumption. 323. ### How does using template literals in JavaScript improve string manipulation and concatenation compared to traditional methods? Template literals in JavaScript allow for easier string interpolation, multiline strings, and dynamic content embedding, enhancing readability and reducing string manipulation complexities. 324. ### What are the advantages of using the fetch API over traditional XMLHttpRequest for making HTTP requests in JavaScript? The fetch API offers a simpler and more modern way to make asynchronous HTTP requests, providing better error handling, support for promises, and the ability to handle various data formats. 325. ### Can you explain the benefits of using the "this" keyword and how it differs in different contexts in JavaScript? The "this" keyword in JavaScript allows objects to refer to their own properties and methods dynamically, adapting to different execution contexts and enabling code reusability. # Day 66 326. ### What resources or techniques do you use to stay up to date with the latest developments in JavaScript? To stay updated with the latest developments in JavaScript, I also make use of online learning platforms like Udemy and Coursera to enroll in courses focused on JavaScript and attend conferences or meetups whenever possible. Additionally, I find it helpful to contribute to open-source projects on GitHub, as it exposes me to different coding styles and practices. 327. ### How do you ensure the code you write is maintainable, readable, and follows best practices? To ensure maintainable, readable, and best practice-following code, I follow coding conventions and style guidelines. I also write clear comments, use descriptive variable and function names, and modularize the code to make it easier to understand and maintain. 328. ### How do you handle working on a JavaScript project with a large codebase or multiple developers? Clear communication, organization, and collaboration are essential for JavaScript projects with a large codebase or multiple developers. Using Git for version control enables simultaneous work and easy code merging. Breaking down the code into smaller modules, documenting, following coding standards, conducting code reviews, and implementing testing ensure code quality and facilitate collaboration. 329. ### How does JavaScript handle memory management and garbage collection? JavaScript handles memory management through automatic garbage collection. The JavaScript engine keeps track of all objects created during the program execution. When an object is no longer reachable or referenced by any part of the program, it becomes eligible for garbage collection. The garbage collector then frees up the memory occupied by those unreferenced objects, making it available for future use. 330. ### According to javascript array, what comes first the chicken or egg? According to the JavaScript array, "chicken" comes before "egg" because "chicken" is alphabetically sorted before "egg". ``` const arr = ["egg", "chicken"]; const sortedArr = arr.sort(); console.log(sortedArr) // ["chicken", "egg"] //Hence proved, chicken comes first than egg ``` # ReactJS # Day 67 331. ### What is ReactJS? React is a free and open-source front-end JavaScript library for building user interfaces based on components. It is maintained by Meta and a community of individual developers and companies 332. ### What are the key features of ReactJS? The key features of ReactJS are its component-based architecture, virtual DOM implementation for efficient rendering, code reusability through reusable components, declarative syntax and JSX for easier UI development, unidirectional data flow for predictable updates, and performance optimization by minimizing direct DOM manipulation. 333. ### What is the difference between ReactJS and other JavaScript frameworks/libraries? ReactJS differs from other JavaScript frameworks/libraries in several ways. It focuses solely on the view layer, allowing developers to integrate it easily with other libraries or frameworks. React also introduces the concept of a virtual DOM, which enhances performance by minimizing direct manipulation of the actual DOM. 334. ### What is JSX in ReactJS? JSX stands for JavaScript syntax extension. It is a JavaScript extension that allows us to describe React's object tree using a syntax that resembles that of an HTML template. It is just an XML-like extension that allows us to write JavaScript that looks like markup and have it returned from a component. 335. ### Explain the concept of virtual DOM in ReactJS. Virtual DOM is a lightweight copy of the actual DOM maintained by React. It allows React to efficiently update and render components by calculating the optimal changes needed and applying them to the real DOM. # Day 68 336. ### What are the components in ReactJS? Components in ReactJS are the building blocks of the user interface. They can be thought of as reusable, self-contained pieces of code that encapsulate a specific functionality or UI element. 337. ### What is the significance of state in ReactJS? The state in ReactJS is a JavaScript object that stores data specific to a component. It represents the current state of the component and can be updated over time. The significance of state is that it allows components to manage and display dynamic data, enabling interactivity in the user interface. 338. ### What is the difference between props and state? Props (short for properties) and state are both used in ReactJS to manage data, but they serve different purposes. Props are used to pass data from a parent component to a child component, while state is used to manage and update data within a component itself. 339. ### What is the purpose of the "render" method in ReactJS? The "render" method in ReactJS is a crucial part of a component. It is responsible for returning the JSX (JavaScript XML) code that defines the structure and content of the component's UI. The render method is called automatically whenever there is a change in the component's state or props. 340. ### What are the lifecycle methods in ReactJS and how do they work? Lifecycle methods in ReactJS are special methods that are invoked at different stages of a component's lifecycle. They allow developers to perform specific actions at certain points, such as initializing state, updating the UI, or cleaning up resources. Examples of lifecycle methods include "componentDidMount," "componentDidUpdate," and "componentWillUnmount." They provide hooks to execute code at specific moments during the component's lifespan. # Day 69 341. ### What is a higher-order component (HOC) in ReactJS? A Higher-Order Component (HOC) in ReactJS is a function that takes a component as input and returns a new enhanced component. They act as wrappers around components, enabling you to inject props, modify behavior, and reuse common logic across multiple components. 342. ### What is the purpose of the "key" prop in ReactJS? The "key" prop in ReactJS is used to uniquely identify elements in a list of components or elements rendered by a loop. It helps React efficiently update and re-render only the necessary components when the list changes. 343. ### Explain the concept of controlled and uncontrolled components in ReactJS. Controlled components in ReactJS are form inputs whose state is managed by React. The input value is bound to a state variable, and changes are handled through event handlers. Uncontrolled components, on the other hand, have their state managed by the DOM, and the input value is accessed directly. Controlled components provide more control and validation options, while uncontrolled components are simpler for basic scenarios. 344. ### What is the purpose of the "setState" method in ReactJS and how does it work? The "setState" method in ReactJS is used to update the state of a component. It is a built-in method provided by React's Component class. When called, "setState" triggers a re-render of the component, updating its UI based on the new state. 345. ### What is the significance of the "React.Fragment" component? "React.Fragment" is a component in ReactJS that allows you to group multiple elements without adding extra DOM elements. It helps keep the rendered output clean and is particularly useful when you don't want to introduce additional wrappers or nesting levels. # Day 70 346. ### How does React handle event handling? React handles event handling by using synthetic events, which are cross-browser wrappers around native browser events. When an event is triggered, React creates a synthetic event object and passes it to the event handler function. 347. ### What are the differences between class components and functional components in ReactJS? The main difference between class components and functional components in ReactJS is the syntax and the way they manage state. Class components are defined using ES6 classes and have lifecycle methods, while functional components are defined as JavaScript functions. Class components have their own internal state and can use lifecycle methods like componentDidMount and componentDidUpdate, while functional components use React Hooks to manage state and handle side effects. 348. ### How can you optimize the performance of React applications? There are several ways to optimize the performance of React applications. Some techniques include: using a production build of React, minimizing the number of re-renders by using shouldComponentUpdate or React.memo, lazy loading components or data using code splitting, implementing virtualization techniques for long lists, and optimizing network requests by caching data or using techniques like memoization. 349. ### What is React Router and how does it work? React Router is a popular library in React for handling routing in a web application. It allows developers to create single-page applications with multiple views or pages. React Router works by defining routes that map to different components. When a user navigates to a specific route, the corresponding component is rendered 350. ### Explain the concept of React Hooks and their benefits. React Hooks provide a way to reuse stateful logic without writing a class component. Hooks enable developers to manage component state, handle side effects, and tap into the React lifecycle in a more straightforward and flexible manner. They offer benefits like improved code readability, reusability, and easier testing. Some commonly used hooks include useState, useEffect, and useContext. # Day 71 351. ### Can web browsers read JSX directly? Web browsers cannot read JSX directly. This is because they are built to only read regular JS objects and JSX is not a regular JavaScript object. For a web browser to read a JSX file, the file needs to be transformed into a regular JavaScript object. For this, we use Babel 352. ### “In React, everything is a component.” Explain. Components are the building blocks of a React application’s UI. These components split up the entire UI into small independent and reusable pieces. Then it renders each of these components independent of each other without affecting the rest of the UI. 353. ### What are Pure Components? Pure components are the simplest and fastest components which can be written. They can replace any component which only has a render(). These components enhance the simplicity of the code and performance of the application. 354. ### Why is it necessary to start component names with a capital letter? In React, it is necessary to start component names with a capital letter. If we start the component name with lower case, it will throw an error as an unrecognized tag. It is because, in JSX, lower case tag names are considered as HTML tags. 355. ### When do we prefer to use a class component over a function component? If a component needs state or lifecycle methods, we should use the class component; otherwise, use the function component. However, after React 16.8, with the addition of Hooks, you could use state, lifecycle methods, and other features that were only available in the class component right in your function component. # Day 72 356. ### How do you handle forms in React? In React, you can handle forms by using controlled components. This means that the form inputs' values are controlled by React state. You create state variables to store the values of the form inputs and update the state using the onChange event. You can access and process the form data from the state when the form is submitted. 357. ### Explain the Flux architectural pattern. The Flux architectural pattern is a design pattern used in React applications for managing data flow. It consists of four key components: the view, actions, dispatcher, and stores. Actions trigger changes, which are dispatched by the dispatcher to the appropriate stores. The stores contain the application state and update the views. This unidirectional data flow ensures predictability and maintainability. 358. ### Explain the concept of context in React. How does it work? Context in React is a way to share data between components without explicitly passing it through props at each level. It allows you to create a context object that holds the shared data, which can be accessed by any component within its subtree. The context provider sets the value, and the consuming components can access it using the useContext hook. 359. ### What are portals in React? When would you use them? Portals in React provide a way to render children components into a different DOM node, outside the current component's DOM hierarchy. They allow you to render components at a different location in the DOM, which is useful for scenarios like modals, popovers, or tooltips, where the component needs to be positioned relative to a specific DOM element outside its parent. 360. ### Explain the concept of lazy loading in React. Lazy loading in React is a technique used to optimize performance by loading components or resources only when they are needed. Instead of loading all components upfront, you can dynamically import them using the React.lazy function and render them when required. This helps reduce the initial bundle size and improves the loading speed of your application. # Day 73 361. ### What is useEffect hook? The useEffect hook is utilized for handling side effects in React components. It enables you to perform tasks like data fetching, subscriptions, or DOM manipulation. 362. ### What is the role of the useReducer hook in React? How does it differ from the useState hook? The useReducer hook serves as an alternative to useState for managing complex state logic. It takes a reducer function and an initial state, returning the current state value and a dispatch function. By dispatching actions to the reducer, state updates can be controlled and organized in a more structured manner. 363. ### Describe the purpose of the useRef hook. The useRef hook is employed to create mutable values that persist across renders in a React component. It is commonly used for accessing DOM elements or storing any mutable value that doesn't need to trigger a re-render. useRef allows components to retain a reference to a specific value or element throughout their lifecycle. 364. ### What is the purpose of the useMemo hook? How does it help optimize performance in React? The useMemo hook is designed for memoizing expensive calculations or function calls in React. It takes a function and a dependency array, returning a memoized value. By specifying the dependencies, the memoized value is recalculated only when the dependencies change, helping to optimize performance by avoiding unnecessary computations. 365. ### When would you use the useCallback hook in React? How does it differ from the useMemo hook? The useCallback hook in React is like useMemo, but it memoizes functions instead of values. It's handy when passing callbacks to child components because it avoids unnecessary re-renders. By memoizing the function, it ensures that the same function instance is returned as long as the dependencies (inputs) remain unchanged. This optimization can improve performance in certain situations by preventing unnecessary function recreations. # Day 74 366. ### What happens when you call setState? The state property is updated in a React component with the object passed into setState, and this is done asynchronously. It tells React that this component and its children need to be re-rendered, but React may not do this immediately. 367. ### What is `children` prop in React? The `children` prop in React allows you to pass content or components as a nested element to another component, making it flexible and reusable. It enables you to include and render dynamic content within a component by placing it between the opening and closing tags of that component. 368. ### What are stateless components? If the behaviour of a component is independent of its state then it can be a stateless component. You can use either a function or a class for creating stateless components. But unless you need to use a lifecycle hook in your components, you should go for function components. 369. ### What are stateful components? If the behaviour of a component is dependent on the state of the component then it can be termed as stateful component. These stateful components are either function components with hooks or class components. 370. ### What is the impact of indexes as keys? Using indexes as keys in React can cause problems. When components are rendered using indexes as keys, React may not properly update or reorder them when the order changes. This can result in incorrect rendering, loss of component state, and slower performance. It's better to use unique and stable identifiers as keys to avoid these issues and ensure that components are updated correctly. # Day 75 371. ### What is prop drilling in react? Prop drilling in React refers to the process of passing down props (properties) from a parent component to a deeply nested child component, even if the intermediate components do not need or use those props. This can lead to a cluttered and less maintainable codebase, as props need to be passed through multiple layers of components, making it harder to understand and modify the code. 372. ## How can we avoid prop drilling? Prop drilling can be avoided by using React's Context API or state management libraries like Redux, which allow for more efficient and organized sharing of data across components. 373. ### How would you prevent a component from rendering in React? To prevent a component from rendering in React, you can use conditional rendering. You can wrap the component's JSX code inside an if statement or a ternary operator, where you specify a condition. If the condition evaluates to true, the component will render; otherwise, it won't. This allows you to control when and under what circumstances the component should be displayed. By dynamically adjusting the condition, you can easily show or hide the component based on certain logic or user interactions. 374. ### What do these three dots (...) in React do? The three dots (...) in React, called the spread operator, can be used to make copies of objects or arrays. With objects, it lets you create a new object by copying properties from an existing object and adding or changing specific ones. For arrays, it allows you to create a new array by combining elements from different arrays. The spread operator is handy for manipulating data in React and simplifies tasks like updating component state or merging objects with new properties. 375. ### Why React uses className over class attribute? React uses `className` instead of `class` in HTML because `class` is a reserved keyword in JavaScript. Using `class` would cause conflicts with JavaScript syntax. So, to avoid issues, React uses `className` for specifying CSS classes on elements. This allows developers to apply CSS classes to React components without running into conflicts or JavaScript errors. # Day 76 376. ### Why we should not update state directly? Updating the state directly in ReactJS is not recommended because it can cause unexpected issues and make it hard to track changes. React provides the setState() method for updating the state, which ensures proper handling of updates, triggers component re-rendering, and maintains state management integrity. 377. ### What is StrictMode in React? StrictMode in React is a component that helps catch potential problems in your code by performing extra checks during rendering, highlighting issues and encouraging best practices. 378. ### What's wrong with using Context in React? Context in React is not inherently bad, but it should be used carefully. Using Context extensively can make your code harder to understand and maintain. It may also cause unnecessary re-rendering and may not be the best choice for managing global state in complex applications. So we should consider other state management options like Redux for larger projects. 379. ### Does React re-render all components and sub components every time setState is called? No, React does not re-render all components and subcomponents every time setState is called. It only re-renders the components that are affected by the state change, optimizing performance by avoiding unnecessary updates. 380. ### Explain why and when would you use `useMemo()`? You would use `useMemo()` in React when you want to optimize performance by memoizing the result of a function or computation. It is used to avoid unnecessary calculations or expensive operations by caching the computed value until its dependencies change. By using `useMemo()`, you can ensure that the computation is only performed when necessary, reducing the workload on the application and improving efficiency. # Day 77 381. ### When shall we use useReducer hook in ReactJS? The useReducer hook in ReactJS is typically used when you have complex state logic that involves multiple related values or when the state transitions are more intricate. It is a good choice when you find that managing state with the useState hook becomes cumbersome and leads to complex and nested code. 382. ### How does React renderer work exactly when we call setState? When you use setState in React, it triggers a process called reconciliation. React compares the old and new state, figures out what changed, and updates only the necessary parts of the user interface. It does this by creating a virtual copy of the user interface called the virtual DOM and then efficiently applying the required changes to the actual web page. This helps React make updates quickly and keeps your app running smoothly. 383. ### what are styled component? Styled components are a way to style React components by writing CSS directly in JavaScript. They allow you to create reusable styled elements and easily manage styles within your components. It improves code organization and makes styling more readable and maintainable. 384. ### What are the advantages of styled components? Styled components in React offer advantages such as component-based styling, improved readability, scoped styles, support for dynamic styles, reusability, theme support, and better performance. They enhance code organization, make styles more maintainable, and provide a seamless integration between styling and component logic. 385. ### What are the advantages of styled components? Styled components in React can be more complex and have a higher learning curve compared to traditional CSS stylesheets. Defining styles within JavaScript may require developers to adapt their workflow and understand CSS-in-JS concepts. Additionally, the generated class names for styled components can be less readable, making debugging more challenging # Day 78 386. ### Why props cannot be updated in ReactJS? props cannot be updated in ReactJS as due to React core philosophy focused on making the props as immutable and top-down thus, a parent can send any prop values to a child but child cannot change the received prop. 387. ### What is a dispatcher? It is one of the components required for building apps according to Flux architecture. In this pattern dispatcher is the main point which manages data exchanging inside the app. 388. ### What are Default Props? In React, default props are used to define default values for props in a component. Default props ensure that if a parent component doesn't provide a value for a certain prop, the component will still have a default value to work with. 389. ### What are inline conditional expressions? In JSX, you can include any JavaScript expression within curly braces and use it with conditional (ternary) operators, making inline conditional expressions an interesting topic for react interview questions for freshers. 390. ### What are the differences between React and React Native? React is a JavaScript library used for building web user interfaces, while React Native is a framework for developing native mobile applications. React renders components to the web browser using virtual DOM, while React Native renders components directly to native UI elements for iOS and Android platforms, resulting in a more native-like experience. # Day 79 391. ### Is React a library or a Framework and why? React is a JavaScript library for UI building, not a framework. It focuses on the view layer, offering efficient ways to create UI components and manage state. Unlike frameworks, React doesn't provide a full set of development tools, but it excels at making interactive web applications with its declarative approach and efficient UI updates. 392. ### What are nested component in react? In React, nested components refer to the idea of rendering components within other components. It allows for building complex user interfaces by composing smaller components together. 393. ### Can a nested child component access the state of its sibling component? No, a nested child component cannot directly access the state of its sibling component. If sibling components need to communicate or share data, it is recommended to lift the shared state up to their common parent component and pass it down as props to both siblings. 394. ### What are error boundaries in react? Error boundaries in React are components that prevent the entire application from crashing when an error occurs within their child components. They act as safety nets by catching and handling errors, allowing developers to display fallback UI and maintain a smoother user experience. 395. ### What is React Dev Tool? React DevTools is a browser extension that helps developers debug and inspect React applications. It allows you to see the component structure, check and modify component data, and analyze performance. It's a useful tool for understanding how React components work and finding and fixing issues in your code. # Day 80 396. ### What is "React Node" in react? In React, a "React Node" is a term used to describe any content that can be rendered within a React component. It could be HTML elements, other React components, text, numbers, or fragments. 397. ### Why do we need to React Router? It maintains consistent structure and behavior and is used to develop single-page web applications. Enables multiple views in a single application by defining multiple routes in the React application. 398. ### Explain the role of Reducer. Reducers are pure functions which specify how the application’s state changes in response to an ACTION. Reducers work by taking in the previous state and action, and then it returns a new state. It determines what sort of update needs to be done based on the type of the action, and then returns new values. It returns the previous state as it is, if no work needs to be done. 399. ### What is the use of React.cloneElement? React.cloneElement is a method provided by React that allows you to clone and modify a React element. It is typically used when you want to add or override props of a React element while maintaining its original type and key. This is useful when working with components that accept and modify their children's elements. 400. ### Can you explain React's "lifting state up" concept and why it is important? "Lifting state up" is a concept in React where you move the shared state of multiple components to their common parent component. By doing this, you establish a single source of truth for the shared state, allowing you to pass down the state and related functions as props to child components. It enables better data flow, state management, and enhances performance by reducing unnecessary re-rendering. # Day 81 401. ### What is a ref in React and what is its purpose? A ref in React is a way to access and interact with the real DOM elements or React components directly. Its purpose is to provide a means of reading or modifying the properties, state, or behavior of a component outside of the typical React data flow. In simple terms, refs allow you to directly manipulate elements or components, like getting their values, focusing input fields, or triggering methods, bypassing the usual data flow of React. 402. ### How does using refs differ from traditional DOM manipulation? Refs in React provide a convenient and efficient way to work with elements and components, allowing you to easily access and modify them. It's like a special tool that React provides, making it easier to interact with the user interface. Traditional DOM manipulation, on the other hand, involves more manual and cumbersome approaches to achieve the same results. 403. ### What is the main difference between "string refs" and "callback refs" in React. The main difference is that string refs rely on a string identifier, while callback refs use a function to capture the reference. Callback refs are more flexible and allow for better control and manipulation of the reference, making them the preferred method in React whereas using string refs approach is considered legacy and is not recommended in newer versions of React. 404. ### Explain the concept of "forwarding refs" in React. "Forwarding refs" in React allows a parent component to pass a ref to its child component. This way, the parent can access and control the child's DOM element or component. It's like giving a special power to the parent component to interact with its child component's internals. 405. ### How do refs affect the component lifecycle in React? Refs in React do not directly impact the component lifecycle. They provide a way to access and interact with elements or components separately from lifecycle methods. Refs allow you to work with specific parts of the component without affecting its lifecycle or rendering. # Day 82 406. ### What are the benefits of using callback refs over string refs? The benefits of using callback refs over string refs in React are that callback refs provide more flexibility and control when accessing and manipulating DOM elements. With callback refs, you have direct access to the actual DOM node, allowing you to perform more advanced operations. On the other hand, string refs are limited to identifying elements using a string name, which can be less versatile and may not provide the same level of control. 407. ### Can we use refs with functional components in React? If yes, how? Yes, you can use refs with functional components in React. The `useRef` hook allows you to create a ref and use it within a functional component. By calling `useRef()` and assigning the result to a variable, you can access and manipulate the ref's current value, which can be used to reference elements in the component's JSX. 408. ### What are the limitations or caveats of using refs in React? While refs can be useful, there are limitations and caveats to consider when using them in React. One limitation is that refs bypass the typical data flow in React, which can make it harder to track and understand changes in your component's state. Additionally, overusing refs can lead to code that is harder to maintain and test, as it may introduce dependencies between different parts of your application. 409. ### How do you clean up or release the resources associated with a ref in React? To clean up or release resources associated with a ref in React, you can leverage the `useEffect` hook. Within the `useEffect` hook, you can return a cleanup function that will be called when the component unmounts or when the ref value changes. This allows you to handle any necessary cleanup operations, such as removing event listeners or cancelling timers, ensuring that your application's resources are properly managed. 410. ### How do you access the DOM node using refs in React? Accessing the DOM node using refs in React is straightforward. After creating a ref using the `useRef` hook or the `React.createRef()` function, you can attach the ref to a JSX element using the `ref` attribute. Once the component has rendered, you can access the DOM node by referring to the current property of the ref. # Day 83 411. ### What is binding in React and why is it important? Binding in React ensures that a function has the correct reference to the component it belongs to. It's important because it allows the function to access the component's data and methods. 412. ### What happens if you don't bind a function in React? Explain the potential issues that can arise. If you don't bind a function in React, it may lose access to the component's instance and its associated data. This can result in errors or unexpected behavior when the function is called. 413. ### How can you bind a function in a React class component? Describe the different methods available. You can bind a function in a React class component by either using the constructor to bind the function explicitly or by using arrow function syntax, which automatically binds the function to the component instance. 414. ### What is the recommended approach for binding functions in React components? The recommended approach for binding functions in React components is to use arrow function syntax or bind the functions in the constructor. Arrow function syntax simplifies the code and eliminates the need for explicit binding. 415. ### Explain the difference between binding in class components and functional components in React. Binding functions in class components is done using the constructor or arrow function syntax, while functional components don't require explicit binding as they automatically bind functions to the component instance. # Day 84 416. ### What is the difference between Element and Component in React? An element is a basic building block or specific part of a system or interface, like a button or text input field. A component, on the other hand, is a larger, self-contained entity made up of one or more elements, such as a navigation bar or login form. Components are reusable and provide specific functionality within a system. In essence, elements are smaller parts, while components are larger, composed entities. 417. ### How to apply validation on props in React? To apply validation on props in React, you can use the PropTypes library. Install it, import it into your component file, and define the expected props and their types using PropTypes. React will display warnings in the console if the provided props don't match the specified types or if any required props are missing. 418. ### Why is a React component declarative? A React component is declarative because it tells React what the UI should look like based on the current data. Instead of giving step-by-step instructions, we describe the desired UI state and let React handle the rest. It simplifies the process of building interfaces by focusing on "what" we want, rather than worrying about the nitty-gritty of "how" to achieve it. 419. ### What is ReactDOM package? The ReactDOM package in React is responsible for rendering the React components to the browser's DOM (Document Object Model). It provides methods and functionality for efficiently updating and manipulating the DOM based on changes in the React component tree. ReactDOM acts as the bridge between React's virtual representation of the UI and the actual HTML elements on the webpage, ensuring that any changes in the component hierarchy are reflected in the rendered UI. 420. ### how is React different from Angular? ReactJS is a JavaScript library focused on building user interfaces using reusable components, while Angular is a comprehensive framework following the MVC/MVVM patterns. React uses JavaScript and JSX, whereas Angular is based on TypeScript. React has a simpler learning curve, a large community, and a lightweight nature, while Angular offers a complete solution with a steeper learning curve, a robust ecosystem provided by Google, and built-in features. The choice depends on project needs, team preferences, and scalability requirements. # Day 85 421. ### Explain the use of CSS modules in React. CSS modules in React allow you to locally scope CSS styles to specific components, preventing class name collisions and promoting a more modular approach to styling. By generating unique class names for each component, CSS modules ensure that styles defined in one component won't interfere with styles in another 422. ### Can you explain what custom hooks are in React and how they differ from regular hooks? Custom hooks in React are reusable JavaScript functions that allow you to extract logic and stateful behavior from components. While regular hooks like useState and useEffect are provided by React, custom hooks are created by developers to encapsulate specific logic that can be shared across multiple components. 423. ### What are the benefits of using custom hooks in React? Can you provide an example of a scenario where a custom hook would be useful? The benefits of using custom hooks in React are improved code organization, reusability, and separation of concerns. They enable you to extract complex logic into a reusable hook, reducing duplication and promoting cleaner, more maintainable code. For example, a custom hook for handling form validation can be reused in multiple forms throughout the application. 424. ### How do you create a custom hook in React? To create a custom hook in React, you start by defining a function with the "use" prefix, such as "useCustomHook." Inside the function, you can use existing React hooks and additional logic to encapsulate the desired state or behavior. Return any values or functions that need to be accessed outside the custom hook. Once defined, you can import and use the custom hook in any component, enabling code reuse and modularity across your React application. 425. ### Are there any limitations or considerations when using custom hooks in React? Are there any performance implications or potential pitfalls that developers should be aware of? Custom hooks in React don't have built-in limitations or performance issues. Just keep an eye on any dependencies and side effects in your custom hooks. Also, remember to follow the rules of hooks like calling them at the top level and avoiding conditional usage. By being aware of these considerations, you can effectively use custom hooks in your React applications. # Day 86 426. ### What is Formik, and why would you use it in a React application? Formik is a powerful form management library in React that simplifies the process of handling forms. It provides an easier way to manage form state, handle form validation, and manage form submission. With Formik, you can streamline the development of forms by reducing boilerplate code and handling complex form-related tasks efficiently. 427. ### What are the advantages of using Formik over traditional form handling in React? Formik offers several advantages over traditional form handling in React. It simplifies the process of managing form state and reduces the need for manual state management. Formik's built-in validation capabilities make it easier to handle form validation without relying on additional libraries. Overall, Formik significantly improves the developer experience when working with forms in React. 428. ### What is Axios, and what problem does it solve in JavaScript or React development? Axios is a JavaScript library used for making HTTP requests in browsers or Node.js. It simplifies the process of sending and receiving data from servers, making it easier to handle network requests in JavaScript or React applications. 429. ### What are the advantages of using Axios over the built-in fetch API in JavaScript? Axios offers advantages over the built-in fetch API by providing a more convenient and consistent API, better error handling, support for request cancellation, and the ability to intercept requests and responses. 430. ### What is Material-UI, and what is its purpose in React development? Material-UI is a React component library that implements Google's Material Design guidelines. It offers pre-designed and customizable UI components, making it easier to build visually appealing and user-friendly interfaces. With Material-UI, developers can focus on functionality while simplifying the process of styling and creating responsive layouts. # Day 87 431. ### What is render hijacking in react? Render hijacking is a technique in React that allows you to control what a component outputs from another component. You do this by wrapping the component in a Higher-Order Component (HOC). By wrapping the component, you can inject additional props or make other changes, which can cause the component to render differently. 432. ### What are Keyed Fragments? Keyed fragments in React group multiple elements without a wrapper element, improving performance. By assigning a unique key to each child element, efficient reordering and updating are ensured during rendering. The general use case is mapping a collection to an array of fragment 433. ### What is suspense component? If the module containing the dynamic import is not yet loaded by the time parent component renders, you must show some fallback content while you’re waiting for it to load using a loading indicator. This can be done using Suspense component. 434. ### Is it possible to use react without JSX? Yes, it's possible to use React without JSX. JSX is a syntax extension for JavaScript used to write HTML-like code in React. However, you can still create React elements using the `createElement` function provided by React, which takes the element type, props, and children as arguments. ``` const MyComponent = () => { return React.createElement("div", { className: "my-class" }, "Hello, World!"); }; ``` 435. ### Why does strict mode render twice in React? Strict mode in React renders components twice to provide additional checks and useful warnings. It acts as a safeguard that catches possible issues in your code. By rendering twice, React can detect and alert you about problems like unintended side effects or outdated practices. This way, you can fix those issues before they cause any trouble in your application, making it more reliable and sturdy. # Day 88 436. ### What is React Fiber? React Fiber is a new reconciliation algorithm introduced in React 16. It is responsible for the efficient rendering and updating of components in React applications. React Fiber breaks the rendering work into smaller units called "fibers" and manages them in a priority-based manner. 437. ### How does React Fiber improve the overall performance of React applications? React Fiber improves performance by allowing more control over scheduling and rendering. It enables asynchronous rendering, which avoids blocking the main thread, resulting in a smoother user experience. 438. ### What is Babel in React js? Babel is a popular JavaScript compiler widely used in the React ecosystem. It allows developers to write modern JavaScript code (including the latest ECMAScript features) and transforms it into backward-compatible versions that can run in older browsers and environments that don't support those features(ES6, ES7 into plain old ES5). 439. ### What is a wrapper component in react? A wrapper component in React is like a parent container that wraps around other components. It adds extra features, behavior, or styling to the wrapped components. It acts as a higher-level component, enhancing the functionality of the components it contains. 440. ### Explain DOM diffing? DOM diffing, or reconciliation in React, is the process of comparing the previous and new versions of the user interface. It identifies the changes and updates needed for the actual web page. React determines what has changed, adds or removes elements, and updates only the necessary parts of the user interface. This makes the updates faster and more efficient by avoiding unnecessary re-rendering and manipulation of the web page. # Day 89 441. ### What are the dependencies in the dependency array of the useEffect hook? How do they affect the behavior of the hook? Dependencies in the dependency array of the useEffect hook determine when the effect should be executed. If any of the dependencies change, the effect will run again. If the dependency array is empty, the effect will only run once. 442. ### What are some common use cases for the useEffect hook? Common use cases for the useEffect hook include fetching data from an API, subscribing to external data sources, setting up event listeners, updating the document title, and performing any other side effects that need to occur when the component renders or updates. 443. ### Can you explain the concept of multiple useEffect hooks in a single component? How do they interact with each other? Multiple useEffect hooks in a single component allow you to separate concerns and organize code. Each useEffect hook operates independently and is triggered based on its own specified dependencies. They do not interact directly with each other. 444. ## What is the purpose of the cleanup function returned by the useEffect hook? How can you utilize it effectively? The cleanup function returned by the useEffect hook is important for cleaning up any resources or subscriptions created by the effect. To perform cleanup, you simply return a cleanup function from the effect. The cleanup function is useful for removing event listeners, cancelling subscriptions, or performing other necessary cleanup tasks. ``` useEffect(() => { const timerId = setInterval(() => { console.log('Running effect...'); }, 1000); return () => { // Cleanup function: Clear interval when component unmounts clearInterval(timerId); }; }, []); ``` 445. ### What are the potential pitfalls or common mistakes when using the useEffect hook? How can you avoid them? Some common mistakes with useEffect are: forgetting dependencies, causing stale data or infinite loops; not cleaning up properly, leading to memory leaks; and modifying state or props without proper dependency management, resulting in unexpected behavior. To avoid these, include all dependencies, update state or props conditionally, perform cleanup operations, and handle errors appropriately. # Day 90 446. ### What is server-side rendering (SSR) in React.js? Server-side rendering (SSR) in React.js is the process of rendering React components on the server and sending the pre-rendered HTML to the client. 447. ### Why would you choose to use server-side rendering instead of client-side rendering in React.js? Server-side rendering is chosen over client-side rendering in React.js for benefits like improved performance, SEO friendliness, and better initial page load experience. 448. ### How does server-side rendering differ from client-side rendering in React.js? Server-side rendering differs from client-side rendering in that the rendering process occurs on the server before sending the HTML to the client, whereas client-side rendering renders components in the browser. 449. ### Explain the benefits and drawbacks of server-side rendering in React.js. The benefits of server-side rendering in React.js include improved SEO, faster initial page load, and better performance for low-end devices. However, it can introduce more complexity and may not be suitable for all applications. 450. ### What are the performance implications of server-side rendering in React.js? Server-side rendering can improve performance by reducing the time required for the initial render, but it can also increase the server load and network traffic for subsequent or additional requests. # Day 91 451. ### How can you implement server-side rendering with React.js without using frameworks like Next.js? To perform server-side rendering with React.js without frameworks like Next.js, you need to set up a Node.js server, use a build system like Webpack or Babel, and implement server-side rendering logic using libraries like react-dom/server. 452. ### Describe the steps involved in setting up server-side rendering with React.js from scratch. The steps for setting up server-side rendering with React.js from scratch involve creating a Node.js server, configuring a build system, creating a server-side entry point, implementing rendering logic, and setting up routing. 453. ### What libraries or tools can be used to perform server-side rendering with React.js? Libraries like react-dom/server, ReactDOMServer, and express can be used to perform server-side rendering with React.js. 454. ### How can you handle data fetching and asynchronous operations during server-side rendering in React.js? Data fetching and asynchronous operations during server-side rendering can be handled by making use of lifecycle methods like componentDidMount or using libraries like react-async. 455. ### What considerations should you keep in mind when implementing server-side rendering for a large-scale React.js application? Considerations for server-side rendering in large-scale React.js applications include optimizing performance, managing data fetching efficiently, and dealing with complex application states. # Day 92 456. ### Can you explain the concept of code splitting and how it relates to server-side rendering in React.js? Code splitting is the process of splitting the JavaScript bundle into smaller chunks to improve performance. It can be utilized with server-side rendering to load only the necessary JavaScript code for each route or component. 457. ### How can you optimize server-side rendered React.js applications for search engine optimization (SEO)? To optimize server-side rendered React.js applications for SEO, ensure that important content is present in the initial HTML, use proper meta tags, and provide server-side rendering for dynamic content. 458. ### What are some common challenges or pitfalls associated with server-side rendering in React.js, and how can you address them? Common challenges with server-side rendering include handling client-side interactions, managing state across the server and client, and dealing with third-party libraries that are not SSR-friendly. These challenges can be addressed by using techniques like rehydration and carefully handling asynchronous operations. 459. ### How does server-side rendering impact the development and debugging process compared to client-side rendering? Server-side rendering impacts development and debugging differently from client-side rendering, as errors and issues can occur on both the server and the client. Proper error handling and debugging techniques are necessary. 460. ### Can you explain the concept of hydration in the context of server-side rendering in React.js? Hydration in server-side rendering refers to the process of attaching event listeners and reattaching React components on the client-side after the initial server-rendered HTML has been received. It enables interactivity and seamless transition to client-side rendering. # Day 93 461. ### What are the best practices for organizing and structuring a React application? Best practices for organizing and structuring a React application include using a component-based architecture, separating concerns with folders and files, and utilizing state management libraries like Redux or React Context. 462. ### How do you handle authentication and authorization in React applications? There are two main ways to handle authentication and authorization in React applications. One way is to use a third-party library, such as Auth0 or Firebase. These libraries provide a number of features that make it easy to implement authentication and authorization in your application, such as user management, password hashing, and session management. 463. ### What are the pros and cons of using React in a project compared to other JavaScript frameworks? The pros of using React in a project include its component-based architecture, virtual DOM for efficient rendering, a large and active community, and the ability to create reusable UI components. The cons can include a steep learning curve, complex configuration for larger projects, and potential performance issues with improper optimization. 464. ### Why do we need Nextjs? Next.js is a React framework that provides server-side rendering (SSR), static site generation (SSG), and other features like routing and API handling. It is useful for building optimized and performant React applications, improving SEO, and enabling server-side functionality. 465. ### What are some of the challenges you have faced working with React? &nbsp; &nbsp; &nbsp; <b> Write your own answer </b> # Typescript # Day 94 466. ### What is TypeScript, and how does it differ from JavaScript? TypeScript is a statically typed superset of JavaScript that adds optional static typing and other features to JavaScript. It differs from JavaScript by introducing type checking at compile-time, which helps catch errors early and improves code maintainability. 467. ### What are the benefits of using TypeScript? The benefits of using TypeScript include enhanced code quality through static typing, improved developer productivity with better tooling and autocompletion, increased maintainability through code organization and documentation, and easier collaboration within teams. 468. ### How do you define variables with specific types in TypeScript? Variables with specific types in TypeScript can be defined using type annotations. For example, you can declare a variable with a specific type like this: `let myVariable: string = "Hello";` . Here, `myVariable` is defined as a string type. 469. ### What are the basic data types in TypeScript? The basic data types in TypeScript are number, string, boolean, object, array, tuple, and enum. 470. ### What is tuple datatype in TypeScript? In TypeScript, a tuple is a type that allows you to define an array with a fixed number of elements of different types. Tuples are similar to arrays, but the types of elements in a tuple are fixed and their order matters. Tuples are useful when you want to work with a specific set of values, each with its own type, and maintain their order throughout the program. # Day 95 471. ### What is the purpose of type annotations in TypeScript, and how are they used? The purpose of type annotations in TypeScript is to specify the types of variables, function parameters, and return values. They help catch errors during development and provide better tooling support. Annotations are used by adding a colon after the variable or function parameter name, followed by the type. 472. ### How can you define custom types or interfaces in TypeScript? In TypeScript, custom types can be defined using interfaces or type aliases. Interfaces define the structure of an object and can be implemented by classes, while type aliases create a new name for a specific type or combination of types. They are defined using the `interface` and `type` keywords, respectively. 473. ### Explain the concept of type inference in TypeScript and how it works. Type inference in TypeScript is the ability of the compiler to automatically determine the type of a variable based on its initialization value. TypeScript analyzes the assigned value and infers the most appropriate type for the variable, reducing the need for explicit type annotations. 474. ### What is the difference between interfaces and type aliases in TypeScript? When would you use one over the other? Interfaces in TypeScript define how an object should look or what a class should implement. They can be extended or implemented by other interfaces and classes. Type aliases, on the other hand, give new names to existing types or combine multiple types together. Use interfaces when you want to describe object structure or class requirements. Use type aliases when you want to create shorter names for types or combine them in a meaningful way. 475. ### How does TypeScript support class-based object-oriented programming? TypeScript supports class-based object-oriented programming. It allows defining classes, inheritance, access modifiers (public, private, protected), abstract classes, and interfaces for contracts. It enforces type checking and helps organize complex class hierarchies and interactions. # Day 96 476. ### What is the use of the tsconfig.json file? The tsconfig.json file is used in TypeScript to configure the compiler options for a project. It allows developers to specify settings such as target version, module system, output directory, and more. 477. ### Explain the concept of type assertion in TypeScript. Type assertion in TypeScript is a way to tell the compiler the specific type of a value when it cannot be inferred automatically. It allows you to override the compiler's default assumptions and treat a value as a particular type. Type assertions are useful when you have more knowledge about the type of a value than what the compiler can determine on its own. 478. ### What is the "any" type in TypeScript, and when should it be used? The "any" type in TypeScript is a type that represents a value of any type. It essentially disables type checking for that particular value, allowing it to be assigned or used in any context. 479. ### How can you enforce strict null checks in TypeScript? To enforce strict null checks in TypeScript, you can enable the "strictNullChecks" compiler option in the tsconfig.json file. When enabled, TypeScript will check for null and undefined values more strictly, helping to prevent common errors related to null and undefined. 480. ### What is the "readonly" modifier in TypeScript, and how does it affect properties and arrays? The "readonly" modifier in TypeScript is used to make properties or array elements read-only, meaning they cannot be modified once initialized. It provides a way to enforce immutability and prevent accidental modifications to certain values. When applied to properties, it prevents reassignment, and when applied to arrays, it disallows adding or removing elements after initialization. # Day 97 481. ### Can TypeScript be used for the backend? Yes, TypeScript can be used for backend development. TypeScript is a superset of JavaScript that adds static typing and other features to JavaScript, making it more suitable for larger, complex applications. It can be used with popular backend frameworks and platforms such as Node.js to build server-side applications. 482. ### what is optional properties in an interface in TypeScript? In TypeScript, you can define optional properties in an interface by appending a question mark (?) to the property name. This indicates that the property is optional and may or may not be present in the object that implements the interface. ``` //age & email are marked as optional so it will not cause any error if they're not assigned any value interface Person { name: string; age?: number; email?: string; } ``` 483. ### Explain generics in Typescript. Generics in TypeScript enable you to create reusable code that can work with different data types. They act as placeholders for types and provide flexibility without sacrificing type safety. By using angle brackets (<>), you can create functions, interfaces, classes, or type aliases that can handle multiple types. ``` function identity<T>(arg: T): T { return arg; } //this is how generics increase flexibility let result1 = identity<number>(42); // result1 is of type number let result2 = identity<string>("Hello"); // result2 is of type string ``` 484. ### Explain the concept of type guards in TypeScript. Type guards in TypeScript are checks that help determine the type of a variable. They help TypeScript understand the specific type of the variable, making your code safer and more accurate. Type guards are used within conditional blocks to refine the type based on conditions, improving type inference and reducing the risk of errors. 485. ### What is the `keyof` operator in TypeScript? The `keyof` operator in TypeScript is used to get a union type of all the keys (property names) of an object type. It allows you to access and use the keys of an object type as string literals in type operations and transformations. ``` interface Person { name: string; age: number; } type PersonKeys = keyof Person; const key1: PersonKeys = 'name'; //Valid key const key3: PersonKeys = 'address'; //Error ``` # Day 98 486. ### Explain the difference between "interface" and "class" in TypeScript. An interface in TypeScript is used to describe the structure of an object, without providing an implementation. It defines the properties and methods that an object should have. On the other hand, a class is a blueprint for creating objects that encapsulates data and behavior. It allows you to create instances of objects, implement interfaces, and leverage object-oriented programming concepts like inheritance and encapsulation. 487. ### what is enum in Typescript? Enums in TypeScript is a way to define a collection of related constants. Enums assign automatic numeric values to each enumerator by default, but you can also customize them. Enums are useful when you have a fixed set of values that you want to refer to using meaningful names instead of explicit values throughout your code. 488. ### Can you erase the values of array elements in TypeScript? In TypeScript, we cannot directly erase or remove values from individual array elements. Once a value is assigned to an element in an array, it remains in that position until we replace it with a new value. However, we can assign `null`, `undefined`, or any other special value to indicate an empty or erased state for an array element. 489. ### What is Intersection types in Typescript? Intersection types allow you to combine multiple types into a single type that has all the properties and methods of each constituent type. It is denoted by the "&" symbol. ``` interface A { propA: number; } interface B { propB: string; } type IntersectionType = A & B; const obj: IntersectionType = { propA: 123, propB: "hello", }; ``` 490. ### What is Union types in Typescript? Union types allow you to define a type that can hold values of multiple types. It is denoted by the "|" symbol. ``` type UnionType = string | number; let val: UnionType; val = "hello"; // Valid val = 123; // Valid val = true; // Error, as boolean is not part ``` # Day 99 491. ### Which TypeScript types are immutable? In TypeScript, all primitive data types, such as strings, numbers, booleans, etc., are immutable, meaning that the value cannot be changed more than once. Additionally, it means that passing them to functions has no negative impacts. 492. ### What is namespace in Typescript? In TypeScript, a namespace is a way to organize and group related code elements such as classes, interfaces, functions, and variables under a single name. Namespaces provide a mechanism to avoid naming conflicts and create a logical hierarchy within your codebase. 493. ### What is modules in Typescript? Modules in TypeScript allow you to organize and encapsulate code into separate files. By using the `export` keyword, you can make specific code elements accessible to other modules, while the `import` keyword allows you to use those exported elements in your module. Modules make it easier to manage dependencies, reuse code, and maintain a modular structure in your TypeScript projects. 494. ### What is mixins in Typescript? In TypeScript, mixins allow you to extend a class by combining the properties and methods from other classes. They provide a way to reuse code across multiple classes without using inheritance. By applying a mixin to a target class, you can add additional functionality to the class in a modular and flexible manner. 495. ### What is declaration merging in Typescript? Declaration merging in TypeScript lets you combine multiple declarations with the same name into a single declaration. It allows you to add or extend properties, methods, or functionality to existing types, making it easier to build and extend code across multiple sources without duplicating definitions. ``` interface Box { height: number; width: number; } interface Box { scale: number; } let box: Box = { height: 5, width: 6, scale: 10 }; ``` # Day 100 496. ### What are the Disadvantages of TypeScript? TypeScript has a few drawbacks. It requires extra time and effort to annotate types, which can slow down development. It also has a learning curve, especially for developers new to static typing. The compilation step can add complexity to the workflow, and integrating TypeScript with existing JavaScript codebases may require extra work and introduce compatibility challenges. 497. ### What are decorators in TypeScript? Decorators in TypeScript allows us to add metadata or behavior to classes, methods, properties, or parameters at design time. They are declared using the @ symbol followed by the decorator name, placed just before the class, method, property, or parameter declaration. 498. ### Does TypeScript Support All Object Oriented Principles? Yes, Typescript support all object oriented principles. There are 4 main principles to Object Oriented Programming: Encapsulation, Inheritance, Abstraction, and Polymorphism. TypeScript can implement all four of them with its smaller and cleaner syntax 499. ### Does TypeScript supports function overloading? Yes, TypeScript supports function overloading, which means you can define multiple versions of a function with different parameter types or arity. This allows you to provide different implementations of the function based on the arguments passed to it. 500. ### What are the best practices when using TypeScript? To use TypeScript effectively, follow these best practices: use static typing for error prevention and code clarity, enable strict mode and null checks, minimize the use of any type, follow consistent naming conventions, keep TypeScript and compiler options up to date, etc.
500 HTML, CSS, JavaScript, ReactJS & Typescript Interview Questions.
css,frontend,frontend-interview-questions,html,interview,interview-questions,javascript,interview-preparation,typescript
2023-03-26T16:30:38Z
2023-07-02T15:20:37Z
null
1
0
130
0
48
261
null
null
null
codingstella/projects
main
# **See Preview of all Source Code In My Telegram Channel or Instagram** ㅤ <a href="https://instagram.com/coding.stella"> <img src="https://img.shields.io/badge/-Instagram-red?color=white&logo=instagram&logoColor=#00000" width=250px; title="Telegram" alt="Instagram"/> </a> <a href="https://t.me/codingstella"> <img src="https://img.shields.io/badge/-Telegram-red?color=white&logo=telegram&logoColor=blue" width=250px; title="Telegram" alt="Instagram"/> </a>
Source Code of all projects that I upload on Instagram
css,css-projects,html,html-css-javascript,html-css-javascript-project,html-css-javascript-projects,html-projects,javascript,javascript-projects,project
2023-04-03T13:39:56Z
2023-08-06T13:35:15Z
null
1
2
7
1
56
242
null
null
CSS
lgrammel/js-agent
main
# JS Agent: Build AI Agents & Apps with JS & TS > [!WARNING] > JS Agent was an early library to test out ideas and is not actively developed any longer. Check out [ModelFusion](https://github.com/lgrammel/modelfusion) - a more general AI library for TypeScript that incorporates my learnings from JS Agent. JS Agent is a composable and extensible framework for creating AI agents with JavaScript and TypeScript. While creating an agent prototype is easy, increasing its reliability and robustness is complex and requires considerable experimentation. JS Agent provides robust building blocks and tooling to help you develop rock-solid agents faster. ## Documentation ([js-agent.ai](https://js-agent.ai)) - [Concepts](https://js-agent.ai/concepts) - [Tutorial](https://js-agent.ai/tutorial/wikipedia-agent) - [API docs](https://js-agent.ai/api/modules) ## Examples ### [Wikipedia Question-Answering](https://github.com/lgrammel/js-agent/tree/main/examples/wikipedia) [Tutorial](https://js-agent.ai/docs/tutorial-wikipedia-agent/) An agent that has access to a wikipedia search engine and can read wikipedia articles. You can use it to answer questions about wikipedia content. Used features: `gpt-3.5-turbo`, custom tools (search wikipedia, read wikipedia article), generate next step loop, max steps run controller ### [JavaScript/TypeScript developer](https://github.com/lgrammel/js-agent/tree/main/examples/javascript-developer) An automated developer agent that works in a docker container. It can read files, write files and execute commands. You can adjust it for your project and use it to document code, write tests, update tests and features, etc. Used features: `gpt-4`, tool execution in Docker container, agent with fixed setup steps, multiple agent run properties, generate next step loop, tools (read file, write file, run, command, ask user), cost calculation after agent run ### [BabyAGI](https://github.com/lgrammel/js-agent/tree/main/examples/babyagi) JS Agent implementation of [BabyAGI](https://github.com/yoheinakajima/babyagi). Features used: HTTP Agent server, text completion model (`text-davinci-003`), customized console output, update tasks planning loop ### [PDF to Twitter Thread](https://github.com/lgrammel/js-agent/tree/main/examples/pdf-to-twitter-thread) Takes a PDF and a topic and creates a Twitter thread with all content from the PDF that is relevant to the topic. Features used: function composition (no agent), pdf loading, split-extract-rewrite ### [Split and Embed Text](https://github.com/lgrammel/js-agent/tree/main/examples/split-and-embed-text) Splits a text into chunks and generates embeddings. Features used: direct function calls (no agent), split text (gpt3-tokenizer), generate embeddings ## Features - Agent definition and execution - Configurable agent run properties that can be accessed by prompts - Observe agent runs (to support console output, UIs, server runs, webapps, etc.) - Record all LLM calls of an agent run - Calculate the cost of LLM calls and agent runs - Stop agent runs when certain criteria are met, e.g. to limit the number of steps - Use several different LLM models in one agent - Agent HTTP Server - Agent runs can be started, stopped, and observed via HTTP API - Can host multiple agents - Supported LLM models and APIs - OpenAI text completion models (`text-davinci-003` etc.) - OpenAI chat completion models (`gpt-4`, `gpt-3.5-turbo`) - OpenAI embedding model (`text-embedding-ada-002`) - Actions and Tools - Read and write file - Run CLI command - Use programmable search engine - Extract information on topic from webpage - Ask user for input - Write to string property - Call sub-agent (loop) - Optional agent/executor separation (e.g. run the executor in a sandbox environment such as a Docker container) - Agent lops - BabyAGI-style update tasks planning loop - Generate next step loop - Prompt templates for chat and text prompts - Built-in templates for quick start - Available actions prompt; extract information prompts; recent steps prompt, rewrite text prompt - Utility functions to combine and convert prompts - Text functions - Extract information (extract & rewrite; extract recursively) - Splitters: split text into chunks - By character - By token (using [tiktoken](https://www.npmjs.com/package/@dqbd/tiktoken) tokenizer) - Helpers: load, generate - Data sources - Webpage as HTML text - File as ArrayBuffer - Data converters - htmlToText - pdfToText - General utils - LLM call retry with exponential backoff ## Design Principles - **typed**: Provide as much typing as possible to support discovery and ensure safety. - **direct function calls**: All utility functions can be called directly without an agent or creating composite functions. - **composable**: The individual pieces should have a good separation of concerns and be easy to combine. - **extensible**: It should be easy for users to add their own tools, providers, actions, agent steps, etc. - **use functional programming for composition**: All objects that are immutable are assembled using functional programming. Object-orientation is only used for objects that have a changeable state (e.g. `Step` and `AgentRun`). - **support progressive refinement of agent specifications**: Agent specifications should be easy to write and every building block should provide good defaults. At the same time, it should be possible to easily override the defaults with specific settings, prompts, etc. - **build for production**: JS Agent will have first-class support for logging, associating LLM calls and cost tracking with agent runs, etc. ## Quick Install ```sh npm install js-agent ``` See the [examples](https://github.com/lgrammel/js-agent/tree/main/examples/) and [documentation](https://js-agent.ai/docs/intro) to learn how to create an agent. ## Example Agent ```ts import * as $ from "js-agent"; const openai = $.provider.openai; export async function runWikipediaAgent({ wikipediaSearchKey, wikipediaSearchCx, openAiApiKey, task, }: { openAiApiKey: string; wikipediaSearchKey: string; wikipediaSearchCx: string; task: string; }) { const searchWikipediaAction = $.tool.programmableGoogleSearchEngineAction({ id: "search-wikipedia", description: "Search wikipedia using a search term. Returns a list of pages.", execute: $.tool.executeProgrammableGoogleSearchEngineAction({ key: wikipediaSearchKey, cx: wikipediaSearchCx, }), }); const readWikipediaArticleAction = $.tool.extractInformationFromWebpage({ id: "read-wikipedia-article", description: "Read a wikipedia article and summarize it considering the query.", inputExample: { url: "https://en.wikipedia.org/wiki/Artificial_intelligence", topic: "{query that you are answering}", }, execute: $.tool.executeExtractInformationFromWebpage({ extract: $.text.extractRecursively.asExtractFunction({ split: $.text.splitRecursivelyAtToken.asSplitFunction({ tokenizer: openai.tokenizer.forModel({ model: "gpt-3.5-turbo", }), maxChunkSize: 2048, // needs to fit into a gpt-3.5-turbo prompt and leave room for the answer }), extract: $.text.generateText.asFunction({ prompt: $.prompt.extractChatPrompt(), model: openai.chatModel({ apiKey: openAiApiKey, model: "gpt-3.5-turbo", }), }), }), }), }); return $.runAgent<{ task: string }>({ properties: { task }, agent: $.step.generateNextStepLoop({ actions: [searchWikipediaAction, readWikipediaArticleAction], actionFormat: $.action.format.flexibleJson(), prompt: $.prompt.concatChatPrompts( async ({ runState: { task } }) => [ { role: "system", content: `## ROLE You are an knowledge worker that answers questions using Wikipedia content. You speak perfect JSON. ## CONSTRAINTS All facts for your answer must be from Wikipedia articles that you have read. ## TASK ${task}`, }, ], $.prompt.availableActionsChatPrompt(), $.prompt.recentStepsChatPrompt({ maxSteps: 6 }) ), model: openai.chatModel({ apiKey: openAiApiKey, model: "gpt-3.5-turbo", }), }), controller: $.agent.controller.maxSteps(20), observer: $.agent.observer.showRunInConsole({ name: "Wikipedia Agent" }), }); } ```
Build AI Agents with JS & TS
agent,gpt-4,javascript,openai,typescript,gpt-3,autogpt,babyagi
2023-04-06T08:12:54Z
2023-10-06T13:36:42Z
2023-05-04T16:25:31Z
4
7
282
7
35
224
null
MIT
TypeScript
qmhc/grid-layout-plus
main
<p align="center"> <a href="https://grid-layout-plus.netlify.app/" target="_blank" rel="noopener noreferrer"> <img src="./docs/public/grid-layout-plus.svg" width="180" style="width: 120px;" /> </a> </p> <h1 align="center">Grid Layout Plus</h1> <p align="center"> <a href="https://www.npmjs.com/package/grid-layout-plus" target="_blank"> <img src="https://img.shields.io/github/package-json/v/qmhc/grid-layout-plus" alt="npm version"/> </a> </p> ## What is Grid Layout Plus? Grid Layout Plus comes from [Vue Grid Layout](https://github.com/jbaysolutions/vue-grid-layout) and is migrated to Vue 3. > It is constructed with `<script setup>` and normalized TypeScript. <details> <summary>About Vue Grid Layout</summary> ## What is Vue Grid Layout? Vue Grid Layout is a grid layout system for Vue 2, like [Gridster](http://dsmorse.github.io/gridster.js/). **Heavily inspired by [React Grid Layout](https://github.com/STRML/react-grid-layout).** </details> ## Features - Draggable widgets - Resizable widgets - Static widgets - Bounds checking for dragging and resizing - Widgets may be added or removed without rebuilding grid - Layout can be serialized and restored - Automatic RTL support - Responsive ## Documentation Check out the online documentation [here](https://grid-layout-plus.netlify.app/). ## License All in [MIT](./LICENSE.md) license.
A draggable and resizable grid layout, for Vue 3.
drag-and-drop,grid-layout,javascript,typescript,vue,vue3,widget,vite,vue-component
2023-04-07T12:10:44Z
2024-04-22T16:02:31Z
2024-04-22T16:02:31Z
3
4
41
12
22
209
null
MIT
TypeScript
qdrant/qdrant-js
master
<p align="center"> <img height="100" src="https://github.com/qdrant/qdrant/raw/master/docs/logo.svg" alt="Qdrant"> &nbsp; <img height="80" src="./docs/ts-logo-256.svg" alt="Qdrant"> </p> <p align="center"> <b>JavaScript/TypeScript library for the <a href="https://github.com/qdrant/qdrant">Qdrant</a> vector search engine.</b> </p> <p align="center"> <a href="https://www.npmjs.com/package/@qdrant/qdrant-js"><img src="https://badge.fury.io/js/@qdrant%2Fqdrant-js.svg" alt="npm version" height="18"></a> <a href="https://qdrant.github.io/qdrant/redoc/index.html"><img src="https://img.shields.io/badge/Docs-OpenAPI%203.0-success" alt="OpenAPI Docs"></a> <a href="https://github.com/qdrant/qdrant-client/blob/master/LICENSE"><img src="https://img.shields.io/badge/License-Apache%202.0-success" alt="Apache 2.0 License"></a> <a href="https://qdrant.to/discord"><img src="https://img.shields.io/badge/Discord-Qdrant-5865F2.svg?logo=discord" alt="Discord"></a> <a href="https://qdrant.to/roadmap"><img src="https://img.shields.io/badge/Roadmap-2023-bc1439.svg" alt="Roadmap 2023"></a> </p> # JavaScript Qdrant SDK This repository contains packages of the JS SDK for the [Qdrant](https://github.com/qdrant/qdrant) vector search engine. There are published 3 packages: - [`@qdrant/qdrant-js`](https://www.npmjs.com/package/@qdrant/qdrant-js) [Code](./packages/qdrant-js/)- the main package with the SDK itself. - [`@qdrant/js-client-rest`](https://www.npmjs.com/package/@qdrant/js-client-rest) [Code](./packages/qdrant-js/) - lightweight REST client for Qdrant. - [`@qdrant/js-client-grpc`](https://www.npmjs.com/package/@qdrant/js-client-grpc) [Code](./packages/qdrant-js/) - gRPC client for Qdrant. ## JS/TS Examples ### Installation ```shell pnpm i @qdrant/js-client-rest # or npm install @qdrant/js-client-rest # or yarn add @qdrant/js-client-rest ``` ### Usage Run the Qdrant Docker container: ```shell docker run -p 6333:6333 qdrant/qdrant ``` ### Instantiate a client ```ts import {QdrantClient} from '@qdrant/js-client-rest'; // TO connect to Qdrant running locally const client = new QdrantClient({url: 'http://127.0.0.1:6333'}); // or connect to Qdrant Cloud const client = new QdrantClient({ url: 'https://xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx.us-east-0-1.aws.cloud.qdrant.io', apiKey: '<your-api-key>', }); ``` ### Make requests Using one of the available facade methods: ```ts const result = await client.getCollections(); console.log('List of collections:', result.collections); ``` More examples can be found in the [`examples`](./examples) folder. ## Support TypeScript types are provided alongside JavaScript sources to be used in: - Node.js (ESM and CJS) - `>= 18.0.0` - Deno - Browser (fetch API) - Cloudflare Workers (OpenAPI only) ## Releases Major and minor versions align with Qdrant's engine releases, whilst patch are reserved for fixes regarding the current minor release. New releases are made from the `master` branch. ## Contributing In order to [contribute](./CONTRIBUTING.md) there are a couple of things you may need to setup. We make use of [`pnpm`](https://pnpm.io/) instead of `npm` or `yarn` to manage and install packages in this monorepo, make sure it's installed on your local environment. After checking out the repository and desired branch, run `pnpm install` to install all package's dependencies and run the compilation steps. This will work for the monorepo. > For anything outside the monorepo, e.g.: [`examples/node-js-basic`](./examples/node-js-basic) feel free to use `npm` for installing packages and running scripts.
JavaScript/Typescript SDK for Qdrant Vector Database
javascript,sdk,sdk-typescript,typescript,vector-database
2023-03-29T08:50:14Z
2024-04-22T12:52:26Z
2024-04-22T12:52:58Z
15
50
49
11
15
204
null
Apache-2.0
TypeScript
adamlui/chatgpt-auto-refresh
main
null
↻ Keeps ChatGPT sessions fresh to avoid network errors + Cloudflare checks
ai,artificial-intelligence,chat,chatbot,chatgpt,chatgpt3,cloudflare,gpt,gpt-3,gpt-4
2023-03-28T23:10:13Z
2024-05-20T12:54:07Z
null
4
35
1,217
0
11
152
null
NOASSERTION
JavaScript