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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Dappy-Net/Semaphoreify | main |
<p align="center">
<img src="https://github.com/Dappy-Net/Semaphoreify/blob/main/assets/Text%20to%20semaphore.png"> <br>
<b>Semaphoreify</b> <br>
<i>Semaphoreify is a mobile app that converts text into numbers using semaphore code.</i>
</p>
# 🚩 Introduction
<p><b>Semaphoreify</b> is a mobile app that converts text into numbers using semaphore code.<br>
Semaphore code is a visual communication system that<br> uses flags to represent letters and numbers.
Semaphoreify is a great way to send messages in a fun and unique way. It is also a great way to learn about semaphore code.<br>
and the following are the functions of this website system</p>
* **🎌 Text2Semaphore:**
* Translate a text to Semaphore Codes
* **✍ Semaphore2Text:**
* Translate A Semaphore Code to Plain Text
# 🖼 Preview
<img src="https://github.com/Dappy-Net/Semaphoreify/blob/main/assets/demos.png"> <br>
[See the full version](https://semaphoreify.gwryzen.repl.co)
<br>
# 🏗 Made With
this projects is using somestuff to make this<br>
and these are the requirements to make this projects.
- [Replit](https://replit.com/@GwRyzen/Semaphoreify)
- [ejs](https://ejs.co/) (For The Handler)
- [Javascript](https://www.javascript.com/) (For The System translator)
- [💖 Love](https://www.paypal.com/paypalme/RizkyDaffy) (for the intention of making this)
## Support Me
if you like our project you can support us by giving ⭐ in this repo
and if anyone wants this project to continue you can support us using
- 👝 paypal : paypal.me/RizkyDaffy
- 🤑 saweria : https://trakteer.id/DappyNet
## License
This project is licensed under [MIT License](https://github.com/Dappy-Net/Semaphoreify/blob/main/LICENSE) 2022 DappyNet Industry
| Semaphoreify is a web app that converts text into numbers using semaphore code. (semaphore translator and Text to Semaphore) | css,devops,ejs,fun,html,javascript,morse-code,scout,semaphore,tools | 2023-09-23T10:55:12Z | 2023-09-24T09:05:46Z | null | 1 | 0 | 51 | 0 | 0 | 2 | null | MIT | EJS |
itsarvindhere/Angular | main | # UNDERSTANDING THE FOLDER STRUCTURE
In every folder, you will find at least two folders - one ending with "start" and the other ending with "final".
I will recommend you to begin with the "start" folder first and as you go over the Notes, keep coding accordingly in that "start" project.
The "final" project in each folder is simply the final version after applying all the concepts of that specific module.
Peace☮️
| Angular Concepts with Notes | angular,angularjs,javascript,typescript | 2023-09-19T06:53:40Z | 2024-05-14T16:26:48Z | null | 1 | 0 | 127 | 0 | 0 | 2 | null | null | TypeScript |
gnius-pe/api-service-dar | main | # Contribuir a Service-DAR
¡Gracias por tu interés en contribuir a Service-DAR! Valoramos y apreciamos la contribución de la comunidad. Antes de comenzar, por favor toma un momento para revisar las siguientes pautas y recomendaciones.
[](https://postimg.cc/FfvCFyJB)
## Cómo Contribuir
1. **Forkea el Repositorio:** Haz clic en el botón "Fork" en la parte superior de esta página para crear una copia de este repositorio en tu cuenta de GitHub.
2. **Clona tu Repositorio Forkeado:** Clona el repositorio que forkeaste a tu máquina local.
3. **Instalar Dependencias:** Instala las dependencias del proyecto definidas en el archivo package.json.
```bash
npm install
```
4. **Ejecutar la Aplicación:** Una vez que se hayan instalado las dependencias, ejecuta la aplicación utilizando el comando definido en el archivo package.json.
```bash
npm run dev
```
Esto ejecutará la aplicación Node.js. Abre tu navegador web y navega a la dirección en la que se ejecuta la aplicación (http://localhost:3000).
| servicio REST FULL | express,javascript,rest-api | 2023-09-19T01:37:57Z | 2024-05-14T00:41:17Z | null | 7 | 23 | 66 | 0 | 1 | 2 | null | null | JavaScript |
charandeepsinghb/learn-code-contribute | main | # learn-code-contribute
Learn, Code and Contribute
We are here to Learn, Code and Contribute
Currently our focus is on the beginners to learn and contribute
| Learn, Code and Contribute | code,contribute,css,html,javascript,learn,hacktoberfest | 2023-10-03T16:31:31Z | 2023-11-13T14:02:46Z | null | 4 | 11 | 34 | 4 | 7 | 2 | null | null | HTML |
Woolioo/JavaScriptProjects | main | # JavaScriptProjects
<p> Simple JS and TS projects (and many others) showing my beginner journey with JS and TS. </p>
<p> I'm currently so excited to learn those langauages. </p>
| Simple JS and TS projects (and many others) showing my beginner journey with JS and TS. | javascript,typescript | 2023-09-19T11:37:21Z | 2023-10-03T21:08:38Z | null | 1 | 0 | 26 | 0 | 0 | 2 | null | null | JavaScript |
omar-kamal-elkhabbaty/E-Commerce | main | # E-commerce Website
This project is an E-commerce website built using Vanilla JavaScript, Bootstrap, and SASS. It provides a platform for users to browse products, add them to their cart, and proceed to checkout.
## Features
- **Product Listing**: Users can view a list of products with details such as name, price, and image.
- **Product Search**: Users can search for specific products using keywords.
- **Product Details**: Users can click on a product to view its detailed information.
- **Shopping Cart**: Users can add products to their shopping cart and manage the quantities.
- **Checkout Process**: Users can proceed to checkout, enter their shipping and payment details, and place an order.
- **Order History**: Users can view their order history and track the status of their orders.
- **Responsive Design**: The website is responsive and works well on different devices and screen sizes.
## Technologies Used
- **Vanilla JavaScript**: The website is built using pure JavaScript without any frameworks or libraries.
- **Bootstrap**: The Bootstrap framework is used for styling and layout.
- **SASS**: SASS (Syntactically Awesome Style Sheets) is used as a CSS preprocessor to enhance the styling capabilities.
## Project Structure
The project has the following directory structure:
```
.
├── index.html
├── style
│ └── bootstrap
│ ├── bootstrap.js
│ ├── bootstrap.css
│ └── global
│ ├── _global.scss
│ ├── _mixins.scss
│ ├── _animation.scss
│ ├── _nav.scss
│ └── pages
│ ├── index.css
│ ├── index.scss
├── javasript
│ ├── main.js
│ └── index.js
└── images
```
- `index.html`: The main HTML file that defines the structure of the website.
- `css/main.css`: The compiled CSS file generated from the SASS code.
- `js/main.js`: The main JavaScript file that initializes the application and handles user interactions.
- `js/index.js`: index page functions.
- `sass/index.scss`: The index SASS file that imports other SASS partials and defines the overall styling.
## Getting Started
To run the E-commerce website locally, follow these steps:
1. Clone the repository: `git clone https://github.com/omar-kamal-elkhabbaty/E-commerce`
2. Navigate to the project directory: `cd e-commerce-website`
3. Open the `index.html` file in your preferred web browser.
## Customization
If you want to customize the website, you can modify the following files:
- `index.html`: Update the HTML structure and content.
- `js/main.js`: Modify the JavaScript code to add new functionalities or change existing ones.
- `sass/*.scss`: Update the SASS files to customize the styling.
## Contributing
Contributions to this project are welcome. If you find any issues or want to add new features, feel free to open an issue or submit a pull request.
## Contact
- You can contact with us `omar.muhammed.kamal@gmail.com`
| A vanilla JS E-Commerce | animation,api,bootstrap5,css3,e-commerce,es6-javascript,html5,javascript,js,restful-api | 2023-09-23T18:31:34Z | 2023-09-23T18:34:15Z | null | 1 | 0 | 3 | 0 | 0 | 2 | null | null | CSS |
rado-kolev/portfolio | main | # My Portfolio
## [Live Site](https://radokolev.netlify.app)
<br/>
## Description
This repository is about my portfolio website.
<br/>
## Screenshot

<br/>
## 🛠️ Built with:







| My portfolio created with React and Sanity | css3,html5,javascript,react,sanity,sass,framer-motion | 2023-09-29T21:17:24Z | 2023-11-15T18:02:22Z | null | 1 | 0 | 19 | 0 | 1 | 2 | null | null | JavaScript |
plyght/PongJS | main | Pong Game
This repository contains a simple implementation of the classic Pong game using JavaScript and HTML5 Canvas. The game includes a player-controlled paddle and an AI-controlled paddle. The player can control the speed of the game and toggle a dark mode for the game interface.
Files:
- pong.html: This is the main HTML file that contains the structure of the game interface. It includes a start menu with a start button, a dark mode toggle button, and a speed changer dropdown. The game is displayed on a canvas element.
- pong.js: This is the main JavaScript file that contains the game logic. It includes functions for drawing and moving game elements, handling user input, and managing game state.
- server.js: This is a simple Express server that serves the game files.
Game Elements
- Paddles: There are two paddles, one controlled by the player (using mouse movement) and the other controlled by a simple AI that follows the ball.
- Ball: The ball moves across the screen and bounces off the paddles and the top and bottom edges of the screen.
- Scores: The scores of the player and the AI are displayed on the screen.
Game Features:
- Dark Mode: The player can toggle a dark mode for the game interface.
- Speed Changer: The player can change the speed of the game using a dropdown menu.
- Start/Reset Game: The player can start a new game using the start button. The game can be reset by pressing the Escape key.
Running the Game
To run the game, start the Bun server using the command "bun server.js" and open your browser to http://localhost:3000.
Contributing:
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
License:
MIT License
Copyright (c) 2023 plyght
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. | This is a game of pong made with javascript you can run in your browser or in localhost:3000! | html,javascript,pong-game,pong-js,bun,bunsh | 2023-09-15T14:21:25Z | 2023-09-27T18:27:31Z | 2023-09-15T14:21:25Z | 1 | 0 | 15 | 0 | 0 | 2 | null | MIT | JavaScript |
Wassim-Rached/Iset-web | main | null | Advanced Website exercices from institute of technological studies of charguia DSI201 2023/2024 | css3,html5,javascript,animation-css,drag-and-drop,localstorage,session | 2023-10-11T10:32:12Z | 2023-12-09T12:45:41Z | null | 2 | 3 | 23 | 0 | 0 | 2 | null | null | HTML |
moshe002/BisdaKids-Admin-WebApp | main | # React + Vite
This template provides a minimal setup to get React working in Vite with HMR and some ESLint rules.
Currently, two official plugins are available:
- [@vitejs/plugin-react](https://github.com/vitejs/vite-plugin-react/blob/main/packages/plugin-react/README.md) uses [Babel](https://babeljs.io/) for Fast Refresh
- [@vitejs/plugin-react-swc](https://github.com/vitejs/vite-plugin-react-swc) uses [SWC](https://swc.rs/) for Fast Refresh
| Admin WebApp for the mobile game BisdaKids (Capstone Project) | javascript,react,tailwindcss,supabase-db,supabase-js,supabase-storage,vite | 2023-09-24T05:35:28Z | 2023-12-15T04:10:45Z | null | 4 | 0 | 37 | 0 | 0 | 2 | null | null | JavaScript |
verlandev/Tesla-ModelS-clone-desde-cero | master | # Copycat - Model S de Tesla desde 0

## Descripción
Este es un proyecto de exploración personal para asentar las bases en maquetación web empleando HTML, CSS (SASS) y Javascript. No tiene en sí funcionalidad más allá de un menú responsive (sin enlaces), transiciones dinámicas y alguna característica visual para replicar lo más fielmente posible la página de Tesla Modelo S.
> [!NOTE]
> Accede al proyecto haciendo clic aquí: https://tesla-model-s-clone-desde-cero.vercel.app/
> [!IMPORTANT]
> <em>
> - Este proyecto se ha hecho con fines de entretenimiento y aprendizaje.
>
> - Este copycat sigue el diseño de la página tal y como estaba en octubre 2023.
>
> - El diseño de la web original puede variar.
>
> - Solo es una maqueta, ningún enlace lleva a ninguna parte.
> </em>
## Tecnologías usadas






## 🏅 Desafíos y aprendizajes 🏅
### 📱 Responsive
- **Lo mejor**: he profundizado mucho más en mis conocimientos de HTML asegurando la base de una buena estructura que luego no me ha costado tanto adaptar en la mayoría del proyecto.
- **Lo regular**: las partes más delicadas como el menú, banner y algunas secciones con una disposición diferentes de la versión escritorio han necesitado de una adaptación menos elegante.
> [!NOTE]
> <em>Para asegurar una estructura HTML eficaz se ha priorizado la versión de escritorio y finalmente se ha pasado a la adaptación mobile.</em>
### 🎨 BEM y aprovechamiento de SASS
- **Lo mejor**: asegurar las buenas prácticas de BEM.
- **Lo regular**: necesidad de volver atrás y repasar las clases cuando el proyecto ya estaba muy adelantado.
> [!NOTE]
> <em>Si das con los nombres adecuados (cortos y descriptivos) para bloques y modificadores, aún mejor.</em>
### 👩💻 Javascript
- **Lo mejor**: entender que en la maquetación web, activar y desactivar clases se vuelve esencial para lograr más de un efecto.
- **Lo regular**: retomar muchas funcionalidades que no estaban pensadas para el responsive.
### 🧠 GIT
- **Lo mejor**: mayor capacidad de planificación con respecto a ramas y commits.
- **Lo regular**: replanteamiento de las subidas y el trabajo versionado una vez se ha empezado el proyecto, creando un poco de caos en el histórico.
> [!NOTE]
> <em>Trabajar por versiones hace que el avance del proyecto y ejecutar los cambios se vuelva más sencillo y organizado.</em>
### 📂 Módulos CSS
- **Lo mejor**: mejor accesibilidad para gestionar los cambios y trabajar el responsive.
- **Lo regular**: una mejora que he implementado una vez había iniciado el proyecto
> [!NOTE]
> <em>No se ha empleado la lógica de componente reutilizable, pero hubiese estado bien pensar en ello.</em>
## Contribuciones
¡Las contribuciones son más que bienvenidas!
Siéntete libre de abrir un issue o enviar un pull request si hay algo que creas que se puede mejorar en el proyecto o encuentras algún problema. ¡Muchas gracias!
## 🙋♀️ Beatriz Verlan Developer
¡Gracias por llegar hasta aquí!
Soy desarrolladora en constante aprendizaje. Me encanta la programación y aprender siempre algo nuevo. Por eso aprovecho los ratillos libres para sacar algún proyecto con el que seguir practicando.
| Copycat de Tesla creado para aprender y entretenerme 🚀 | copycat,css,html,javascript,scss,bem,flexbox,javascript-vanilla,jsdoc,scss-modules | 2023-09-15T18:48:37Z | 2024-02-03T10:40:06Z | null | 1 | 24 | 151 | 0 | 0 | 2 | null | null | CSS |
walidbosso/JavaScript_Projects_Clock_calc_todo_gallery_bgcolor | main | 
<p align="center">
<a href="https://github.com/walidbosso/JavaScript_Projects_Clock_calc_todo_gallery_bgcolor">
<img src="https://raw.githubusercontent.com/khoa083/khoa/main/Khoa_ne/img/Rainbow.gif" width="60%"/> </a>
</p>
<div align="center">
[](https://github.com/walidbosso/JavaScript_Projects_Clock_calc_todo_gallery_bgcolor)
<p align="center">
<a href="https://github.com/walidbosso/JavaScript_Projects_Clock_calc_todo_gallery_bgcolor">
<img src="https://api.visitorbadge.io/api/visitors?path=https%3A%2F%2Fgithub.com%2Fwalidbosso%2FJavaScript_Projects_Clock_calc_todo_gallery_bgcolor&label=Project%20views&countColor=%23263759&style=flat-square&labelStyle=none" /></a>
</p>
<a href="https://github.com/walidbosso/JavaScript_Projects_Clock_calc_todo_gallery_bgcolor">
<img src="https://raw.githubusercontent.com/khoa083/khoa/main/Khoa_ne/img/Rainbow.gif" width="60%"/>
<a/>
</a>
<br/>
# JavaScript Projects
</div>
This repository contains a collection of small JavaScript projects, each showcasing different functionalities:
1. **Calculator**
- Simple calculator implementation.
2. **Clock**
- Interactive clock implemented in JavaScript.
3. **On Mouse Over Gallery**
- Gallery of images that change on mouseover.
4. **To-Do List**
- Basic to-do list application.
5. **Background Color Changer**
- Changes the background color dynamically.
## Topics Covered
- JavaScript
- Clock Implementation
- Calculator
- Gallery with Mouseover Effects
- To-Do List
- Background Color Changing
## How to Use
1. Clone the repository:
```bash
git clone https://github.com/walidbosso/JavaScript_Projects_Clock_calc_todo_gallery_bgcolor.git
```
2. Explore the individual project folders (`1 - Placement`, `2 - JS Project 1 l BG Color Changer`, `3 - JS Project 2 l Completion`, `JavaScript_Projects_Clock_calc_todo_gallery_bgcolor`) for code and resources.
## License
This project is licensed under the Apache-2.0 License - see the [LICENSE](LICENSE) file for details.
## Contributing
If you'd like to contribute to the project, please follow these steps:
1. Fork the repository.
2. Create a new branch (`git checkout -b feature/your-feature`).
3. Commit your changes (`git commit -m 'Add some feature'`).
4. Push to the branch (`git push origin feature/your-feature`).
5. Open a pull request.
## Issues
If you encounter any issues or have suggestions, please open an issue on the [Issues](https://github.com/walidbosso/JavaScript_Projects_Clock_calc_todo_gallery_bgcolor/issues) page.
Thank you for exploring the JavaScript Projects repository! 🚀
<div align="center">
----------------------
> > <br/> © *by Walid BOUSSOU* 🇲🇦 😄 <br/>
----------------------
<details>
<summary>👏 Thanks for the support </summary>
## Stargazers
<div align="center">
[](https://github.com/walidbosso/JavaScript_Projects_Clock_calc_todo_gallery_bgcolor/stargazers)
</div>
## Forkers
<div align="center" >
[](https://github.com/walidbosso/JavaScript_Projects_Clock_calc_todo_gallery_bgcolor/network/members)
</div>
## Contributors
<a href = "https://github.com/walidbosso">
<img src = "https://contrib.rocks/image?repo=walidbosso/JavaScript_Projects_Clock_calc_todo_gallery_bgcolor"/>
</a>
<br/></details><br/>
<div align="center">

</div>
<div align="center">

<p align="center">
<a href="https://www.buymeacoffee.com/walidbosso"><img src="https://img.buymeacoffee.com/button-api/?text=Buy me a coffee&emoji=☕&slug=walidbosso&button_colour=5F7FFF&font_colour=ffffff&font_family=Poppins&outline_colour=ffffff&coffee_colour=FFDF00" title="☕ This will motivate me to continue on creating more open source codes "/></a>
</p>
</div>
<a href = "https://github.com/walidbosso">
<img src = "https://github.com/walidbosso/Python-GUI/blob/main/border.gif" width="100%"/>
</a>
<a href = "https://github.com/walidbosso">
<img src = "https://github.com/walidbosso/Python-GUI/blob/main/ciber-coding.gif" width="100%"/>
</a>
<a href = "https://github.com/walidbosso">
<img src = "https://github.com/walidbosso/Python-GUI/blob/main/border.gif" width="100%"/>
</a>
𝚂𝚑𝚘𝚠 𝚜𝚘𝚖𝚎 💙 𝚋𝚢 𝚜𝚝𝚊𝚛𝚛𝚒𝚗𝚐 ⭐ 𝚝𝚑𝚎 𝚛𝚎𝚙𝚘𝚜𝚒𝚝𝚘𝚛𝚢!
<br/>
<p align="center"><a href="#"><img src="https://img.shields.io/badge/Back%20to%20top--lightgrey?style=social" alt="Back to top" height="20"/></a></p>
| So far a Calculator, a Clock, On mouse over Gallery, To do list and Background Color changer. | background-color-change,clock,gallery-images,javascript,todolist | 2023-09-26T05:06:52Z | 2024-01-10T23:29:23Z | null | 1 | 0 | 6 | 0 | 0 | 2 | null | Apache-2.0 | HTML |
BoddepallyVenkatesh06/Spotify-Clone | main | # Spotify
Spotify is an open-source music streaming application that allows users to discover, listen to, and share music. This project aims to provide a seamless music streaming experience.
## Table of Contents
- [Introduction](#introduction)
- [Features](#features)
- [Getting Started](#getting-started)
- [Prerequisites](#prerequisites)
- [Installation](#installation)
- [Usage](#usage)
- [Contributing](#contributing)
- [License](#license)
- [Acknowledgments](#acknowledgments)
## Introduction
Spotify is a popular music streaming platform that offers a vast library of songs, playlists, and podcasts. This open-source project aims to replicate and enhance the Spotify experience.
## Features
- Stream music from a vast library.
- Create and share playlists.
- Discover new music and artists.
- Personalized recommendations.
- User-friendly interface.
## Getting Started
### Prerequisites
Before you begin, ensure you have met the following requirements:
- [Node.js](https://nodejs.org/) installed
- [MongoDB](https://www.mongodb.com/) database set up
### Installation
To install and run Spotify, follow these steps:
1. Clone the repository:
```bash
git clone https://github.com/BoddepallyVenkatesh06/spotify.git
```
2. Change to the project directory:
```bash
cd spotify
```
3. Install dependencies:
```bash
npm install
```
4. Configure environment variables:
Create a `.env` file in the project root and provide the necessary environment variables (e.g., database connection string, API keys).
5. Start the server:
```bash
npm start
```
## Usage
1. Register or log in to your Spotify account.
2. Explore the vast music library.
3. Create playlists and discover new music.
4. Enjoy your favorite songs and podcasts.
## Contributing
Contributions are welcome! Please read [CONTRIBUTING.md](CONTRIBUTING.md) for details on our code of conduct and the process for submitting pull requests.
## License
This project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.
## Acknowledgments
- [Node.js](https://nodejs.org/)
- [MongoDB](https://www.mongodb.com/)
- [React](https://reactjs.org/)
- [Express.js](https://expressjs.com/)
- [Passport.js](http://www.passportjs.org/)
```
Please note that this is a template, and you should customize it with specific details about your Spotify-related project, including installation instructions, prerequisites, and acknowledgments.
| Spotify is a popular music streaming platform that offers a vast library of songs, playlists, and podcasts, accessible through a user-friendly app, with both free and premium subscription options. | css3,html5,javascript,monogodb,nodejs,reactjs | 2023-09-27T16:10:24Z | 2023-09-27T16:19:50Z | null | 1 | 0 | 3 | 0 | 0 | 2 | null | MIT | HTML |
azr-arch/realtime-chat-app | master | # Next.js Chat Application
This is a real-time chat application built with Next.js, Tailwind CSS, NextAuth, MongoDB, LiveKit and Socket.IO.

## Note:
The project url may take couple of minutes, because of free tier hosting limitations
## Features
- Real-time messaging: Send and receive messages in real-time using Socket.IO.
- Add Users: add other users with their login email
- User authentication: Securely register and log in users using MongoDB and NextAuth.
- Video chat: Talk face-to-face with other users.
- One-on-one Talk: Chat directly with your friends privately.
- Send Images and Emojis: Able to send images and emojis.
## Built With
- [Next.js](https://nextjs.org/)
- [TailwindCSS](https://tailwindcss.com/)
- [NextAuth](https://next-auth.js.org/)
- [MongoDB](https://mongodb.com)
- [SocketIO](https://socket.io/)
- [LiveKit](https://livekit.io/)
## Getting Started
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes.
### Installation
1. Clone the repository: `git clone https://github.com/azr-arch/realtime-chat-app.git`
2. Install the dependencies: `npm install`
3. Start the development server: `npm run dev`
## License
This project is licensed under the MIT License - see the [LICENSE.md] file for details
---
**Design Credit**: The design for this project is inspired by [https://dribbble.com/shots/22529373-Desktop-design-of-a-chat-application-Lazarev]. All credit for the design goes to them.
---
| Realtime Chat App using Nextjs, Tailwind, MongoDB, Sockets and LiveKit | chatapp,javascript,nextjs,socket-io,livekit | 2023-09-21T17:22:15Z | 2024-01-31T14:45:57Z | 2023-12-06T13:08:58Z | 1 | 1 | 57 | 0 | 2 | 2 | null | null | JavaScript |
ShwetKhatri2001/ChatFellow | master | # 💬 ChatFellow
- Hi 👋 Shwet here, Welcome to ChatFellow !
- Its a Real time Chat Application built using PHP with MySQL & JavaScript
## 🚀 Features
- Register with name, email, password and a display picture
- Login with email and password ( end-to-end encrypted )
- Find a list of active people on the platform to chat live
- Perform Real-time chat by sending messages to a person and getting his responces live in seconds
- Saving the conversation in MySQL Database to continue it by logging in again anytime you want
## 🧰 Technologies Used
    
## 👀 Preview
### [Live Link](https://chatfellow.000webhostapp.com/)
<hr/>
- ### Register
<hr/>

<hr/>
- ### Select an active person
<hr/>

<hr/>
- ### Real-time Live Chat
<hr/>

<hr/>
## 🎇 Contributing
If you find bugs with this project, pull requests are always welcome. You can [create an issue here](https://github.com/ShwetKhatri2001/ChatFellow/issues/new).
Your :star: is also greatly appreciated.
[Checkout my GitHub profile to find more awesome projects](https://github.com/ShwetKhatri2001)
| Real time Chat Application using PHP with MySQL & JavaScript | chat-application,javascript,mysql,php | 2023-09-14T20:28:54Z | 2023-09-15T10:29:06Z | null | 1 | 0 | 5 | 0 | 0 | 2 | null | null | PHP |
iWolf22/cooking-mama | main | # Cooking Mama - Hack The North 2023
---
## Inspiration
Everyone knows the agony of their painstaking home cooking going awry when just that one instruction in the recipe slips their mind. For the longest time, cooking up new recipes has continued to be fraught with challenges; from squinting at recipes on the phone screen to inadvertently burning a meal by cooking longer than intended, difficulties in the kitchen could arise at the drop of a hat. As people who are all too aware of this, we wanted to develop a tool at Hack the North 2023 that eliminates the inconveniences within the kitchen, making cooking comfortable and enjoyable for everyone.
---
## What it does
Cooking Mama is a virtual cooking assistant that utilizes OpenAI to guide anyone through their favourite online recipes. Even if the user is tackling an entirely novel recipe, our tool ensures ease of cooking by going through the cooking instructions and answering any questions that may come its way. From the required ingredients and clarification on certain instructions to the exact temperature a cake needs to be baked, Cooking Mama leaves no aspects of a recipe neglected and no doubts in anyone making use of its assistance.

^ Website Front Page ^

^ Webscrapped and AI Interpreted Data ^
---
## How we built it
We built Cooking Mama mainly using Node.js. A web scraper was built using Cheerio and Puppeteer to get html elements from the links of online recipes. Using OpenAI, the collected information was processed to output cooking instructions. Additionally, we used Google's text-to-speech and built in Web Speech API for communication between the user and Cooking Mama.
---
## Challenges we ran into
Our lack of experience was our biggest challenge while creating this project for Hack the North 2023. Our determination to make this project a reality inspired us to use new tools and different frameworks that we had never even heard of before. While this meant that we were often stuck troubleshooting, in combination with the fact that our entire team was new to OpenAI, we used our resources to the best of our abilities and were able to create a project implementing this technology.
---
## Accomplishments that we're proud of
Although certain aspects could have been better implemented, we are proud to have stepped outside of our comfort zone and built a functional program using tools that we were not familiar with.
---
## What we learned
From our experience building Cooking Mama, we have learned to implement a variety of functionality and frameworks in our web application. Among these are OpenAI and text-to-speech, which are tools that we may incorporate into our future projects.
---
## What's next for Cooking Mama
The future of Cooking Mama is a cooking assistance application that makes browsers obsolete. Our next step is to expand to mobile apps on phones. This would allow for users to use the communication features of the app in the background, even when their screens are turned off.
---
## Built With
- cheerio
- google-web-speech-api
- html
- css
- javascript
- bootstrap
- node.js
- express.js
- openai
- puppeteer
---
## Presentation

---
## Contributors
- Timothy Lu <limothytu1207@gmail.com>
- Joshua Dierickse <joshua.dierickse@gmailcom>
---
## License & Copyright
- © Timothy Lu, University of Waterloo
- © Joshua Dierickse, University of Waterloo
| An AI cooking assistant with web scrapping, text-to-speech, and speech-to-text capabilities (Hack The North 2023) | ai,css,expressjs,html,javascript,nodejs,webscraping | 2023-09-17T03:09:24Z | 2024-03-05T05:59:05Z | null | 2 | 1 | 19 | 0 | 0 | 2 | null | null | EJS |
GradHire/GradHire-website | main | # GradHire - Le projet de BUT Informatique
Ce document offre un aperçu de la plateforme GradHire, développée par les étudiants de BUT Informatique à l'IUT Montpellier-Sète pendant leur troisième semestre. GradHire agit comme un pont entre la formation académique et les exigences du marché de l'emploi.
## Équipe
- Marius BROUTY
- Clément GARRO
- Giovanni GOZZO
- Daniil HIRCHYTS
Année Académique : 2023-2024
---
## Introduction
GradHire est une plateforme web conçue pour faciliter l'entrée des étudiants dans la vie professionnelle en offrant un espace centralisé pour les offres de stages et de programmes en alternance des entreprises.
## Description du Projet
GradHire est une plateforme innovante conçue pour faciliter les connexions entre les étudiants et le monde professionnel. Elle offre un ensemble complet de fonctionnalités pour améliorer l'expérience des utilisateurs, qu'ils soient des entreprises ou des étudiants.
---
### Fonctionnalités pour les Entreprises
- **Inscription :** Permet aux entreprises de s'enregistrer en fournissant des informations essentielles.
- **Publication des Offres :** Facilite la création et la mise en ligne d'offres de stages ou d'alternances.
- **Gestion des Offres :** Inclut l'importation des offres via CSV, la création, la validation, la modification et la suppression des offres.
- **Communication Directe :** Système permettant de contacter facilement les candidats et d'envoyer des newsletters.
### Fonctionnalités pour les Étudiants
- **Consultation des Offres :** Possibilité pour les étudiants de rechercher, de filtrer et de consulter les offres disponibles.
- **Candidature aux Offres :** Permet aux étudiants de postuler aux offres directement sur la plateforme.
- **Gestion des Candidatures :** Suivre l'état des candidatures, accepter des offres et gérer le processus de l'entrevue à la soutenance.
- **Calendrier :** Un calendrier pour planifier les soutenances et les visites.
### Fonctionnalités Académiques
- **Gestion des Soutenances :** Outils pour planifier et consulter les soutenances et visites.
- **Système des Avis et Comptes Rendus :** Publication et gestion des avis relatifs à des soutenances ou à l'expérience utilisateur.
- **Gestion des Entreprises :** Permet aux enseignants de consulter et de gérer les comptes des entreprises.
- **Gestion des Offres :** Permet aux enseignants de consulter et de gérer les offres.
- **Gestion des Candidatures :** Permet aux enseignants de consulter et de gérer les candidatures.
- **Gestion des Comptes :** Permet aux enseignants de consulter et de gérer les comptes des utilisateurs.
### Sécurité et Personnalisation
- **Sécurité :** Protection contre les injections SQL et XSS, et cryptage des mots de passe pour assurer la confidentialité et l'intégrité des données.
- **Personnalisation :** Possibilité pour les utilisateurs de personnaliser leur expérience sur la plateforme, notamment en ajustant leur barre latérale.
### Outils d'Assistance et Ressources Supplémentaires
- **Chatbot :** Intégration d'un chatbot pour l'assistance aux utilisateurs et la réponse aux questions fréquentes.
- **Simulation de Pstage :** Un simulateur pour épauler les étudiants dans la préparation de leurs stages.
- **Statistiques :** Un tableau de bord pour visualiser les statistiques de la plateforme.
- **Ressources :** Un espace pour les ressources supplémentaires telles que les liens vers les sites des entreprises.
### Analyse et Conception
- **Diagrammes UML :** Utilisation de diagrammes Use Case et de séquences pour une meilleure compréhension des interactions utilisateur.
- **Modélisation de la Base de Données :** Un modèle Entité-Relation détaillé pour un système robuste et structuré.
### Déploiement et Maintenance
- **Solutions de Conteneurisation :** Utilisation de Docker pour un déploiement simplifié et fiable de la plateforme.
- **Maintenance Facilitée :** Structure du projet basée sur le modèle MVC pour une évolutivité et une maintenance efficace.
- **Documentation :** Documentation complète pour faciliter la maintenance et l'extension du projet.
GradHire représente une solution clé pour les organisations cherchant à recruter des talents et pour les étudiants désireux de se lancer dans des carrières enrichissantes en adéquation avec leur formation académique.
## Analyse et Conception
Utilisation de différents diagrammes UML pour affiner notre base de code et maximiser l'adhésion aux principes SOLID.
## Système d'Authentification
Processus de connexion détaillé pour différents profils d'utilisateur tels que les comptes professionnels, LDAP et la supervision des étudiants.
## Gestion de Compte
Outils pour la maintenance complète du compte, y compris les changements de mot de passe et l'accès au tableau de bord pour des statistiques et gestion.
## Gestion des Offres
Fonctionnalités pour l'importation d'offres via CSV, la gestion des publications et l'envoi de newsletters aux abonnés.
## Sécurité et Personnalisation
Des fonctionnalités de sécurité de pointe telles que le stockage de mot de passe crypté et la validation des cookies, couplées à des expériences utilisateur personnalisables.
## Diagrammes
Des diagrammes complets, y compris des modèles Entité-Relation, des diagrammes de Cas d'Utilisation, et des Diagrammes de Classe sont fournis pour illustrer la conception du système.
_Pour un ensemble complet de diagrammes, accédez à notre [Diagrammes dans le rapport](https://drive.google.com/file/d/1cxeMwlNlAfpbL-QIwYSCCJOAMf-A2NXo/view)._
---
## Démarrage Rapide
- **Configuration avec Docker :** Instructions pour configurer le projet en utilisant des conteneurs Docker.
- **Configuration Locale :**
> (1) Clonez le dépôt sur votre machine locale.
>
>(2) Installez les dépendances avec `npm install`.
>
>(3) Démarrez le watcher de TailwindCSS avec `npm run watch`.
>
>(4) Démarrez le serveur avec `npm run dev`.
>
>(5) Accédez à `localhost:8080` pour voir le site.
_Pour des instructions de configuration complètes et des tutoriels, visitez [Utilisation de notre site](https://drive.google.com/file/d/1cxeMwlNlAfpbL-QIwYSCCJOAMf-A2NXo/view)._
---
## Licence
La permission est par la présente accordée, gratuitement, à toute personne obtenant une copie
de ce logiciel et des fichiers de documentation associés (le "Logiciel"), pour traiter
le Logiciel sans restriction, y compris sans limitation les droits
d'utilisation, de copie, de modification, de fusion, de publication, de distribution, de sous-licence, et/ou de vente
des copies du Logiciel, et de permettre aux personnes à qui le Logiciel est
fourni de le faire, sous réserve des conditions suivantes:
* La mention de copyright ci-dessus et cet avis de permission doivent être inclus dans tous
les copies ou portions substantielles du Logiciel.
* Le contenu du Site est mis à disposition pour une utilisation libre et sans restriction, en vertu des conditions énoncées ci-après.
* L'Utilisateur qui souhaite réutiliser toute partie du code de projet doit obligatoirement spécifier le ou les auteurs originaux du Site.
* Avant toute réutilisation du Site, que ce soit en totalité ou en partie, il est nécessaire de demander et d'obtenir la permission des auteurs de son contenu.
* Il est interdit de réutiliser le Site ou une partie de son contenu dans un but lucratif, à moins que l'Utilisateur ait obtenu l'autorisation préalable et explicite des auteurs.
* L'utilisation du Site est exclusivement réservée aux membres du personnel de l'Institut Universitaire de Technologie (IUT) de Montpellier-Sète. Toute autre utilisation par une personne non membre du personnel susmentionné est strictement interdite.
* Toutes actions illicites, telles que les injonctions, les attaques XSS et autres types d'infractions cybernétiques, sont strictement interdites. Toute violation de cette nature sera traitée conformément à la loi en vigueur. Une exception est faite pour les professeurs de l'IUT qui peuvent effectuer de telles actions dans le cadre de leurs recherches académiques.
* Toute violation de ces conditions pourrait entraîner des conséquences juridiques.
Copyright (c) 2023-2024 GradHire
- BROUTY Marius
- GARRO Clément
- GOZZO Giovanni
- HIRCHYTS Daniil
---
Pour une compréhension plus détaillée de GradHire et ses aspects techniques, veuillez vous référer au rapport complet.
_Des tutoriels et ressources supplémentaires peuvent être trouvés [ici](https://drive.google.com/file/d/1cxeMwlNlAfpbL-QIwYSCCJOAMf-A2NXo/view)._
| Website SAE Semestre 3 A2 2023-2024 | css,html,javascript,php,tailwindcss,postgresql | 2023-09-27T09:42:12Z | 2024-01-17T11:21:49Z | null | 5 | 13 | 872 | 0 | 1 | 2 | null | NOASSERTION | PHP |
coderj001/jujutsu-kaisen-api | master | # Jujutsu Kaisen API
> Typescript, Node, Javascript
### Description
API to fetch data about Jujutsu Kaisen API anime and manga. With a short resume of history of life, images and a table of more specific information of each character.
### Installation
```bash
pnpm install
```
### Running the app
```bash
# development
pnpm start:dev
# production
pnpm build
pnpm start:prod
```
## Paths
| Path | Source | Method | Response | Queries |
| :-----: | :------------: | :----: | :------------------: | :-----: |
| /api/v1 | characters | GET | All characters | soon |
| /api/v1 | characters/:id | GET | Only character by id | -- |
## TODOs
1. Unit testing
2. GCP deployed
| Like a Pokédex but for JJK. API to fetch data about jujutsu kaisen anime and manga. With a short resume of history of life, images and a table of more specific information of each character. | eslint,fastify,javascript,jujutsu-kaisen,typescript | 2023-10-03T17:17:27Z | 2024-04-19T07:54:56Z | null | 1 | 6 | 31 | 1 | 0 | 2 | null | null | TypeScript |
OmkarKamble1/RFID-Based-Attendance-System | main | # RFID-Based Attendance System
## Overview
The RFID-Based Attendance System is a web application designed to streamline attendance tracking for educational institutions. It utilizes RFID technology for efficient and accurate attendance management. The project is built with Node.js for the backend, React.js for the frontend, and Arduino Uno with MFRC522 transceiver for RFID logic.
## Technology Stack
- **Backend:** Node.js
- **Frontend:** React.js
- **RFID Logic:** Arduino Uno with MFRC522 transceiver
- **WiFi Communication:** NodeMCU ESP8266
## Features
- **Teacher Management:**
- Teachers can log in to the system securely.
- Only admin-approved teachers can sign up.
- **Lecture Creation:**
- Teachers can create lectures by specifying semester, branch, division, and time interval.
- **Attendance Tracking:**
- RFID cards are pre-allocated to students.
- During lectures, the system scans RFID cards using MFRC522 to mark attendance.
- **Detailed Reporting:**
- Teachers can fetch attendance details for any past or ongoing lecture.
- Students can view their attendance records.
- **Edge Cases Covered:**
- The system handles various edge cases to ensure robust performance.
| RFID Based Attendance System using Arduino UNO and Node.js as backend. | arduino-uno,esp8266,javascript,nodejs,rfid,wifi | 2023-10-09T21:14:13Z | 2023-12-27T11:22:48Z | null | 4 | 5 | 51 | 0 | 0 | 2 | null | null | JavaScript |
Lucky-Kashyap/full-stack-web-dev | main | # full-stack-web-dev
take challenge #75 days to complete full stack web dev
### Started with FrontEnd Journey
Learn HTML , CSS & JavaScript
HTML:
Basic tags , formatting tags , semantic elements.
CSS :
Learn Basics of CSS:
How to do Styling in an element
Developer Projects:
Landing page :
Project 1: Urban Women Wear

Project 2: Peanut butter get silvs (Inspiration) [[https://getsilvs.webflow.io/]]

Project 3: Simple Landing Page

Project 4: Block Practice

Project 5: Fashion Arrival From (Adobe XD) Design

Project 6: Maria Michno From (Adobe XD) Design

Project 7: Apna College Website Landing Page [[https://www.apnacollege.in/course/delta]]

Project 8: Blog Post

Project 9: Microsoft UI Design (Home Page clone) [[https://www.microsoft.com/en-in/]]

Project 10: Pentaclay (Home Page) [[https://pentaclay.com/]]

Project 11: Vmake Fashion Model (Complete Home page with CSS Effects) [[https://vmake.ai/?utm_source=dribbble_designer09]]

Project 12: School UI (Figma Design) [[https://www.figma.com/file/sfmVzdPgFIWblLk3qzRdL1/Railway-school-ui?node-id=736%3A1418&mode=dev]]

Project 13: SpiderMan UI (Figma Design) [[https://www.figma.com/file/ypa9bzTvujICcbDbD8vDFb/test-(Copy)?type=design&node-id=0-1&mode=design&t=NBKJVyzpQBPd0h0Z-0]]

Visit Link : [[https://spiderman-landing-page.netlify.app/]]
Project 14: Landing Page [[https://thisisdigital.co.uk/]]

Project 15: Login Form Using Tailwind CSS
- Build Login Form Using Tailwind CSS
Project ShowCase :

## Tailwind CSS:
- Class Based Styling
- Utility CSS Library
- Utility first-CSS-FrameWork
- Customization Also possible
- via CDN
<script src="https://cdn.tailwindcss.com" defer></script>
- Use Post CSS to use tailwind
- generate package.json via
npm init -y
- Install via these commands
npm install -D tailwindcss postcss autoprefixer
npx tailwindcss init -p
- postcss.config.js
module.exports = {
plugins: {
tailwindcss: {},
autoprefixer: {},
}
}
- tailwind.config.js
/** @type {import('tailwindcss').Config} */
module.exports = {
content: ["*"],
theme: {
extend: {},
},
plugins: [],
}
- style.css
@tailwind base;
@tailwind components;
@tailwind utilities;
- install vite
npm i vite
- in package.json
"dev":"vite"
- to run project
npm run dev
- It will start the project on localhost
## Tailwind CSS Customization:
- Customized tailwind.config.js file
- give customized color
- background color according to our need
- many things we can customize
- How we can make our custom value
fontSize: {
"10xl": "10rem",
},
- customize text-10xl
theme: {
colors: {
// pink: "#ffc0cb",
// red: "#56f543",
// red: {
// 99: "#56f543",
// },
blue: {
100: "#1fb6ff",
200: "#1fb6ff",
390: "#1fb6ff",
600: "#1fb6ff",
},
purple: "#7e5bef",
pink: "#ff49db",
orange: "#ff7849",
green: "#13ce66",
yellow: "#ffc82c",
"gray-dark": "#273444",
gray: "#8492a6",
"gray-light": "#d3dce6",
},
extend: {
fontSize: {
"10xl": "5rem",
},
fontWeight: {
xl: 900,
},
screens: {
hello: { min: "640px", max: "767px" },
},
},
## Project Using Tailwind CSS (Paytm Clone):
- SetUp files for building paytm Clone
- Use tailwind utility classes to power up project
- Completed Paytm Clone Using Tailwind CSS (Build)
#### Project Showcase :

## Project Using Tailwind CSS (Zeplin Extensions)
- Take reference from [[https://extensions.zeplin.io/]]
- Use Customzation to set the UI
- In tailwind.config.js set own colors and shadow of an element
- Zeplin Config & Class generator
- This tool makes it easy to generate Tailwind CSS configurations. A well-organized workspace where developers and designers can come together to collaborate to create and deploy products. This tool generates snippets of code from designers made by designers.
#### Project Showcase :

## Learning Bootstrap (v5) :
- Bootstrap Installation (Using CDN)
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.3/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-QWTKZyjpPEjISv5WaRU9OFeRpok6YctnYmDr5pNlyT2bRjXh0JMhjY6hW+ALEwIH" crossorigin="anonymous">
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.3/dist/js/bootstrap.bundle.min.js" integrity="sha384-YvpcrYf0tY3lHB60NNkmXc5s9fDVZLESaAA55NDzOxhy9GkcIdslK1eN7N6jIeHz" crossorigin="anonymous"></script>
### Basic Intro about Bootstrap
- Bootstrap Typography
- we can write classes according to our text size we want (h1,h2,h3,h4,h5,h6) these are classes for text size
- Display Heading
- Lead Text and Alignment
- Text decoration & font-weight
- Text Colors
- BG Colors
- Buttons
- Button sizes
- Outlined Style
- Button Groups
- Links as buttons
- Utilities classees
- Margin and padding it goes from 0 to 5
- Borders
- Box Shadow
- Font weight
### More Classes
#### Container Classes:
- Container
- Container Fluid
- Container Small
- Container Medium
- Container Large
- Container Extra Large
#### Bootstrap Navigation:
- Use Navigation of bootstrap
- Responsive
#### Bootstrap Cards:
- Use card class to make Bootstrap Card
- Use image title description and a beautiful button
## Card Design:

#### Bootstrap Carousel:
- Use Bootstrap Slider for sliding images
- We can customize it whenever we need
- Auto Slide
- Carouel Slider Buttons
- Carousel Indicators
- Carousel Caption
#### Bootstrap Modal:
- Button trigger modal
- Modal Header , Modal Body , Modal Footer
#### Bootstrap Dropdown:
- we can modiy dropdown button and add dropdown links according to our need
- Example single danger button with Dropdown Menu
- Example split danger button with Dropdown Menu
## Started with JavaScript:
Learn Basics of programming
Build small-small projects
Project 1: Bulb on off

Project 2: Event Timer

Project 3: Modal

Project 4: Login-signup

🚀 [GAMECHANGER ] Create Modern Landing Page with HTML CSS JS | Shery.js Launch 🌟
- UI Created.
- Use Shery JS to add animation
- Follow Shery JS Github and apply Shery JS in Application
Shery.imageEffect(element,configurations)
Project ShowCase :



Move to React JS Library:
Learn Basics of react-js
- How react works.
- About components.
- Rendering.
- Types of components.
- state variables
- react Hooks.
- Event Handling
- context API
Implement all these learning inside project:
Project 1: Bharat clock APP v1
Features:
- show date & time
- using Date method
Updated Version v2:
Use React Hooks: to calculate correct date & time , with time clear it
const [timer, setTimer] = useState(new Date());
useEffect(() => {
const intervalId = setInterval(() => {
setTimer(new Date());
}, 1000);
return () => {
clearInterval(intervalId);
};
}, []);
Project ShowCase :

Project 2: Calculator APP
Features:
- create input box
- create different types of buttons of calculator UI
- implement functionality to calculate things
- use functions
Project ShowCase :

Visit Link : [[https://calculator-app-v.netlify.app/]]
Project 3: Todo APP
Features:
- create two input boxes (item & date)
- add items to todo
- remove item from todo
Project ShowCase :

Project 4: Social Media APP
Features:
- create UI with Bootstrap
- use context API for managing posts
- ADD Post
- Delete Post
- Use API to add post & delete post (Dummy JSON API)
Project ShowCase :

Project 5: Food-App (Search by input & Category Wise Filter)
Features:
- Use server for data
- implement search functionality
- filter food items via category buttons
Project ShowCase :

Design Link : [[https://www.figma.com/file/rephrU2FVgN8MFz6XhnP51/Learn-React-with-10-Projects?node-id=342%3A52&mode=dev]]
Project 6: Mini-Docs-App
Features:
- Use Tailwind CSS for UI.
- Quick practice of react components
- Use array of object & map through it with dynamic data
- create Foreground, Background & Card component
- Use react icons library to use icons in docs app
- also use Framer motion library to move card here & there according to drag values (motion)
Project ShowCase :

Project 7: Tic-Tac-Toe Game
Feature:
- Use board logic for checking 1 2 3 4 5 6 7 8 9
- Use react icons for display cross & zero
- Use html css for UI structure
- Add event listener on each card and check whether wins or not
function isWinner(board, symbol) {
if (board[0] === board[1] && board[1] === board[2] && board[2] === symbol)
return symbol;
if (board[3] === board[4] && board[4] === board[5] && board[5] === symbol)
return symbol;
if (board[6] === board[7] && board[7] === board[8] && board[8] === symbol)
return symbol;
if (board[0] === board[3] && board[3] === board[6] && board[6] === symbol)
return symbol;
if (board[1] === board[4] && board[4] === board[7] && board[7] === symbol)
return symbol;
if (board[2] === board[5] && board[5] === board[8] && board[8] === symbol)
return symbol;
if (board[0] === board[4] && board[4] === board[8] && board[4] === symbol)
return symbol;
if (board[2] === board[4] && board[4] === board[6] && board[4] === symbol)
return symbol;
return "";
}
export default isWinner;
Project ShowCase :

Project 8: React-Image-Slider
Features:
- Implement carousel functionality.
- Slide Images using react-slick
npm install react-slick slick-carousel
- Use Images inside Slider component to implement functionality & config settings of slick to use it
Project ShowCase :

Project 9: React Multi Language Support Application
Features:
- Use i18 Next technology for knowing the current language and change it accordingly
- Give interalization language feature to the app
Project ShowCase :
Project 10 (Dark/Light Mode) :
- Implement Dark/Light Mode Feature
### Solving Challenge Job Board
Build a job board that displays the latest job postings fetched from the Hacker News API, with each posting displaying the job title, poster, and date posted.
Requirements
- The page should show 6 jobs on initial load with a button to load more postings.
- Clicking on the "Load more" button will load the next page of 6 postings. The button does not appear if there aren't any more postings to load.
- If there's a url field returned for the job details, make the job title a link that opens the job details page in a new window when clicked.
- The timestamp can be formatted in any way you like.
# API
- Hacker News has a public API to fetch jobs by Y Combinator companies:
# Job Stories
Fetches a list of job posting IDs.
- URL: https://hacker-news.firebaseio.com/v0/jobstories.json
- HTTP Method: GET
- Content Type: json
Job Details
- Fetches job posting details given its ID.
- URL: https://hacker-news.firebaseio.com/v0/item/{id}.json
- HTTP Method: GET
Content Type: json
# Notes
The focus of this question is on functionality and not on styling, but feel free to beautify the page.
To improve the user experience and avoid overfetching, you may want to limit the number of job details fetched to the number of jobs visible on the page.
Project ShowCase :

Visit Link : [[https://job-on-board.netlify.app/]]
### Project Registration Form Using MySql:
- create simple Form with fields username,email,mobile,password and a save button
- save button will show data on UI in the table form.
- while clicking on save button trigger post request through axios to save data inside mysql database
- firstly we have to configure mysql with project and start server
- Then post data and check on mysql workbench whether data save or not
- server code :
const express = require("express");
const bodyParser = require("body-parser");
const mysql = require("mysql");
const cors = require("cors");
const app = express();
const port = 3000;
app.use(cors());
app.use(bodyParser.json());
const connection = mysql.createConnection({
host: "localhost",
user: "root",
password: "rootlucky",
database: "registration",
});
// Connect to MySQL
connection.connect((err) => {
if (err) {
console.error("Error connecting to MySQL:", err);
return;
}
console.log("Connected to MySQL database");
});
// POST endpoint for user registration
app.post("/userReg", (req, res) => {
const { username, email, mobile, password } = req.body;
const sql =
"INSERT INTO TestUser2 (username, email, mobile, password) VALUES (?,?,?,?)";
const values = [username, email, mobile, password];
connection.query(sql, values, (err, result) => {
if (err) {
console.error("Error executing SQL query:", err);
res.status(500).json({ message: "Registration failed" });
return;
}
console.log("User registered successfully");
res.status(200).json({ message: "User registered successfully" });
});
});
// Start the server
app.listen(port, () => {
console.log(`Server is running on port ${port}`);
});
- on save button this function runs that save the data and post data into mysql table
const handleClick = async () => {
setRegisteredUsers([...registeredUsers, formData]);
setFormData({ username: "", email: "", mobile: "", password: "" });
try {
const response = await axios.post(
"http://localhost:3000/userReg",
formData
);
console.log(response.data); // Assuming server sends back success message
// You can handle success message here
} catch (error) {
console.error("Error:", error.message);
// Handle error here
}
};
#### Project Showcase :


Learning Advance topics:
- state management library
- advance hooks
- react-routing
- API Handling
- react-redux & react-redux-toolkit
- RTK
- Many more...
## IPL Project:
- Start creating basic IPL Proj Which displays matches, team, table points and many more...
- Use cricbuzz API for data
Now Move to Backend Part:
### 🚀 Node JS Basics:
##### Process:
- process: this object provides information about, and control over, the current Node.js process.
- process.argv: returns an array containing the command-line arguments passed when the node.js process was launched.
##### module.exports
- requiring files
- require() a build-in function to include external modules that exist in seperate files. module.exports a special object
- installing packages
- node_modules: The node_modules folder contains every installed dependency for your project.
- package-lock.json: It records the exact version of every installed dependency, including its sub-dependencies and their version
- package.json the package.json file contains descriptive and functional meta data about a project such as a name,version and dependencies
- npm init
- require vs import
- import {sum} from './math.js';
- we can't selectively load only the piece we need with require but with import, we can selectively load only the piece we need, which can save memory.
Loading is asynchronous for 'require' butt can be asynchronous for 'import'
### 🚀 Backend (Node JS) Series - Learn What Matters 1: Understanding the Internet
🌐 What is the Internet?
◽Discover the origins and evolution of the Internet, and why it's such a crucial part of our daily lives.
🌐 Ownership of the Internet
◽Learn about the decentralized nature of the Internet and explore who owns and manages this vast global network.
🌐 Data Transfer
◽Dive into the fascinating mechanisms behind how your messages and data travel across the Internet. We explore the role of towers and undersea fiber optic cables.
🌐 Packets and Servers
◽Uncover the magic of data packets and how they ensure efficient communication across the web. We also touch on the role of servers in this process.
🌐 HTTP vs. HTTPS
◽Understand the importance of secure web browsing and the differences between HTTP and HTTPS protocols.
🌐 Ports
Explore the concept of ports in networking and how they facilitate the flow of data between your computer and web servers.
### 🚀 Backend (Node JS) Series - Learn What Matters 2: Mastering Node.js Fundamentals
- what is backend ?
backend developer wo banda hai jo ki server and db program karta hai
- why backend
download now par kuch ho
to make websites more usable and purpose ful for the audience, to make websites dynamic
- why not frontend alone ?
with frontend websites are static and they are of not much use.
- what do we need ?
node js, mongodb, mongoose js, express js
- what should we make to hit big companies ?
CONTENT
- node js install
install ka matlab hota hai aapke laptop/computer/tablet usmein files ko copy karna
- import and export
var figlet = require("figlet");
figlet("Hello World!!", function (err, data) {
if (err) {
console.log("Something went wrong...");
console.dir(err);
return;
}
console.log(data);
});
- run the code
node ja hai khoob saara c++ ka code jo ki liya gaya hai chrome browser ke v8 engine ke code se
aur is c++ code jisko liya gaya usey wrap kar
diya gaya js code se and ye hume allow krta hai ke hum js code likhien aur ye js code accept karega and c++ ke basis par aapko ek server
environmant bana kar deta hai, par sirf tab tak
ye code chalayega jab tak apka node (v8 engine and js wrapper) chaalu hai
-- node js core usage & usage & understanding - http
- npm usage
npm - naan paneer makhni
npm ek jagah hai jaha par khoob saare packages milte hai
bani banaai cheejein/features kehlaate hai packages
text -> voice
// hey hello
npm package for text -> audio
- express
// express fromework for node js
// express k use case => routing
// routing => GET POST PUT PATCH DELETE
// /profile = profile
// /contact = contact
// /like/hfvyhjgb = like post
// /comment/jhmvubhjn = comment
// /cart = cart
- express generator
- mongodb
-- intermediate mongodb
-- api development
-- authentication and authorization
-- error handling
- middleware
middleware ek aisa function hai jo kisi bhi route se pehle chalta hai, jiska matlab aapka route chalne se pehle agar aap koi kaam
karana chaahte ho to middleware
ka upyog kiya jaa sakta hai
route pe chalne se pehle print karo chala on console
route chalne se pehle route pe hits counter ki value badhegi
iska matlab route chlne se pehle jo chalega woh hai middleware
sirf ek dikkat hai agar humara iddleware chl gya toh req jaam ho jati hai aur route tak nahi pahuch paati
### 🚀 Express.js - Learn What Matters: Mastering the Framework | Backend (Node JS) Series
- node vs express :
node is the main thing express ke code se hum server ka code likh pate hein and
server kaisa react karega wo bhi express ke help se likhte hai
- what is the real deal ?
- what is express js ?
package, routing perform, server side management & many more....
- why express js ?
http is difficult to use,
express makes this easier.
- Routing
routes banaane ke process ko hum kahte hai routing.
/profile
/home
/contact
/profile/lucky/jhnvhjngb
- Middleware
middleware ek aisa function hota hai jo har route se pehle chalta hai, iska matlab
saare routes mein koi bhi chale usse pehle middleware chalta hai and usmein likha
code pehle execute hota hai
node ke saath ek dikkat hai ki agar control ek baar bhi kisi middleware par gaya to control khud se agle route/middleware par nahi
jaayega, use agle par lejaane ke liyein aapko push karna padega aur ye push kahlaayega next ko chalaana
- Request and Response
req mein saara data hota hai aane waale user ki request ki
taraf ka, jaise ki uski location, info and other things.
res mein controls hote hai jinke basis pe hum server se response bhej paate hai
next is just a push so that our request moves to the next thing which
should be executed.
- Route Parameters
aisa koi bhi route jiska koi hissa baar baar same rehta hai and kuch hissa baar
baar change hota hai iske liye aap ek dynamic route bana skte ho
/profile/:username
/profile/lucky
/profile/ansh
/profile/sachin
URL mein jab bhi aapke paas ek aisa pattern ho
req.params
to make any route dynamic you can use :
at the place where you want
to make it dynamic, and to access there value use req.params
/author/books/issued/harsh
/author/books/issued/harsh
/author/books/issued/harshita
/author/books/issued/lucky
/author/books/issued/ajay
/author/books/issued/:username
- Templates engine
html ke pass superpowers nahi hai calculation krne ki
ejs is html with superpower
ejs setup karne ke liyein
1. ejs install
npm i ejs
2. configure ejs
app.set('view engine','ejs')
3. ek views folder banao
4. usmein ejs files banao
5. send ki jagah render karo => render karte waqt make sure aap views folder ke andar waali hi koi file kaa naam likhein, aur render fnc mein .ejs mention naa karein
ye ek style of markup se convert krke apko html dete hai
Template Engines : pug, handlebars, ejs, jade, etc...
ejs is very very similar to html
ek markup style jo ki baad mein convert
hojaayegi html mein
data send via EJS File
res.send('index',{age:23});
- Static Files
images, stylesheets, frontEnd js setup karna
static files setup karne ke liyein:
1. create a folder called public
2. create three folders inside it, images, stylesheets, javascripts
3. configure the express static in script.js file
4. understand the path
app.use(express.static('./public'))
- HTTP Methods - get and post
- Error Handling
Error Handling refers to how Express catches and processes errors that occur both synchronously and asynchronously. Express comes with a default error handler so you don’t need to write your own to get started.
app.get("/error", (req, res, next) => {
throw Error("Something Went Wrong");
});
app.use(function errorHandler(err, req, res, next) {
if (res.headersSent) {
return next(err);
}
res.status(500);
res.render("error", { error: err });
});
### 🚀 Backend - The EndGame (Part-1) | Mastering Advanced Concepts | Backend (Node JS) Series
express generator
hum lgo ko kaafi saara kaam karna padta hai express setup krne mein iska matlab har baar jab hum naya project bnaayege to har baar fir se utna hi kaam krna padega, matlab ki poora code likho and sab kuchh setup karo, is time ko bacha sakte ho with help of express generator, use express generator and it will make the folder structure for you and it will also write the basic code for the project.
express genarator ek folder bana ke deta hai, jiska matlab aapko khudse folder nahi banana hai,to express generator saare files ko isi folder mein daal ke dega
steps to use express generator
sabse pehle jeevan mein ek baar laptop par install karo globally
npm i express-generator -g
to create new app anywhere:
open cmd move to desktop
create new app:
express appname --view=ejs
now use two commands
cd appname
npm i
open it to vs code
mondodb
har naye app ka data store hoga storage mein, par usey directly rakne ki jagah ek container mein rakhenge, us container mein sirf us app ka data aayega.
models (code) => collection (db)
schema (code) => documents (db)
ek app ka poora data => db
ek app mein variety of data hota hai par poora data hota app ka hi hai, par us data ka sub category kehlata hai collection
collection malab ki bola users ka data, ek user pe baat kri to hua document
// install mongodb
// install mongoosejs
// require and setup connection
// make schema
// create model and export
const mongoose = require('mongoose');
mongoose.connect('mongodb://127.0.0.1:27017/dbname');
// db create
schema matlab aapko ye batana hai banne waala har document mein kya kya hoga
create User :
const userSchema = mongoose.Schema({
username:String,
name:String,
age:Number
})
// har docuement kesa hoga document data
module.exports = mongoose.model(naam,schema);
// naam se bnega collection
// make collection
Find User:
router.get("/allusers", async (req, res) => {
// let user = await userModel.find();
// find one user (specific)
let user = await userModel.findOne({username:''lucky});
res.send(user);
});
create seperate array of object for creating users:
const users = [
{
username: "lucky",
age: 25,
name: "divyanshu",
},
{
username: "ajay",
age: 22,
name: "ajay",
},
{
username: "rahul",
age: 27,
name: "rahul",
},
{
username: "sachin",
age: 23,
name: "sachin",
},
];
Delete User:
router.get("/delete", async (req, res) => {
let deletedUser = await userModel.findOneAndDelete({
username: "lucky",
});
res.send(deletedUser);
});
dbs, models, schema, collections, documents
dbs, models, schema, collections, documents
understanding sessions
- session and cookies
creating sessions, using sessions across routes and destroying sessions
resave :
// agar session ki value change na huyi ho toh fir se save mat krna
saveUninitialized:false
//esa data baar baar save na kro
secret -> data encrypt kiya jayega
app.use(
session({
resave: false,
saveUninitialized: false,
secret: "holabholaholabhola",
})
);
router.get("/", function (req, res, next) {
// req.session.koibhinam = "lucky kashyap";
req.session.ban = true;
res.render("index", { title: "Express" });
// res.send("hello");
});
router.get("/checksession", (req, res) => {
if (req.session.ban === true) {
res.send("You are banned");
}
// console.log(req.session);
// res.send("check kiya hai console dekho");
});
create -> req.session.koibhinaam = koibhivalue
read
req.session.koibhinaam
delete
req.session.destroy(()=>{
})
Delete Session:
router.get("/removeban", (req, res) => {
req.session.destroy((err) => {
if (err) throw Error(err);
console.log(err);
res.send("ban remove");
});
});
creating cookies, using cookies across routes and destroying cokkies
Create Cookie:
By default package install hota hai
res.cookie("age", 23);
Read Cookie:
router.get("/read", (req, res) => {
console.log(req.cookies);
res.send("check");
});
Delete Cookie:
router.get("/remove", (req, res) => {
res.clearCookie("age");
res.send("clear cookie");
});
Task 1:
hume ek route banana hai, jismein ek page show ho aur waha par ek css use kra hua page dikhein
express js
install
express js boilerplate code
express js ejs setup
install ejs
set view engine
create views folder
create ejs files
render ejs files inside route
express static files setup
architecture of public folder
const data =
{
name: "Lucky",
age: 23,
work: "Developer",
address: "Kalindi Vihar",
}
res.render('index',{data});
<h1>User Information</h1>
<p>Name: <%= data.name %></p>
<p>Age: <%= data.age %></p>
<p>Profession: <%= data.work %></p>
### 🚀 Backend - The EndGame (Part-2) | ElevateYour Skills | Backend (Node JS) Series
flash messages
jab bhi aap ejs page ko dekhenge waha par aapko kisi prakaar ka koi info dena hai, wo kehlata hai flash message, they are more like good looking alerts, warning and descriptions
install connect-flash
- make sure you put connect flash in app.use function
- kisi bhi route mein aap ko flash create karna hai
- kisi bhi doosre route par app use chalane ka try karein
- aap connect flash ko use nahi kr skte bina express session
express level-6 --view=ejs
cd level-6
npm i
npm i connect-flash
npm i express-session
// setup express session
const expressSession = require("express-session");
const flash = require("connect-flash");
app.use(
expressSession({
resave: false,
saveUninitialized: false,
secret: "hello you connect with flash",
})
);
app.use(flash());
// to run
npx nodemon
localhost:3000
- hum log chahte hai ki jab ham kisi route par jaayein jaise ki /failed us route par ek flash message bane aur wo flash message hum logo ko/ route par dikhein ejs mein
- flash message ka matlab server ke kisi route mein koi data banana and us data ko doosre route kar paana
- flash message aapko ye allow krte hai ki aap is route mein bane huye data ko doosre route mein use kr sko
- agar login hojayein to login page ke baad profile page dikhado
- agar naa ho to fir, mujhe is route se kisi aur route lejao jaise ki /error aur wha par dikhao failed
router.get("/failed", function (req, res) {
req.flash("age", 23);
req.flash("name", "Lucky Kashyap");
// res.render("index");
res.send("ban gaya data");
});
router.get("/checkkaro", (req, res) => {
console.log(req.flash("age"));
console.log(req.flash("name"));
res.send("check karlo backend ke terminal par");
});
intermediate mongodb
mongoose setup
npm i mongoose
mongoose.connect('mongodb://127.0.0.1:27017/testingendgame2);
- How can I perform a case-insensitive search in Mongoose?
router.get("/find", async (req, res) => {
// let user = await userModel.find({ username: "ajay" });
// let regex = new RegExp("Ajay", "i");
let regex = new RegExp("^harsh$", "i");
let user = await userModel.find({ username: regex });
res.send(user);
});
- How do I find documents where an array field contains all of a set of values?
let user = await userModel.find({ categories: { $all: ["wwe"] } });
- How can I search for documents with a specific date range in Mongoose?
let date1 = new Date("2023-12-10");
let date2 = new Date("2023-12-12");
let user = await userModel.find({
datecreated: { $gte: date1, $lte: date2 },
});
- How can I filter documents based on the existence of a field in Mongoose?
let user = await userModel.find({ categories: { $exists: true } });
- How can I filter documents based on a specific field's length in Mongoose?
let user = await userModel.find({
$expr: {
$and: [
{ $gte: [{ $strLenCP: "$nickname" }, 0] },
{ $lte: [{ $strLenCP: "$nickname" }, 12] },
],
},
});
authentication and authorization
npm i passport passport-local passport-local-mongoose
- write app.js code first in app.js file and write it after view engine & before looger
- setup user.js
- in index.js try register first & then other code as well
choosing project:
Project Creating :
### [PROJECT🚀] Pinterest Clone Tutorial Part 1: Building Your Own Social Inspiration Platform!
Learning data association
- ek model se doosre model ke data ko jod dena id ke through, matlab ki agar aap ke pass ek user hai to wo post bnaayeha hi, jab post banega to wo user ke dwaara hi banega, to hum kya krte hai jab do aise data aapas mein closely related hote hai to hum dono ko jod dete hai, ki ek model ke bane huyein data ki id doosre model ke data ko dedete hai aur is model ke data ki id pichhle model ke data ko de dete hai.
- do models bnao
- make a mongoose model for me which contains user details, as such username,password,posts which is an array,dp,email and full name.
- make another model for me, this time for posts,every post contains, post text, current date & time, likes
- ab ek route bnao jisme ek user ban jaayein
express pinterest --view=ejs
- /route par login and signup hoga
- / route par aapko aapki profile dikhegi and aapke saved posts dikhege, aur ek uploaded section hoga jo abhi nahi bana rahe
- Install mongoose
npm i mongoose
- / feed yaha par saari images dikhegi
- /click karke image open hojaayegi save kr skte ho
- Use Passport JS for login/register/signUp
npm i passport passport-local passport-local-mongoose express-session
- configure login/register/signup functionality
- create /profile route & redirect user when register successfully
- /board/:boardname poora board dikhega
### Upcoming Projects:
- youtube music
- instagram
- google photos
- flipkart
-- deployement
-- testing
-- realtime stuff
### Self Learning And Building Things Up to Grow More..!!
Happy Coding With ☕ Divyanshu Kashyap 💻🚀
| full stack web dev challenge 75 days | bootstrap,css,css-flexbox,ejs,expressjs,html,javascript,mern-stack,mongodb,node-js | 2023-10-04T17:08:19Z | 2024-05-13T18:32:57Z | null | 1 | 1 | 389 | 0 | 2 | 2 | null | null | JavaScript |
anishtanwar11/anishtanwar | main | null | null | css,gsap,html,javascript,aos-scroll-revel | 2023-09-17T17:52:15Z | 2024-05-18T13:36:26Z | null | 1 | 0 | 61 | 0 | 0 | 2 | null | null | HTML |
For-Hives/admin-formenu | main | # 🍔 ADMIN - ForMenu 🍔
#### _A digital menu for a whole new experience!_

> **(api github project : https://github.com/For-Hives/api-formenu)**
## How to run ??
> **(use pnpm // npm // yarn but don't push the lock file)**
#### _dev_
```
git clone
-> add .env file
-> add .env file in .bruno folder
pnpm install
pnpm run dev
pnpm run build
```
## Tech stack 💻
That is the list of technologies that ForMenu use.
> **Front**
>
> > - [NextJs (ReactJS)](https://nextjs.org/)
> > - [TailwindCSS](https://tailwindcss.com/)
> > - [TailwindUI](https://tailwindui.com/)
> > - [HeadlessUI](https://headlessui.com/)
> > - [Bruno](https://github.com/usebruno/bruno)
> > - [Prettier](https://prettier.io/)
> > - [EsLint](https://eslint.org/)
> > - [Husky](https://typicode.github.io/husky/#/)
> > - [Zustand](https://docs.pmnd.rs/zustand/getting-started/introduction)
> **CI/CD**
>
> > - GitHub CI
> > - [Renovate](https://www.mend.io/renovate/)
> **Backend**
>
> > - [Strapi](https://strapi.io/)
> > - [PostgreSQL](https://www.postgresql.org/)
> **Serveur**
>
> > - [CapRover](https://caprover.com/)
> > - VPS Linux (Debian)
> > - [Docker](https://www.docker.com/)
> > - [Fail2Ban](https://www.fail2ban.org/wiki/index.php/Main_Page)
> > - [LetsEncrypt](https://letsencrypt.org/)
> > - [UFW](https://doc.ubuntu-fr.org/ufw)
> > - [DNS (OVH / CloudFlare)](https://cloudflare.com/)
> **Monitoring**
>
> > - [NetData](https://www.netdata.cloud/)
> > - [BetterUptime](https://betteruptime.com/)
> **Tools**
>
> > - [OpenCommit](https://github.com/di-sukharev/opencommit)
> > - [Git Kraken](https://www.gitkraken.com/)
> > - [IntelliJ](https://www.jetbrains.com/idea/)
> > - [Wakatime](https://wakatime.com/)
> > - [GitHub Copilot](https://copilot.github.com/)
> > - [ChatGPT](https://chat.openai.com/)
> > - [Syncthings](https://syncthing.net/)
> > - [TinyPNG](https://tinypng.com/)
> > - [cwebp](https://developers.google.com/speed/webp/docs/cwebp)
> > - [PowerToys](https://learn.microsoft.com/en-us/windows/powertoys/)
> > - Google suit
> > - [Insomnia](https://insomnia.rest/)
> > - [TMUX](https://tmuxcheatsheet.com/)
> > - [Discord](https://discord.com/)
> **Design**
>
> > - [Adobe Photoshop](https://www.adobe.com/products/photoshop.html)
> > - [Adobe Illustrator](https://www.adobe.com/products/illustrator.html)
> > - [Adobe Firefly](https://www.adobe.com/sensei/generative-ai/firefly.html)
> > - [Figma](https://www.figma.com/)
> > - [MidJourney](https://midjourney.com/)
| [prod] - ADMIN ForMenu application | javascript,nextjs | 2023-09-29T11:08:52Z | 2024-05-21T20:10:33Z | null | 3 | 202 | 586 | 11 | 0 | 2 | null | null | JavaScript |
isaiahxs/ClarityCompanions | main | <h1><a href="https://www.loom.com/share/10bb895f0dea423282287bbd2b42f176?sid=b47bc7ff-5bdb-41e7-9d23-12efda8c9480" target="_blank">Clarity Companions</a></h1>

<h2><a href="https://www.loom.com/share/10bb895f0dea423282287bbd2b42f176?sid=b47bc7ff-5bdb-41e7-9d23-12efda8c9480" target="_blank">View Demo</a></h2>
## License
Copyright (c) 2023 Isaiah Sinnathamby. All rights reserved.
Unauthorized copying of this software, via any medium, is strictly prohibited.
## Overview
Clarity Companions is a versatile AI chatbot designed to assist with motivation, therapy, and various other personal needs. Built on a powerful machine learning algorithm, the application aims to deliver personalized and impactful interactions. Developed with a tech stack that includes React, Node.js, Express, and various APIs, Clarity Companions offers a secure and user-friendly experience.
## Features
- **Personalized Conversations:** Uses AI algorithms to understand user context and mood, delivering custom-tailored responses.
- **Multi-Functional:** Ideal for a range of use-cases including motivation, therapy, daily planning, and more.
- **Real-time Interactions:** Immediate response time to ensure a fluid, conversational experience.
<!-- - **Data Security:** Advanced encryption methods to ensure user data remains confidential. -->
<!-- - **User Analytics:** In-app analytics to track interaction history and user engagement. -->
- **Multi-Language Support:** Can continue conversations in over 20 languages to reach a broader audience.
## Tech Stack
- Front-end: React, Redux
- Back-end: Node.js, Express
- APIs: OpenAI's Whisper API, OpenAI's GPT 3.5-turbo API, ElevenLabs' Text-to-Speech API
- Other: AWS for cloud deployment | Interactive chatbot using three different external APIs. OpenAI's Whisper Speech-to-Text API + OpenAI's GPT 3.5-turbo API + ElevenLabs' Text-to-Speech API with custom AI voice cloned & modified by me. | artificial-intelligence,css,express,html,javascript,machine-learning,react,speech-to-text,text-to-speech | 2023-09-27T12:25:01Z | 2023-10-11T22:52:24Z | null | 1 | 1 | 45 | 0 | 0 | 2 | null | null | JavaScript |
CareerDevelopmentHub/Environ-Workshop-1 | main | # `Workshop 1`
Hey, everyone Chinmaya here hope you liked today's session on HTML and CSS! Really, I enjoyed a lot in the seesion with you all ... Again today, Anshuman's sesseion was amazing, he realy explained the html part very clearly and in a very decent manner.
So shubhranshu will be taking the next day's class and will be teaching you the backend part...
## Demo
https://effulgent-pixie-568025.netlify.app
## Stacks
[](https://skillicons.dev)
## How to contribute ?
Clone this repo and perform certain tasks like :
- Highlighting any issues
- Making some changes in css
- Try to add more section to it
```
git clone https://github.com/CareerDevelopmentHub/Environ-Workshop-1
```
```
cd Environ-Workshop-1
```
`then, start the live server on your vs code.`
## Follow Us On Guthub
- Chinmaya Sa: https://github.com/ScreenTechnicals
- Anshuman Panda: https://github.com/PandaAnshuman
- Subhranshu Choudhury: https://github.com/subhranshuchoudhury
## Linked In
- Chinmaya Sa: https://www.linkedin.com/in/chinmaya-sa-60a594239
- Anshunam Panda: https://www.linkedin.com/in/anshuman-panda-575562258
- Subhranshu Choudhury: https://www.linkedin.com/in/subhranshusekharchoudhury
| null | css,css3,hacktoberfest,hacktoberfest2023,html,html5,javascript,js,netlify | 2023-10-08T18:44:45Z | 2023-11-02T16:42:39Z | null | 16 | 19 | 50 | 0 | 18 | 2 | null | null | CSS |
abhiraj-ku/blogiyt | main | # blogIyt-simple blogging platform
## Overview
This is a simple blogging platform built using React for the frontend and Appwrite as the backend. The platform provides basic blogging features such as user registration, login, the ability to create and edit blog posts, and image optimization for a seamless blogging experience.
## Features
### User Authentication
- Users can register and create an account on the platform.
- Registered users can log in securely to access their account.
### Blog Post Management
- Users can create, edit, and delete their blog posts.
- Each blog post includes a title, content, and an optional image.
- The platform provides a rich text editor for composing and formatting blog content.
## Getting Started
To get started with this blogging platform, follow these steps:
1. Clone the repository to your local machine:
```
git clone https://github.com/abhiraj-ku/blogiyt
```
2. Install the required dependencies for the frontend:
```
cd blogIyt
npm install
```
- Visit the [Appwrite website](https://appwrite.io/) and create a new project.
- Set up the Appwrite server according to your needs, including database setup and API keys.
- Update the Appwrite configuration in the frontend to connect to your Appwrite backend. You can find the configuration in `src/config.js`.
3. Start the frontend development server:
```
npm start
```
## Usage
1. Register for a new account on the platform if you haven't already.
2. Log in using your credentials.
3. Create a new blog post by clicking the "Create Post" button.
4. Fill in the title, content, and optionally upload an image for your blog post.
5. Save the blog post, and it will be published on the platform.
6. You can edit or delete your blog posts from the dashboard.
## Technologies Used
- **React:** The frontend is built using React, a popular JavaScript library for building user interfaces.
- **Appwrite:** The backend is powered by Appwrite, an open-source backend server that simplifies backend development.
- **TailwindCSS** The styling is done using popular CSS library TailwindCSS
## Contributing
We welcome contributions from the community. If you'd like to contribute to this project, Just Fork and clone it & start Contributing
## Socials:
follow on Twitter: [twitter](https://twitter.com/abhirajabhi312)
| This is Simple Blog application with crud operation and appwrite as a backend service | appwrite-database,blogapp,javascript,react-redux,reactjs | 2023-09-23T15:20:25Z | 2023-11-20T16:18:45Z | null | 1 | 0 | 19 | 0 | 0 | 2 | null | null | JavaScript |
syedAfnan-24/LibraryManagementSystem | main | null | This is a Library Management System web application, which has client side services and admin side services, where client can borrow / return a book, and admin(librarian) can add, update, remove a book and also this has fine calculation as well | css,html,javascript | 2023-10-09T05:27:12Z | 2023-10-18T12:18:55Z | null | 1 | 0 | 46 | 0 | 0 | 2 | null | null | JavaScript |
pankajsbisht143/Blog-App | main | # Blog-App | It's a blog applications where user can read other person blogs, write their own blogs and so on. also i have used html , css javascript, mongdb ,Express Js, Node Js, React Js, Redux, NPM. | chakra-ui,css,expressjs,javascript,mongodb,nodejs,reactjs | 2023-09-25T16:36:58Z | 2023-10-24T07:13:10Z | null | 1 | 0 | 5 | 0 | 0 | 2 | null | null | JavaScript |
nedjwab/phi-industries | main | <a name="readme-top"></a>
<!-- 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)
- [👥 Authors](#authors)
- [🤝 Contributing](#contributing)
- [⭐️ Show your support](#support)
- [🙏 Acknowledgements](#acknowledgements)
- [❓ FAQ (OPTIONAL)](#faq)
- [📝 License](#license)
<!-- PROJECT DESCRIPTION -->
# 📖 [Phi-industries] <a name="about-project"></a>
**[Phi-industries]** phi industries is a simple website for a medical company, Users can find more information about phi-industries and the medicines they produce.
## 🛠 Built With <a name="built-with"></a>
### Tech Stack <a name="tech-stack"></a>
> HTML , CSS , Javascript and bootstrap.
<!-- Features -->
### Key Features <a name="key-features"></a>
- **[Responsive_design]**
- **[javascript_toggel]**
<p align="right">(<a href="#readme-top">back to top</a>)</p>
<!-- LIVE DEMO -->
## 🚀 Live Demo <a name="live-demo"></a>
- [Live Demo Link](www.phi-industrie.com/)
<p align="right">(<a href="#readme-top">back to top</a>)</p>
<!-- GETTING STARTED -->
## 💻 Getting Started <a name="getting-started"></a>
> Describe how a new developer could make use of your project.
To get a local copy up and running, follow these steps.
### Prerequisites
In order to run this project you need:
<p align="right">(<a href="#readme-top">back to top</a>)</p>
<!-- AUTHORS -->
## 👥 Authors <a name="authors"></a>
👤 **Nedjwa Bouraiou**
- GitHub: [@githubhandle](https://github.com/nedjwab)
- Twitter: [@twitterhandle](https://twitter.com/ned_jwa)
- LinkedIn: [LinkedIn](https://www.linkedin.com/in/nedjwa-bouraiou/)
<p align="right">(<a href="#readme-top">back to top</a>)</p>
<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>
> Write a message to encourage readers to support your project
If you like this project...
<p align="right">(<a href="#readme-top">back to top</a>)</p>
<!-- ACKNOWLEDGEMENTS -->
## 🙏 Acknowledgments <a name="acknowledgements"></a>
> Give credit to everyone who inspired your codebase.
I would like to thank The designer for his great work.
<p align="right">(<a href="#readme-top">back to top</a>)</p>
<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>
| phi industries is a simple website for a medical company, Users can find more information about phi-industries and the medicines they produce. | bootstrap,css,html,javascript | 2023-09-16T09:53:34Z | 2023-09-16T10:23:45Z | null | 1 | 0 | 3 | 0 | 0 | 2 | null | null | HTML |
Slimani-CE/advice-generator-app | master | # Advice generator app solution

This is a solution to the [Advice generator app challenge on Frontend Mentor](https://www.frontendmentor.io/challenges/advice-generator-app-QdUG-13db). Frontend Mentor challenges help you improve your coding skills by building realistic projects.
<h1 style="text-align: center;"><a href="https://slimani-ce.github.io/advice-generator-app">Live Site</a> | <a href="https://github.com/Slimani-CE/advice-generator-app">Solution</a></h1>
## Table of contents
- [Advice generator app solution](#advice-generator-app-solution)
- [Table of contents](#table-of-contents)
- [Overview](#overview)
- [The challenge](#the-challenge)
- [Author](#author)
- [Contributing](#contributing)
- [Show Your Support](#show-your-support)
## Overview
### The challenge
Users should be able to:
- View the optimal layout for the app depending on their device's screen size
- See hover states for all interactive elements on the page
- Generate a new piece of advice by clicking the dice icon
## Author
Website - [here](https://slimani-ce.github.io/)
Frontend Mentor - [@Slimani-CE](https://www.frontendmentor.io/profile/Slimani-CE)
Twitter - [@mstapha4real](https://twitter.com/mstapha4real)
## Contributing
Contributions are always welcome! If you find any issues with the code or have suggestions for improvements, please feel free to submit a pull request.
Just remember, we are not responsible for any broken keyboards or late-night coding sessions that may result from your contributions! 😄
## Show Your Support
If you found this notebook helpful, please give it a ⭐️ to show your support! | 🚀 Advice Generator App repository! This web application delivers instant inspiration with a click. Stylish design, responsive layout, and user-friendly interface make wisdom accessible to all. Explore and share the joy! 😊✨ | css3,front-end,frontend-mentor,frontendmentor-challenge,html5,javascript,ui,webdevelopment | 2023-09-29T17:28:29Z | 2023-09-29T17:53:54Z | null | 1 | 0 | 3 | 0 | 0 | 2 | null | null | CSS |
raunak-mishraa/codergeek | main | <div align="center">
<br>
<img width="500" alt="Capture" src="https://github.com/raunak-mishraa/codergeek/assets/107386749/e9c77315-38c4-41c1-9b08-4afa07a381fb">
<!-- <img alt="codergeek" src="https://i.ibb.co/7jPXt0Z/logo1-92f1a87f.png" width="300px"> -->
<h1>👩💻 Contribute to open source with codergeek 👩💻</h1>
</div>
<br>
CoderGeek is a free e-learning website for developers. It offers a variety of courses on different programming languages and technologies, such as Python, JavaScript, Java, C++, and web development. The courses are created by experienced developers and are designed to be easy to follow. CoderGeek also offers a community forum where users can ask questions and get help from other developers.
# CoderGeek
Welcome to the CoderGeek repository! This is an open-source project aimed at helping beginner developers get their feet wet in the world of coding. We use basic development technologies, making it easy for anyone to contribute.
## Getting Started
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes.
## Ways to contribute
1. Remote(Using github codespace)
2. Local(Using Git)
## How to contribute <img src="https://media.giphy.com/media/VgCDAzcKvsR6OM0uWg/giphy.gif" width="50">
1. By just opening a issue
2. By opening issue and working on that as well
3. By checking the issue and working on that
## Steps to contribute
#### Contributing Remotely
You can follow this video as well
<br>
<br>
<a href="https://youtu.be/PXCtjpC9VaY?si=1Ty18Pf2mvcHDom5"><img width="300px" src="https://i.ytimg.com/vi/PXCtjpC9VaY/hqdefault.jpg?sqp=-oaymwEcCNACELwBSFXyq4qpAw4IARUAAIhCGAFwAcABBg==&rs=AOn4CLCygTgZ5jowh5Sv79qK68Z62VhFQg"></a>
1. Fork the repository

2. Click on Code button and create a codespace

3. Make changes and then commit and merge
4. create a new pull request

#### Contributing Locally
- Fork this repository to your GitHub account.
- Clone the forked repository to your local machine using the following command:
```bash
git clone https://github.com/your-username/codergeek.git
```
- Create a new branch: Before making any changes, create a new branch to work on. You can use the following command to create and switch to a new branch:
```bash
git checkout -b your-branch-name
```
- Add your solution: Add your solution for a specific Codergeek project in the appropriate directory within the repository. Make sure to include all the necessary files, such as HTML, CSS, and JavaScript.
- Commit your changes: Once you have made the necessary changes and added your solution, commit your changes using Git. You can use the following commands:
```bash
git add .
git commit -m "Add your commit message here"
```
- Push your changes: Push your changes to your forked repository on GitHub using the following command:
```bash
git push origin your-branch-name
```
- Create a pull request: Finally, navigate to the original repository on GitHub and create a pull request to submit your changes. Provide a descriptive title and explanation of your changes to help the reviewers understand your contribution.
That's it! Once your pull request is reviewed and approved, your changes will be merged into the main repository. Thank you for your contribution and helping beginner developers on their coding journey!
## Feedback and Support
We encourage you to provide feedback and suggestions for this repository. If you encounter any issues or have ideas for improvement, please open an issue in the repository's issue tracker.
Happy coding, and we hope this repository proves to be a valuable resource for your front-end development journey!
| Free E-learning website for developers. | animation-css,animation-library,api,css3,html5,javascript,javascript-library,contribu,front-end-development,open-source | 2023-09-13T06:33:29Z | 2023-09-23T09:59:23Z | null | 2 | 2 | 21 | 0 | 2 | 2 | null | null | CSS |
Abhay2201-Av/MartShoppes | main | null | Replica of MartShoppes it was an individual project build in 4 days using HTML, CSS, JavaScript | bootstrap,css,html,javascript | 2023-10-08T14:26:24Z | 2023-10-08T14:28:17Z | null | 1 | 0 | 1 | 0 | 0 | 2 | null | null | HTML |
Innovation-Web-3-0-Blockchain/FlashLoanSimple-Part-2 | main | # FlashLoanSimple-Pt-2
Welcome to the `FlashLoanSimple-Pt-2` repository. This repository builds upon the basic implementation of a FlashLoan contract for Aave v3, utilizing the Hardhat framework. While the primary goal of the original project was to provide a simple example of how flash loans work within the Aave ecosystem, this part delves into more advanced topics, including deployment scripts and deploying the FlashLoan contract on testnets, including Layer 2 solutions.
## Table of Contents
- [Introduction](#introduction)
- [Verification and Security](#verification-and-security)
- [Commented Code](#commented-code)
- [Getting Started](#getting-started)
- [Smart Contract Deployment](#smart-contract-deployment)
- [Contributions](#contributions)
- [License](#license)
- [Project Updates](#project-updates)
- [Additional Resources](#additional-resources)
- [Donation](#donations)
## Introduction
This repository is an extension of the [FlashLoanSimple repository](https://github.com/Innovation-Web-3-0-Blockchain/FlashLoanSimple) project, covering more advanced topics related to flash loans within the Aave ecosystem. It includes deployment scripts and instructions for deploying the FlashLoan contract on various testnets, including Layer 2 solutions.
## Verification and Security
Each modification to this project undergoes a meticulous verification process and subsequent signing. This stringent approach guarantees the authenticity and integrity of our codebase. In case you encounter any modifications that lack appropriate verification, we strongly advise against cloning or utilizing them, as they might harbor malicious code.
## Commented Code
**Please take note:** Our codebase is meticulously documented with comprehensive comments, aimed at providing a clear understanding of the functionality of individual components.
## Getting Started
To explore and interact with our `FlashLoanSimple-Part-2` project, follow these steps:
1. Clone this repository to your local machine.
```bash
git clone https://github.com/Innovation-Web-3-0-Blockchain/FlashLoanSimple-Part-2.git
```
2. Ensure you have `node.js` and `npm` installed in your environment.
3. Install the necessary dependencies by running the following command in your terminal:
```bash
npm install
```
## Smart Contract Deployment
**We will be deploying the FlashLoan contract on Polygon Mumbai Testnet.**
To deploy the `FlashLoanSimplePt2.sol` contract, follow these steps:
1. Set your deployment environment by setting the **hardhat.config.js** file with the testnet you want to use with the Hardhat node. For guidance on what to include, please refer to our [Hardhat Configuration File](./hardhat.config.js).
2. Set your RPC endpoint. We recommend using your own RPC URL for better reliability. You can create your own Web3 API keys on the Infura website: [Infura](https://www.infura.io/).
3. Create a **.env** file and add the following:
```env
YOUR_API_KEY="" // Paste your Web3 API key in between the quotation marks
YOUR_PRIVATE_KEY="" // Paste your wallet private key in between the quotation marks
```
**IMPORTANT NOTE:** Make sure that your **.env** file is private, and that you never share its contents.
4. Get faucets MATIC for the gas fees:
- MATIC faucets: [Mumbai Faucet](https://mumbaifaucet.com/)
5. Get faucets USDC for the FlashLoan:
- USDC faucets: [Aave Faucet](https://staging.aave.com/faucet/)
6. Deploy the deployment script by using the following command:
```bash
npx hardhat run --network mumbai scripts/1_deploy.js
```
7. (Optional) To use the Polygon Mainnet for forking purposes, use the following command:
```bash
npx hardhat node
```
8. (Optional) Deploy the deployment script by using the following command:
```bash
npx hardhat run 1_deploy.js --network fork
```
If the deployment is successful, this is what will show up in your command line console:
```
Deploying FlashLoan contract...
FlashLoan contract deployed at: 0x28b76D579f1B3b314098E99a543dF3bC3C2d9Ee6
View contract at: https://mumbai.polygonscan.com/address/0x28b76D579f1B3b314098E99a543dF3bC3C2d9Ee6
--------------------------------------------------------------------------------------------------------------------------
Transferring 5 USDC to the FlashLoan contract...
Transferred 5 USDC tokens to the FlashLoan contract
Waiting for 1 block to verify the transfer...
--------------------------------------------------------------------------------------------------------------------------
USDC balance of the FlashLoan contract is: 5 USDC
--------------------------------------------------------------------------------------------------------------------------
Requesting a flash loan of 1000 USDC...
Flash loan executed!
View transaction at: https://mumbai.polygonscan.com/tx/0x04bf0178a90535f95821925dcc00c12145b9db84de247222f59b6b91794bf0d8
--------------------------------------------------------------------------------------------------------------------------
Withdrawing 4.5 USDC from the FlashLoan contract...
Funds sent!
View transaction at: https://mumbai.polygonscan.com/tx/0xf59acb85d752fd50cb4b990b9a684e1eb0f25b930a9ad43df9faa7b996431f55
--------------------------------------------------------------------------------------------------------------------------
```
**This code tutorial uses a testnet; however, the exact same instructions and sequence will work on the mainnet as well.**
## Contributions
Contributions to this project are welcome and encouraged. If you identify any bugs, have feature requests, or would like to improve the project, please open an issue or submit a pull request. We appreciate your interest and contributions.
## License
This project is licensed under the MIT License. For details, please refer to the [LICENSE](LICENSE) file.
## Project Updates
As the DeFi ecosystem continues to evolve, we will monitor and update this project to align with the latest developments and best practices. Stay tuned for updates and improvements!
## Additional Resources
For more details on flash loans and how they work in Aave, please refer to the [Aave Flash Loans Guide](https://docs.aave.com/developers/guides/flash-loans).
To verify any Aave V3 testnet addresses, please refer to the [Docs for Aave V3 Testnet Adresses](https://docs.aave.com/developers/deployed-contracts/v3-testnet-addresses#contract-name-changes-from-v2-greater-than-v3by).
## Donations
### Our Values
We do not use any form of social media or engage in marketing activities. Our principles are rooted in open source and privacy, and we do not receive compensation for our contributions to GitHub. Furthermore, we do not endorse or have affiliations with any other projects.
### Supporting Us
While we remain committed to providing valuable resources for aspiring blockchain developers, any donations are greatly appreciated. Your support will help us offset the time and effort we invest in these projects to facilitate access to accessible information.
### Donation Options
We welcome contributions in Bitcoin and Monero, and you can send contributions by scanning one of the addresses in the QR codes at the following link: [Donate to Innovation Web 3.0](https://innovationweb3.github.io/)
Thank you for your support and for being part of our community!
| Basic smart contract for executing flash loans in a single transaction on Layer 2 solutions. | aave,erc20,flashloan,hardhat,javascript,matic,nodejs,npm,polygon,smart-contracts | 2023-09-26T14:25:40Z | 2024-01-08T15:54:45Z | null | 1 | 0 | 3 | 0 | 2 | 2 | null | MIT | JavaScript |
joseandrestrujillo/astro-shop | master | # Vanilla-Shop App






This project is a simple online store built with [Astro](https://astro.build), JavaScript for the client-side scripts, TypeScript for server-side scripts, HTML5, and CSS3. This is an open-source project aiming to provide a practical and straightforward e-commerce web.
## Project Overview
Currently, the backend of this project utilizes the [Fake Store API](https://fakestoreapi.com/), a free online REST API that provides fake data for e-commerce or shopping websites.
### Features
- Users can search any product by title.
- Users can filter products by price range.
- Users can filter products by category.
- Users can filter products by rate.
## Screenshots

## Getting Started
This section will guide you through setting up the project on your machine for development and testing purposes.
### Prerequisites
You will need [Bun](https://bun.sh/) (or [Node.js](https://nodejs.org/es)) installed on your system.
### Installation and Running the Frontend
Following these steps will set up the project on your system:
1. Clone the repository:
```sh
git clone https://github.com/joseandrestrujillo/vanilla-shop
```
2. Navigate to the /frontend directory:
```sh
cd vanilla-shop/frontend
```
3. Install the project dependencies:
```sh
bun install
```
or with npm
```sh
npm install
```
4. Start the project:
```sh
bun run start
```
or with npm
```sh
npm run start
```
The project should now be running at http://localhost:4321.
## Contributing
As an open-source project, we welcome contributions of all forms.
If you have an idea or find a bug, please open an issue so we can discuss it. If you wish to contribute code, please open a pull request.
## License
[](./LICENSE)
| This project is a simple online store built with Astro, JavaScript for the client-side scripts, TypeScript for server-side scripts, HTML5, and CSS3. This is an open-source project aiming to provide a practical and straightforward e-commerce web. | astrojs,bunjs,css3,html5,javascript,typescript | 2023-09-15T10:04:41Z | 2023-09-20T19:49:50Z | null | 1 | 0 | 42 | 0 | 0 | 2 | null | MIT | Astro |
SamotSama/portfolio-v2 | main | # My Portfolio
This is my personal portfolio, based on the [original template](https://github.com/manuarora700/simple-developer-portfolio-website) by [manuarora700](https://github.com/manuarora700). Here you will find information about me, my projects, and how to get in touch.

## About Me
A brief description about myself. My journey, including education, experience, and key skills as a developer.
## Featured Projects
List some of my most notable projects. Including screenshots and links to the corresponding websites.
## Experience
List of my relevant work experience this latest years.
## Tech Stack
The website is built in my favourite Tech Stack and deployed on Vercel.
- **Next.js** for building React Components.
- **tailwindcss** for styling.
- **React** Rough Notation for Hero section highlighting.
- **Vercel** for deployments and CI/CD.
## Contributions and Contact
If you're interested in collaborating on projects or have any questions, feel free to reach out to me:
- **Email:** halejandrorosa@gmail.com
- **LinkedIn:** [Alejandro Rosa](https://www.linkedin.com/in/h-alejandro-rosa/)
- **GitHub:** [SamotSama](https://github.com/SamotSama)
| 👺 A new portfolio, updated. Made with Next.js. Based on the original template by manuarora700. | css,html,javascript,next,nextjs,react,tailwind,tailwindcss | 2023-09-13T19:07:58Z | 2024-03-20T15:47:26Z | null | 1 | 0 | 20 | 0 | 0 | 2 | null | null | JavaScript |
fab-c14/smartBrain | master | # SmartBrain - v1
Final project for ZTM course
1. Clone this repo
2. Run `npm install`
3. Run `npm start`
4. You must add your own API key in the `src/App.js` file to connect to Clarifai.
You can grab Clarifai API key [here](https://www.clarifai.com/)
*visist https://zerotomastery.io/ for more*
| This SmartBrain Detects Faces In Seconds | javascript,json,react,react-state-management,webdevelopment,express,mongodb,node | 2023-09-25T14:46:04Z | 2024-02-12T11:09:40Z | null | 1 | 0 | 35 | 0 | 0 | 2 | null | Unlicense | JavaScript |
LucasFrazier/module-federation-example | main | # Module Federation Example
## About The Project
The purpose of this project is to demonstrate an example of a [Micro-Frontend Architecture](https://micro-frontends.org/) powered by [Webpack 5 Module Federation](https://webpack.js.org/concepts/module-federation/). This reference architecture is to demonstrate the capabilities and is not meant as a production grade example.
Micro-Frontend Architecture enables teams to work independently, in parallel.
Module Federation is how we stitch together the work done by these independent teams, at runtime.
In the context of this project, the `home` app is the _host_, while the `pdp` and `cart` apps are the _remotes_. While each app runs on a separate port, http://localhost:3000 is where we will see our app being stitched together at runtime.
Please see the [Notes](#notes) and [Resources](#resources) sections at the end of this document for some additional thoughts and materials I put together while researching and building this project.
In this reference architecture I am building a e-commerce application using a Cart, a PDP (Product Display Page), and a Login to demonstrate state management, module federation, and error handling.
<br>
---
<br>
## Architecture
### An example of how modules are stitched together in this project (http://localhost:3000/product/2):
<br>

In the illustration above I highlight how the components are stitched together.
- The `home` application is the **host**
- `home` pulls in the remote `<PDPContent />` module that is exposed by the `PDP` application
- The `PDP` application pulls in the remote `<ReviewsContent />` module that is exposed by the `Reviews` application
- `<ReviewsContent />` is considered a child component of the `<PDPContent />` module and error handling will need be to done in the `<PDPContent />` module in the event the `<ReviewsContent />` module could not be rendered.
<br>
### Built With
- Frontend(s)
- React 18
- React Router
- Webpack 5
- Module Federation Plugin
- Zustand
- See ADR under `adr` directory
- Tailwind
- Backend
- Nest
- TypeScript
<br>
---
<br>
## Getting Started
Follow theses steps to get the project up and running locally.
### Prerequisites
This is an example of how to list things you need to use the software and how to install them.
- npm
```sh
npm install -g npm@latest
```
### Installation
\*NOTE: In the project's current state, all apps need to be running in order for any single app to work. Once you have gone through the installation steps, refresh each page if you are seeing blank screens.
1. Clone the repo
```sh
git clone https://github.com/LucasFrazier/module-federation-example.git
```
1. For each directory (`home`, `pdp`, `cart`, `reviews`, `server` do the following.
1. `cd` into the directory
```sh
cd <directory>
```
1. run `npm install`
```sh
npm install
```
1. For `home`, `pdp`, `cart`, & `reviews` run `npm run build`
```sh
npm run build
```
1. run `npm start`
```sh
npm start
```
1. Refresh browser windows
<br>
---
<br>
## Usage
### Basics
The project mimics an ecommerce site experience and consists of 5 separate applications: home, pdp, cart, reviews, and server.
In this project, `home` is the _host_, while `pdp`, `cart`, and `reviews` are the _remotes_
Each application runs on a separate port:
- home: http://localhost:3000
- pdp: http://localhost:3001
- cart: http://localhost:3002
- reviews: http://localhost:3003
- server: http://localhost:8080
Once all apps are running, navigate to http://localhost:3000 to begin using the stitched together site.
Most of the magic is happening in the `webpack.config.js` files within the `home`, `pdp`, `cart`, and `reviews` apps. Looking at the `ModuleFederationPlugin` settings in each file will show you what is being exposed (`exposes: {...}`- see [cart's webpack](https://github.com/LucasFrazier/module-federation-example/blob/main/cart/webpack.config.js#L51) ) and what is being consumed (`remotes: {...}`).
The exposed data becomes available via a `remoteEntry.js` file that Webpack creates in the `dist` directory at the root of each app.
For example, in the context of our application, `pdp` exposes `<PDPContent />`, and then `home` hosts that content when the user navigates to `/product/:id`.
A _basic_ example really is that straightforward. If you know how to import/export, you know how to use Module Federation.
<br>
### Actions You Can Take
You can use the username, `sally`, and the password, `123` to log in, or you can remain logged out.
You can add products to your cart from the Home and PDP pages. You can view your cart on the Cart page or at any time using the cart icon in the global header.
- Your cart will remain in state as you navigate around the site, but the data will be cleared on refresh
- I have also implemented state "freshness" controls
- If a user navigates to /cart or clicks the cart icon in the top nav, a "freshness" check is run
- If a user is logged in and the timestamp on the cart is older than 5 seconds, I fetch fresh cart data from the server
- You can test this by logging in, adding some new products to cart, and waiting 5 seconds
- Your cart will be reset to two items the next time you navigate to /cart or click the cart icon
<br>
### Error Handling
If you navigate to http://localhost:3000/product/2, you will see that the `reviews` module is broken.
I am catching this error using an [Error Boundary](https://reactjs.org/docs/error-boundaries.html) component.
What to do about the error
- You can fix the error by commenting out or removing `{x.toString()}` in `reviews/src/Reviews.jsx`
- You can remove the `<ErrorBoundary />` that wraps `<Reviews />`
- If you do this, you will see the PDP `<ErrorBoundary />` catch the error
- You could take this even further, removing the `<ErrorBoundary />` that wraps `<PDPContent />`
- In which case you will see the Home `<ErrorBoundary />` catch the error
\*Note: I have a [Roadmap](#roadmap) item for creating / exposing a reusable Error Boundary component in the `home` app
<br>
---
<br>
## Roadmap
- [x] Implement State Management Solution
- [x] Implement Error Handling
- [x] Upgrade Tailwind CSS v2 -> v3
- [ ] Utilize Quantity Property on Cart Items
- [ ] Create new app template
- [ ] Create / Expose reusable Error Boundary component in home app
- [ ] Create global config for Tailwind CSS
<br>
---
<br>
## Notes
- You can use Module Federation to share _any_ kind of JavaScript
- Modules can be updated at runtime
- State Management can be implemented in all the most common ways
- Prop Drilling, Context, Zustand, Redux, etc.
- CSS is not something you can share across Module Federation
- Must be JS or CSS-in-JS
- Error Handling can be accomplished by using a combination of
- [Promise-Based Dynamic Imports](https://webpack.js.org/concepts/module-federation/#dynamic-remote-containers)
- React Lazy, Suspense, Fallbacks, and Error Boundaries
- You need to create "Resilient Components"
- Routes can be controlled under a namespace
- In this project, this is enforced by the host app, `home`
## Resources
- Documentation
- https://webpack.js.org/concepts/module-federation/
- Video
- [Micro-Frontends Course - Beginner to Expert](https://youtu.be/lKKsjpH09dU)
- Podcast
- [Zack Jackson - Module Federation](https://devtools.fm/episode/30)
- YouTube video also available, but it's just talking
- Examples on GitHub
- [Module Federation Examples](https://github.com/module-federation/module-federation-examples)
<br>
---
<br>
[Back to Top](#module-federation-example)
| Example of Micro-Frontend Architecture via Module Federation 🤝 | javascript,micro-frontend,module-federation,nest,react,react-router,tailwindcss,typescript,webpack,zustand | 2023-09-30T23:56:49Z | 2024-04-26T11:15:24Z | null | 1 | 28 | 61 | 0 | 0 | 2 | null | NOASSERTION | JavaScript |
AzizzAzizli/ToDoApp_with-LocalStorage | main | # ToDoApp_with-LocalStorage | To Do List (with localStorage) | bootstrap,css,html,javascript,jquery | 2023-09-17T13:23:43Z | 2023-09-17T20:02:24Z | null | 1 | 0 | 4 | 0 | 0 | 2 | null | null | JavaScript |
Gislaine-J-Silva/Light-Dark | main | null | Projeto de layout Light/Dark - Adicionei o uso de APi do Github para puxar a foto do User no projeto -DevLinks da Rocketseat !! https://www.figma.com/community/file/1187422022288947321 | css,dark-theme,html,javascript,light-theme | 2023-09-13T01:58:57Z | 2023-09-13T04:28:21Z | null | 1 | 0 | 71 | 0 | 0 | 2 | null | null | CSS |
AnupThakurwar/portfolio | master | # Getting Started with Create React App
This project was bootstrapped with [Create React App](https://github.com/facebook/create-react-app).
## Available Scripts
In the project directory, you can run:
### `npm start`
Runs the app in the development mode.\
Open [http://localhost:3000](http://localhost:3000) to view it in your browser.
The page will reload when you make changes.\
You may also see any lint errors in the console.
### `npm test`
Launches the test runner in the interactive watch mode.\
See the section about [running tests](https://facebook.github.io/create-react-app/docs/running-tests) for more information.
### `npm run build`
Builds the app for production to the `build` folder.\
It correctly bundles React in production mode and optimizes the build for the best performance.
The build is minified and the filenames include the hashes.\
Your app is ready to be deployed!
See the section about [deployment](https://facebook.github.io/create-react-app/docs/deployment) for more information.
### `npm run eject`
**Note: this is a one-way operation. Once you `eject`, you can't go back!**
If you aren't satisfied with the build tool and configuration choices, you can `eject` at any time. This command will remove the single build dependency from your project.
Instead, it will copy all the configuration files and the transitive dependencies (webpack, Babel, ESLint, etc) right into your project so you have full control over them. All of the commands except `eject` will still work, but they will point to the copied scripts so you can tweak them. At this point you're on your own.
You don't have to ever use `eject`. The curated feature set is suitable for small and middle deployments, and you shouldn't feel obligated to use this feature. However we understand that this tool wouldn't be useful if you couldn't customize it when you are ready for it.
## Learn More
You can learn more in the [Create React App documentation](https://facebook.github.io/create-react-app/docs/getting-started).
To learn React, check out the [React documentation](https://reactjs.org/).
### Code Splitting
This section has moved here: [https://facebook.github.io/create-react-app/docs/code-splitting](https://facebook.github.io/create-react-app/docs/code-splitting)
### Analyzing the Bundle Size
This section has moved here: [https://facebook.github.io/create-react-app/docs/analyzing-the-bundle-size](https://facebook.github.io/create-react-app/docs/analyzing-the-bundle-size)
### Making a Progressive Web App
This section has moved here: [https://facebook.github.io/create-react-app/docs/making-a-progressive-web-app](https://facebook.github.io/create-react-app/docs/making-a-progressive-web-app)
### Advanced Configuration
This section has moved here: [https://facebook.github.io/create-react-app/docs/advanced-configuration](https://facebook.github.io/create-react-app/docs/advanced-configuration)
### Deployment
This section has moved here: [https://facebook.github.io/create-react-app/docs/deployment](https://facebook.github.io/create-react-app/docs/deployment)
### `npm run build` fails to minify
This section has moved here: [https://facebook.github.io/create-react-app/docs/troubleshooting#npm-run-build-fails-to-minify](https://facebook.github.io/create-react-app/docs/troubleshooting#npm-run-build-fails-to-minify)
| my personal portfolio designed using react JS technology with tailwind as CSS framework. the portfolio is made fully responsive and includes personal project as well. | javascript,reactjs,tailwindcss | 2023-09-12T08:53:31Z | 2023-09-15T15:20:09Z | null | 2 | 0 | 3 | 0 | 0 | 2 | null | null | JavaScript |
Ajjupatel066/jobby-App | main | In this project, let's build a **Jobby App** by applying the concepts we have learned till now.
### Refer to videos below:
<div style="text-align: center;">
<video style="max-width:80%;box-shadow:0 2.8px 2.2px rgba(0, 0, 0, 0.12);outline:none;" loop="true" autoplay="autoplay" controls="controls" muted>
<source src="https://assets.ccbp.in/frontend/content/react-js/jobby-app-success-output-v0.mp4" type="video/mp4">
</video>
</div>
<br/>
**Failure View** <br/>
<div style="text-align: center;">
<video style="max-width:80%;box-shadow:0 2.8px 2.2px rgba(0, 0, 0, 0.12);outline:none;" loop="true" autoplay="autoplay" controls="controls" muted>
<source src="https://assets.ccbp.in/frontend/content/react-js/jobby-app-failure-output-v1.mp4" type="video/mp4">
</video>
</div>
<br/>
### Design Files
<details>
<summary>Login Route</summary>
- [Extra Small (Size < 576px) and Small (Size >= 576px) - Login](https://assets.ccbp.in/frontend/content/react-js/jobby-app-login-sm-outputs.png)
- [Medium (Size >= 768px), Large (Size >= 992px) and Extra Large (Size >= 1200px) - Login](https://assets.ccbp.in/frontend/content/react-js/jobby-app-login-lg-output.png)
- [Medium (Size >= 768px), Large (Size >= 992px) and Extra Large (Size >= 1200px) - Login Failure](https://assets.ccbp.in/frontend/content/react-js/jobby-app-login-failure-lg-output.png)
</details>
<details>
<summary>Home Route</summary>
- [Extra Small (Size < 576px) and Small (Size >= 576px) - Home](https://assets.ccbp.in/frontend/content/react-js/jobby-app-home-sm-output.png)
- [Medium (Size >= 768px), Large (Size >= 992px) and Extra Large (Size >= 1200px) - Home](https://assets.ccbp.in/frontend/content/react-js/jobby-app-home-lg-output.png)
</details>
<details>
<summary>Jobs Route</summary>
- [Extra Small (Size < 576px) and Small (Size >= 576px) - Jobs](https://assets.ccbp.in/frontend/content/react-js/jobby-app-jobs-sm-outputs.png)
- [Medium (Size >= 768px), Large (Size >= 992px) and Extra Large (Size >= 1200px) - Jobs Success](https://assets.ccbp.in/frontend/content/react-js/jobby-app-jobs-success-lg-output-v0.png)
- [Medium (Size >= 768px), Large (Size >= 992px) and Extra Large (Size >= 1200px) - No Jobs](https://assets.ccbp.in/frontend/content/react-js/jobby-app-no-jobs-lg-output-v0.png)
- [Medium (Size >= 768px), Large (Size >= 992px) and Extra Large (Size >= 1200px) - Profile Failure](https://assets.ccbp.in/frontend/content/react-js/jooby-app-profile-failure-lg-output-v0.png)
- [Medium (Size >= 768px), Large (Size >= 992px) and Extra Large (Size >= 1200px) - Jobs Failure](https://assets.ccbp.in/frontend/content/react-js/jobby-app-jobs-failure-lg-output-v0.png)
</details>
<details>
<summary>Job Item Details Route</summary>
- [Extra Small (Size < 576px) and Small (Size >= 576px) - Job Details Success](https://assets.ccbp.in/frontend/content/react-js/jobby-app-job-details-success-sm-output-v0.png)
- [Extra Small (Size < 576px) and Small (Size >= 576px) - Job Details Failure](https://assets.ccbp.in/frontend/content/react-js/jobby-app-job-details-failure-sm-output.png)
- [Medium (Size >= 768px), Large (Size >= 992px) and Extra Large (Size >= 1200px) - Job Details Success](https://assets.ccbp.in/frontend/content/react-js/jobby-app-job-details-success-lg-output-v0.png)
- [Medium (Size >= 768px), Large (Size >= 992px) and Extra Large (Size >= 1200px) - Job Details Failure](https://assets.ccbp.in/frontend/content/react-js/jobby-app-job-details-failure-lg-output.png)
</details>
<details>
<summary>Not Found Route</summary>
- [Extra Small (Size < 576px) and Small (Size >= 576px) - Not Found](https://assets.ccbp.in/frontend/content/react-js/jobby-app-not-found-sm-output-v0.png)
- [Medium (Size >= 768px), Large (Size >= 992px) and Extra Large (Size >= 1200px) - Not Found](https://assets.ccbp.in/frontend/content/react-js/jobby-app-not-found-lg-output-v0.png)
</details>
### Set Up Instructions
<details>
<summary>Click to view</summary>
- Download dependencies by running `npm install`
- Start up the app using `npm start`
</details>
### Completion Instructions
<details>
<summary>Functionality to be added</summary>
<br/>
The app must have the following functionalities
- **Login Route**
- When invalid credentials are provided and the **Login** button is clicked, then the error message received from the response should be displayed
- When valid credentials are provided and the **Login** button is clicked, then the page should be navigated to the Home Route
- When an _unauthenticated_ user, tries to access the Home, Jobs and Job Item Details Route, then the page should be navigated to Login Route
- When an _authenticated_ user, tries to access the Home, Jobs and Job Item Details Route, then the page should be navigated to the respective route
- When an _authenticated_ user, tries to access the Login Route, then the page should be navigated to the Home Route
- **Home Route**
- When an _authenticated_ user opens the Home Route
- Clicks on the **Find Jobs** button, then the page should be navigated to the Jobs Route
- **Jobs Route**
- When an _authenticated_ user opens the Jobs Route
- An HTTP GET request should be made to **Profile API URL**
- **_loader_** should be displayed while fetching the data
- After the data is fetched successfully, the response received should be displayed
- If the HTTP GET request made is unsuccessful, then the [Failure View](https://assets.ccbp.in/frontend/content/react-js/jobby-app-profile-failure-lg-output.png) should be displayed
- When the **Retry** button is clicked, an HTTP GET request should be made to **Profile API URL**
- An HTTP GET request should be made to **Jobs API URL** with `employment_type`, `minimum_package`, and `search` as query parameters with empty strings as initial values
- **_loader_** should be displayed while fetching the data
- After the data is fetched successfully, display the list of jobs received from the response
- If the HTTP GET request made is unsuccessful, then the [Failure View](https://assets.ccbp.in/frontend/content/react-js/jobby-app-jobs-failure-lg-output.png) should be displayed
- When the **Retry** button is clicked, an HTTP GET request should be made to **Jobs API URL**
- When a value is provided in the search input and search icon button is clicked
- Make an HTTP GET request to the **Jobs API URL** with `jwt_token` in the Cookies and query parameter `search` with value as the text provided in the search input
- **_loader_** should be displayed while fetching the data
- After the data is fetched successfully, display the list of jobs received from the response
- When **Employment Types** options are selected
- Make an HTTP GET request to the **Jobs API URL** with `jwt_token` in the Cookies and query parameter `employment_type` with value as a list of selected employment type id's as a single string separated by `,`
- **_loader_** should be displayed while fetching the data
- After the data is fetched successfully, display the list of jobs received from the response
- When **Salary Range** is selected
- Make an HTTP GET request to the **Jobs API URL** with `jwt_token` in the Cookies and query parameter `minimum_package` with value as the id of the selected salary range
- **_loader_** should be displayed while fetching the data
- After the data is fetched successfully, display the list of jobs received from the response
- When the HTTP GET request made to the **Jobs API URL** returns an empty list for jobs then [No Jobs View](https://assets.ccbp.in/frontend/content/react-js/jobby-app-no-jobs-lg-output.png) should be displayed
- When multiple filters are applied, then the HTTP GET request should be made with all the filters that are applied
- For example: When the **Full Time** and **Part Time** employment types are selected, salary range **10 LPA and above** is selected and search input field is empty, then the **Jobs API URL** will be as follows
```js
const apiUrl = 'https://apis.ccbp.in/jobs?employment_type=FULLTIME,PARTTIME&minimum_package=1000000&search='
```
- When a **job** is clicked, then the page should be navigated to the Job Item Details Route
- **Job Item Details Route**
- When an _authenticated_ user opens the Job Item Details Route
- An HTTP GET request should be made to **Job Details API URL** with `jwt_token` in the Cookies and job `id` as path parameter
- **_loader_** should be displayed while fetching the data
- After the data is fetched successfully, the response received should be displayed
- The list of similar jobs should be displayed
- If the HTTP GET request made is unsuccessful, then the [Failure View](https://assets.ccbp.in/frontend/content/react-js/jobby-app-job-details-failure-lg-output.png) should be displayed
- When the **Retry** button is clicked, an HTTP GET request should be made to **Job Details API URL**
- When the **Visit** button is clicked, then the corresponding company website URL should be opened in a new tab
- **Not Found Route**
- When a random path is provided as the URL path, then the page should be navigated to the Not Found Route
- **Header**
- When the **website logo** image is clicked, then the page should be navigated to the Home Route
- When the **Home** link is clicked, then the page should be navigated to the Home Route
- When the **Jobs** link is clicked, then the page should be navigated to the Jobs Route
- When the **Logout** button is clicked, then the page should be navigated to the Login Route
- The App is provided with `employmentTypesList`. It consists of a list of employment type objects with the following properties in each employment type object
| Key | Data Type |
| :--------------: | :-------: |
| employmentTypeId | String |
| label | String |
- The App is provided with `salaryRangesList`. It consists of a list of salary range objects with the following properties in each salary range object
| Key | Data Type |
| :-----------: | :-------: |
| salaryRangeId | String |
| label | String |
</details>
<details>
<summary>API Requests & Responses</summary>
<br/>
**Login API**
#### API: `https://apis.ccbp.in/login`
#### Method: `POST`
#### Request:
```json
{
"username": "rahul",
"password": "rahul@2021"
}
```
#### Description:
Returns a response based on the credentials provided
#### Sample Success Response
```json
{
"jwt_token": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VybmFtZSI6InJhaHVsIiwicm9sZSI6IlBSSU1FX1VTRVIiLCJpYXQiOjE2MTk2Mjg2MTN9. nZDlFsnSWArLKKeF0QbmdVfLgzUbx1BGJsqa2kc_21Y"
}
```
#### Sample Failure Response
```json
{
"status_code": 404,
"error_msg": "Username is not found"
}
```
**Profile API**
#### API: `https://apis.ccbp.in/profile`
#### Method: `GET`
#### Description:
Returns a response containing the profile details
#### Sample Response
```json
{
"profile_details": {
"name": "Rahul Attuluri",
"profile_image_url": "https://assets.ccbp.in/frontend/react-js/male-avatar-img.png",
"short_bio": "Lead Software Developer and AI-ML expert"
}
}
```
**Jobs API**
#### API: `https://apis.ccbp.in/jobs`
#### Example: `https://apis.ccbp.in/jobs?employment_type=FULLTIME,PARTTIME&minimum_package=1000000&search=`
#### Method: `GET`
#### Description:
Returns a response containing the list of all jobs
#### Sample Response
```json
{
"jobs": [
{
"company_logo_url": "https://assets.ccbp.in/frontend/react-js/jobby-app/facebook-img.png",
"employment_type": "Full Time",
"id": "d6019453-f864-4a2f-8230-6a9642a59466",
"job_description": "We’re in search of a Back-End Software Engineer that specializes in server-side components. In this role, you’ll primarily work in NodeJs, SQL Lite, Python, AWS and GO and will bring a depth of knowledge on basic algorithms and data structures. As a Back-End Engineer, you might be architecting new features for our customers.",
"location": "Bangalore",
"package_per_annum": "21 LPA",
"rating": 4,
"title": "Backend Engineer"
}
...
],
"total":25,
}
```
**Job Details API**
#### API: `https://apis.ccbp.in/jobs/:id`
#### Example: `https://apis.ccbp.in/jobs/bb95e51b-b1b2-4d97-bee4-1d5ec2b96751`
#### Method: `GET`
#### Description:
Returns a response containing the job details
#### Sample Response
```json
{
"job_details": {
"company_logo_url": "https://assets.ccbp.in/frontend/react-js/jobby-app/netflix-img.png",
"company_website_url": "https://about.netflix.com/en",
"employment_type": "Internship",
"id": "bb95e51b-b1b2-4d97-bee4-1d5ec2b96751",
"job_description": "We are looking for a DevOps Engineer with a minimum of 5 years of industry experience, preferably working in the financial IT community. The position in the team is focused on delivering exceptional services to both BU and Dev",
"skills": [
{
"image_url": "https://assets.ccbp.in/frontend/react-js/jobby-app/docker-img.png",
"name": "Docker"
},
...
],
"life_at_company": {
"description": "Our core philosophy is people over process. Our culture has been instrumental to our success. It has helped us attract and retain stunning colleagues, making work here more satisfying. Entertainment, like friendship, is a fundamental human need, and it changes how we feel and gives us common ground. We want to entertain the world.",
"image_url": "https://assets.ccbp.in/frontend/react-js/jobby-app/life-netflix-img.png"
},
"location":"Delhi",
"package_per_annum":"10 LPA",
"rating":4
},
"similar_jobs": [
{
"company_logo_url": "https://assets.ccbp.in/frontend/react-js/jobby-app/netflix-img.png",
"employment_type": "Freelance",
"id": "2b40029d-e5a5-48cc-84a6-b6e12d25625d",
"job_description": "The Experimentation Platform team builds internal tools with a big impact across the company. We are looking to add a UI engineer to our team to continue to improve our experiment analysis workflow and tools. Ideal candidates will be excited by direct contact with our users, fast feedback, and quick iteration.",
"location": "Delhi",
"rating": 4,
"title": "Frontend Engineer"
},
...
]
}
```
</details>
### Quick Tips
<details>
<summary>Click to view</summary>
<br>
- To convert a list of items as a comma-separated string we can use the array method `join()`
</details>
### Important Note
<details>
<summary>Click to view</summary>
<br/>
**The following instructions are required for the tests to pass**
- Render `Home` Route component when the path in URL matches `/`
- Render `Login` Route component when the path in URL matches `/login`
- Render `Jobs` Route component when the path in URL matches `/jobs`
- Render `Job Item Details` Route component when the path in URL matches `/jobs/:id`
- Render `Not Found` Route component when the path in URL matches `/not-found`
- No need to use the `BrowserRouter` in `App.js` as we have already included in `index.js`
- User credentials
```text
username: rahul
password: rahul@2021
```
- Wrap the `Loader` component with an HTML container element and add the `data-testid` attribute value as **loader** to it
```jsx
<div className="loader-container" data-testid="loader">
<Loader type="ThreeDots" color="#ffffff" height="50" width="50" />
</div>
```
- **Jobs Route**
- The HTML button element with search icon should have the `data-testid` attribute value as **searchButton** to it
```jsx
<button type="button" data-testid="searchButton">
<BsSearch className="search-icon" />
</button>
```
- The profile image should have the alt as **profile**
- The company logo images in Jobs Route should have the alt as **company logo**
- **Job Details Route**
- The company logo image should have the alt as **job details company logo**
- The life at company image should have the alt as **life at company**
- The skill images should have the alt as the value of the key `name` from each object in the **skills** list received from the job details response
- The company logo image in similar job item should have the alt as **similar job company logo**
</details>
### Resources
<details>
<summary>Image URLs</summary>
- [https://assets.ccbp.in/frontend/react-js/home-sm-bg.png](https://assets.ccbp.in/frontend/react-js/home-sm-bg.png)
- [https://assets.ccbp.in/frontend/react-js/home-lg-bg.png](https://assets.ccbp.in/frontend/react-js/home-lg-bg.png)
- [https://assets.ccbp.in/frontend/react-js/profile-bg.png](https://assets.ccbp.in/frontend/react-js/profile-bg.png)
- [https://assets.ccbp.in/frontend/react-js/logo-img.png](https://assets.ccbp.in/frontend/react-js/logo-img.png) alt should be **website logo**
- [https://assets.ccbp.in/frontend/react-js/failure-img.png](https://assets.ccbp.in/frontend/react-js/failure-img.png) alt should be **failure view**
- [https://assets.ccbp.in/frontend/react-js/no-jobs-img.png](https://assets.ccbp.in/frontend/react-js/no-jobs-img.png) alt should be **no jobs**
- [https://assets.ccbp.in/frontend/react-js/jobby-app-not-found-img.png](https://assets.ccbp.in/frontend/react-js/jobby-app-not-found-img.png) alt should be **not found**
</details>
<details>
<summary>Colors</summary>
<br/>
<div style="background-color: #64748b; width: 150px; padding: 10px; color: white">Hex: #64748b</div>
<div style="background-color: #4f46e5; width: 150px; padding: 10px; color: white">Hex: #4f46e5</div>
<div style="background-color: #f8fafc; width: 150px; padding: 10px; color: black">Hex: #f8fafc</div>
<div style="background-color: #272727; width: 150px; padding: 10px; color: white">Hex: #272727</div>
<div style="background-color: #ffffff; width: 150px; padding: 10px; color: black">Hex: #ffffff</div>
<div style="background-color: #b6c5ff; width: 150px; padding: 10px; color: black">Hex: #b6c5ff</div>
<div style="background-color: #6366f1; width: 150px; padding: 10px; color: white">Hex: #6366f1</div>
<div style="background-color: #2c364c; width: 150px; padding: 10px; color: white">Hex: #2c364c</div>
<div style="background-color: #000000; width: 150px; padding: 10px; color: white">Hex: #000000</div>
<div style="background-color: #f1f5f9; width: 150px; padding: 10px; color: black">Hex: #f1f5f9</div>
<div style="background-color: #fbbf24; width: 150px; padding: 10px; color: white">Hex: #fbbf24</div>
<div style="background-color: #202020; width: 150px; padding: 10px; color: white">Hex: #202020</div>
<div style="background-color: #cbd5e1; width: 150px; padding: 10px; color: black">Hex: #cbd5e1</div>
<div style="background-color: #7e858e; width: 150px; padding: 10px; color: black">Hex: #7e858e</div>
<div style="background-color: #121212; width: 150px; padding: 10px; color: white">Hex: #121212</div>
<div style="background-color: #475569; width: 150px; padding: 10px; color: white">Hex: #475569</div>
<div style="background-color: #ff0b37; width: 150px; padding: 10px; color: white">Hex: #ff0b37</div>
<br/>
</details>
<details>
<summary>Font-families</summary>
- Roboto
</details>
> ### _Things to Keep in Mind_
>
> - All components you implement should go in the `src/components` directory.
> - Don't change the component folder names as those are the files being imported into the tests.
> - **Do not remove the pre-filled code**
> - Want to quickly review some of the concepts you’ve been learning? Take a look at the Cheat Sheets.
| Constructed an all-in-one job searching platform, Jobby App. ● Built pages for Login, Home, Jobs, and Job item details with React components, form inputs, and event handlers. ● Ensured secure authentication with JWT tokens and REST API calls. ● Persisted login state with local storage and protected routes with React Router. | authentication,authorization,bootstrap,css,javascript,jwt-token,localstorage,reactjs,rest-api,routing | 2023-09-12T12:49:57Z | 2023-09-12T12:50:55Z | null | 1 | 0 | 1 | 0 | 0 | 2 | null | null | JavaScript |
rado-kolev/the-password-generator-app | main | # The Password Generator App
## [Live Site](https://the-password-generator-app.netlify.app)
<br/>
## Description
A random password generator, that generates passwords with a length between 8 and 64 characters, which can be a combination of uppercase and lowercase letters, numbers and/or symbols.
<br/>
## Screenshots

<br/>
## 🛠️ Built with:




<br/>
## 💾 Installation
- Clone the repository: `git clone https://github.com/rado-kolev/password-generator-app.git`.
- If using VS Code, open the `index.html` file and open the website with 'Live Server' or if using a different code editor, open the website with the available localhost.
<br/>
## Usage
1. Choose the password length and the type of characters to be included.
2. Click the 'Generate Password' button.
3. Click the 'Copy' button.
- If needed clear and/or generate as many times as wished until a desired password is generated.
| A random password generator app | css3,html5,javascript,font-awesome | 2023-09-22T21:31:16Z | 2023-10-05T10:09:25Z | null | 1 | 0 | 17 | 0 | 0 | 2 | null | null | JavaScript |
dindarosalin/recipe-list | master | # recipe-list
| Aplikasi Web dengan ES6, Custom Element, NPM, Module Bundler, dan AJAX. Aplikasi ini bernama Recipes Finder yang fungsinya adalah menemukan resep dan panduan memasak dari free API themealdb | ajax,api,javascript,json,rest-api,web,webpack,website | 2023-09-20T15:58:08Z | 2023-10-01T05:24:24Z | null | 1 | 0 | 7 | 0 | 0 | 2 | null | null | JavaScript |
sofiane-abou-abderrahim/javascript-objects-favorite-movie-demo | main | null | In this JavaScript demo app, I have used very important concepts related to objects, like shorthand method syntax, different behaviors of objects, behaviors of "this" keyword, arrow functions, this, bind(), call(), apply(), object destructuring, object spread operator, property and method relationships, and much more... | apply,arrow-functions,bind,call,chaining,filter,for-in-loop,getters,javascript,methods | 2023-09-22T15:01:15Z | 2023-09-23T19:11:02Z | null | 1 | 0 | 21 | 0 | 0 | 2 | null | null | JavaScript |
nathanielseth/income-tax-ph-calculator | main | # NETI-CENTS
Philippine Salary Income Tax Calculator
## About The Project
There are quite a few PH tax calculators online, however, I found out that some of their calculations were inconsistent and had a lot of errors. This drove me to develop an up-to-date tax calculator of my own.
Built with
- JavaScript
- HTML/CSS
- Bootstrap 5 (a little bit)
## Getting Started
Start calculating now by visiting https://nathanielseth.github.io/income-tax-ph-calculator
## Formulas
### Tax Bracket
```javascript
const computeWithholdingTax = (taxableAnnualIncome) => {
let taxAmount = 0;
switch (true) {
case taxableAnnualIncome <= 250000:
taxAmount = 0;
break;
case taxableAnnualIncome <= 400000:
taxAmount = (taxableAnnualIncome - 250000) * 0.15;
break;
case taxableAnnualIncome <= 800000:
taxAmount = 22500 + (taxableAnnualIncome - 400000) * 0.2;
break;
case taxableAnnualIncome <= 2000000:
taxAmount = 102500 + (taxableAnnualIncome - 800000) * 0.25;
break;
case taxableAnnualIncome <= 8000000:
taxAmount = 402500 + (taxableAnnualIncome - 2000000) * 0.3;
break;
default:
taxAmount = 2202500 + (taxableAnnualIncome - 8000000) * 0.35;
}
return taxAmount / 12;
};
```
### Contributions
```javascript
const bracket = (lower, upper) => (income) =>
(isNaN(lower) || income >= lower) && (isNaN(upper) || income <= upper);
const bracketPhilHealth = [
[NaN, 10000, () => 500],
[10000.01, 99999.99, (mon) => mon * 0.05],
[100000, NaN, () => 5000],
];
const computePhilHealth = (monthly) => {
return (
bracketPhilHealth
.filter((phBracket) => bracket(phBracket[0], phBracket[1])(monthly))
.reduce(
(contribution, phBracket) => (contribution += phBracket[2](monthly)),
0
) * 0.5
);
};
const bracketSSS = (lower, upper) => (income) =>
(isNaN(lower) || income >= lower) && (isNaN(upper) || income < upper);
const computeSSS = (salary) => {
const matrix = [
[1000, 3250, 135, 0],[3250, 3750, 157.5, 0],
[3750, 4250, 180, 0],[4250, 4750, 202.5, 0],
[4750, 5250, 225, 0],[5250, 5750, 247.5, 0],
[5750, 6250, 270, 0],[6250, 6750, 292.5, 0],
[6750, 7250, 315, 0],[7250, 7750, 337.5, 0],
[7750, 8250, 360, 0],[8250, 8750, 382.5, 0],
[8750, 9250, 405, 0],[9250, 9750, 427.5, 0],
[9750, 10250, 450, 0],[10250, 10750, 472.5, 0],
[10750, 11250, 495, 0],[11250, 11750, 517.5, 0],
[11750, 12250, 540, 0],[12250, 12750, 562.5, 0],
[12750, 13250, 585, 0],[13250, 13750, 607.5, 0],
[13750, 14250, 630, 0],[14250, 14750, 652.5, 0],
[14750, 15250, 675, 0],[15250, 15750, 697.5, 0],
[15750, 16250, 720, 0],[16250, 16750, 742.5, 0],
[16750, 17250, 765, 0],[17250, 17750, 787.5, 0],
[17750, 18250, 810, 0],[18250, 18750, 832.5, 0],
[18750, 19250, 855, 0],[19250, 19750, 877.5, 0],
[19750, 20250, 900, 0],[20250, 20750, 900, 22.5],
[20750, 21250, 900, 45],[21250, 21750, 900, 67.5],
[21750, 22250, 990, 90],[22250, 22750, 900, 112.5],
[22750, 23250, 900, 135],[23250, 23750, 900, 157.5],
[23750, 24250, 900, 180],[24250, 24750, 900, 202.5],
[24750, NaN, 900, 225],
];
let sss = 0;
let mpf = 0;
for (const bracket of matrix) {
if (bracketSSS(bracket[0], bracket[1])(salary)) {
sss += bracket[2];
mpf += bracket[3];
}
}
return { sss, mpf };
};
```
## License
[MIT](https://choosealicense.com/licenses/mit/)
| An income tax calculator website. | bootstrap5,css,html,javascript | 2023-09-14T03:30:38Z | 2024-02-06T11:44:03Z | null | 1 | 0 | 44 | 0 | 0 | 2 | null | MIT | JavaScript |
MikixIT/snake-game-javascript | main | # snake-game-javascript
<br>
created with javascript and html canvas.
<br>
Desktop Keys: W -> UP, A -> LEFT, D -> RIGHT, S -> DOWN
Mobile: *Working on touchscreen commands*
# the fantastic snake, immortal game.

## TRY IT! -> [PLAY NOW](https://mikixit.github.io/snake-game-javascript/)
| the fantastic snake, immortal game created with javascript and html canvas. | canvas,css,game,game-development,html,html-canvas,javascript,js,js-vanilla,snake-game | 2023-10-03T13:27:20Z | 2024-02-20T21:28:27Z | null | 1 | 0 | 29 | 0 | 0 | 2 | null | null | JavaScript |
Myrrhe/aston-project-3 | develop | # aston-project-3
Le troisième projet de la promo CDNT21.
> Vous pouvez consulter le Wiki du projet [ici][1].
[1]: <https://github.com/Myrrhe/aston-project-3/wiki>
## Installation
### 1. Python3
Lancez la commande `python3 --version` OU `python --version` (la commande pour invoquer Python est en général **python3** sous Linux et **python** ou **py** sous Windows) pour vérifier si Python3 est installé. S'il n'est pas installé, téléchargez le [ici][2] pour pouvoir l'installer.
[2]: https://www.python.org/downloads/
### 2. pip
[pip][3] est le gestionnaire de package pour Python. Il sert donc à installer et mettre à jour toutes les bibliothèque pouvant être utilises par Python dans ce projet.
[3]: https://pypi.org/project/pip/
Dans un terminal, exécutez la commande :
`python -m ensurepip --upgrade`
### 3. venv
[venv][4] est un outil permettant de créer un environnement Python isolé.
[4]: https://docs.python.org/3/library/venv.html
L'idée est d'avoir un espace 'stérile', avec ses propres installations, bibliothèques et dépendances qui n'iront pas gêner les autres environnements virtuels (par exemple si 2 applications ont besoins d'avoir des versions différentes de la même bibliothèque).
- À la racine du projet, dans une console *PowerShell*, lancez :
`python -m venv venv`
Ici, *venv* est le nom de l'environnement virtuel créé.
- Lancez l'environnement virtual avec :
`.\venv\Scripts\Activate.ps1`
Le terminal devrait à présent avoir sa ligne d'entrée préfixée par **(venv)**
- Vérifiez la version de Python avec : `python3 --version`
- Vérifiez la création de pip avec : `pip list`
Il y a un fichier 'requirements.txt' dans le projet. Ce fichier contient toute les dépendances nécessaires au fonctionnement du projet.
- Pour installer ces dépendances, lancez :
`pip install -r requirements.txt`
### 4. Lancement du projet
Pour lancer le projet, exécutez simplement :
`python manage.py runserver`
| The third project for the CDNT21 | learning,bot,django,website,python3,bootstrap5,css3,html5,jquery,css | 2023-09-25T12:22:23Z | 2024-02-19T09:13:09Z | null | 1 | 56 | 190 | 3 | 0 | 2 | null | CC0-1.0 | Python |
DarkTwentyFive/GrooveFM | main | # GrooveFM 🎵
GrooveFM is a simple online radio station created with Node.js and the Express web framework. Tune in to enjoy seamless music playback, synchronized across all connected clients.

## Table of Contents
- [Features](#features)
- [Technology Stack](#technology-stack)
- [Setup](#setup)
- [License](#license)
## Features
- 🎧 **Seamless Playback**: The audio playback is designed to be smooth and continuous.
- ⏲️ **Synchronized Timestamp**: All clients hear the same audio part at any given time.
- 🔄 **Auto-replay**: The stream automatically starts over after reaching the end.
- 💾 **Persistent State**: The server retains its state across restarts.
## Technology Stack
- [Node.js](https://nodejs.org/)
- [Express](https://expressjs.com/)
- [HTML5](https://developer.mozilla.org/en-US/docs/Web/Guide/HTML/HTML5)
- [Vanilla JS](http://vanilla-js.com/)
## Setup
Follow these steps to get GrooveFM up and running on your local machine:
1. **Clone the Repository**
```bash
git clone https://github.com/DarkTwentyFive/GrooveFM.git
```
2. **Navigate to the Directory**
```bash
cd GrooveFM
```
3. **Install Dependencies**
```bash
npm install
```
4. **Initialize Timestamp File**
If you want to initialize the timestamp, create a file named `timestamp.txt` in the root directory with the initial value (`0` for instance).
```bash
echo "0" > timestamp.txt
```
5. **Upload Audio**: Upload your audio file to the root directory of the project and name it `music.mp3`.
6. **Set Audio Duration**: Open `index.js` and locate the following line:
```javascript
const audioDuration = 0; // audio file duration
```
Replace `0` with the actual duration of your audio file in seconds.
5. **Run the Server**
```bash
npm run start
```
6. Open your browser and navigate to `http://localhost:3000` to start listening!
## License
GrooveFM is open-source and is under the MIT License. See the [LICENSE](LICENSE) for more information.
---
Happy Listening with GrooveFM 🎶
| GrooveFM is a simple online radio station powered by Node.js and Express. | express,javascript,node-js,node-js-express,nodejs,online-radio,radio,radio-station | 2023-09-23T03:23:47Z | 2023-12-14T02:13:31Z | null | 1 | 0 | 12 | 0 | 0 | 2 | null | MIT | HTML |
ashrayachu/cosmos | master | # cosmos
Cosmos is a website used for camping purpose. It is used to find campgrounds near you and also add your own campground.
<h2>Apps to be installed</h2>
<ul><li>mongo</li>
<li>nodeJs</li>
<li>NPM</li><ul>
<h1>use node app.js to run the application</h1>




| Cosmos is a website used for camping purpose. It is used to find campgrounds near you and also add your own campground | css,html,javascript,mongodb,nodejs | 2023-09-14T14:06:55Z | 2023-12-30T09:01:15Z | null | 1 | 0 | 10 | 0 | 0 | 2 | null | null | JavaScript |
thstanton/tetris-project | main |
# Project 1: Tetris ReadMe
## Description
The project is my take on Tetris. It was built as my first major project on the General Assembly Software Engineering Immersive course. The game is built entirely on JavaScript.
## Deployment link
[https://thstanton.github.io/tetris-project/](https://thstanton.github.io/tetris-project/)
## Getting Started/Code Installation
The code is accessible through my Github repo, here: [https://github.com/thstanton/tetris-project](https://github.com/thstanton/tetris-project)
## Timeframe & Working Team
This project was completed solo, in 1 week.
## Technologies Used
* JavaScript
* CSS
* HTML
* GIT
* Github
* Photoshop (to create the sprites)
* Google Fonts
* FontAwesome
## Brief
**Overview:**
Let's start out with something fun - a game! You will be working individually for this project, but we'll be guiding you along the process and helping as you go. Show us what you've got!
**Technical Requirements:**
Your app must:
* Render a game in the browser
* Be built on a grid: do not use HTML Canvas for this
* Design logic for winning & visually display which player won
* Include separate HTML / CSS / JavaScript files
* Stick with KISS (Keep It Simple Stupid) and DRY (Don't Repeat Yourself) principles
* Use Javascript for DOM manipulation
* Deploy your game online, where the rest of the world can access it (we will do this together at the end of the project)
* Use semantic markup for HTML and CSS (adhere to best practices)
**Necessary Deliverables**
* A working game, built by you, hosted somewhere on the internet
* A link to your hosted working game in the URL section of your Github repo
* A git repository hosted on Github, with a link to your hosted game, and frequent commits dating back to the very beginning of the project
* A readme.md file with explanations of the technologies used, the approach taken, installation instructions, unsolved problems, etc. (completed post project)
## Planning
**Planning Overview**
- Draw game board
- Initial state - game board with message "Press Space to Start"
- Active piece randomly chosen (spawn rotation random?), next random piece show in 'next piece' box
- Active piece moves towards bottom
- Collision detection
- if any bottom edge touches top edge of a locked piece, it locks.
- if any part of a tetromino would go outside of one of the sides when rotated it translates inward?
- if a tetromino is trapped between locked pieces and/or the side it cannot rotate
- if any part of a tetromino would extend above the top row, the game ends
- Player controls active piece using the keyboard controls
- Each tetromino can be translated and rotated clockwise into 4 different positions (behaviour of O piece slightly different)
- When a piece 'locks' it remains visible at the bottom and those squares are no longer usable for placing or rotating an active piece
- If a row or rows are 'complete', they flash, disappear and all other 'locked' pieces translate down.
- When rows are completed, the score increases
- The level (and speed) increases when player hits a certain score. Background graphics/colours change? Music playback speed increases.
- When game is over, game reverts to initial state (with addition of score, top score updated if beaten)
**Wireframes**



## Build/Code Process
**Layout**
I began the project by using HTML and CSS to create the basic page layout. I wanted the page to be responsive to different browser windows, so I used a combination of flexboxes and specifying sizes in vmin to achieve this. By far the most challenging part of this was creating the large vertical TETRIS title, which I wanted to place alongside the game board and have it maintain the height of the board in different sizes. I had to try various implementations of transforming the text, using the writing mode: vertical-lr property, line-height, flexbox properties and font-sizes to achieve the desired effect.
**Creating and translating the tetrominoes**
```js
class Tpiece {
constructor() {
this.relativePosArr = [24, 23, 25, 34]
this.actualPosArr = []
this.cssClass = 't'
this.rotationIdx = 0
this.rotationOffsets = [
[0, 1, width, -1],
[0, width, -1, -width],
[0, -1, -width, 1],
[0, -width, 1, width]
]
this.nextPieceGrid = npg3x3Cells
this.nextPiecePos = [0, 1, 2, 4]
}
}
```
I used JavaScript classes to create the tetrominoes, enabling me to store the information relative to each shape. Each shape consists of an array of 4 indices, which represent the starting position of each shape. The first index is the central point of the shape, which I have referred to as the anchor position throughout the code. The other 3 indices are the squares in order clockwise from the anchor position.
To implement rotation of the pieces, I created a nested array of 4 sets of offsets - which are added to or subtracted from to the piece’s current coordinates to make the shape appear to have rotated 90 degrees clockwise. There is a rotation index property, which specifies which rotation the shape is currently in.
The indices that are stored in the object are used to locate the indices of the relevant DOM nodes, and the render function adds the relevant class to those nodes - adding the corresponding background styling to those squares on the grid. These nodes are stored in the ‘actualPosArr’ property.
The ‘translate’ function takes a new anchor position and uses the offsets of the current rotation to map the positions of the other squares. The ‘rotate’ function takes a direction (clockwise or anticlockwise) and adjusts the rotation index of the active piece accordingly.
I initially created a set of basic controls to enable me to test the movement of the squares - this became more sophisticated later on in the process when I added the testing functions which tested whether moves are possible.
**Edge Detection**
With the movement of the pieces implemented, the next phase of the project was ensuring that the pieces could not move outside of the grid or into any squares which were occupied by ‘locked’ pieces. This was perhaps the most challenging part of the project (details below).
I created a pair of testing functions - one for translation and one for rotation - which take the potential position the player is trying to move a piece to and check that the position of every piece is possible within the rules of the game.
```js
function testTranslation(direction, anchorPos, rotationIdx) {
// Get new potential position
let potentialPosition = activePiece.rotationOffsets[rotationIdx].map((offset) => anchorPos + offset)
// Check none of the positions exceed the cell count
if (potentialPosition.some((pos) => pos > cellCount - 1)) return true
// Get an array of the potential cells
let potentialCells = potentialPosition.map((pos) => cells[pos])
// Check that none of them are locked
for (cell of potentialCells) {
if (cell.classList.contains('locked')) return cell
}
// Check left bounds
if (direction === 'left') {
let modulusArray = potentialPosition.map((relativePos) => relativePos % width)
console.log(modulusArray);
return modulusArray.includes(9)
}
// Check right bounds
if (direction === 'right') {
let modulusArray = potentialPosition.map((relativePos) => relativePos % width)
return modulusArray.includes(0)
}
if (direction === 'down') {
return potentialPosition.some((pos) => pos > cellCount - 1)
}
}
```
The left and right tests use the modulus of the width to work out the indices’ position in the row and check that the potential positions do not exceed the bounds of the row. The downward test checks that none of the cells’ indices would be greater than the index of the last cell. The test function also checks that none of the cells are occupied - ie. have a class of ‘locked’.
```js
function testRotation(anchorPos, rotationIdx) {
let potentialPosition = activePiece.rotationOffsets[rotationIdx].map((offset) => anchorPos + offset)
if (activePiece.relativePosArr[0] % 10 < 6) {
return testTranslation('left', potentialPosition[0], rotationIdx)
}
if (activePiece.relativePosArr[0] % 10 > 5) {
return testTranslation('right', potentialPosition[0], rotationIdx)
}
}
```
The rotation test sets the potential position with the new rotation and runs the left or right translation test based on whether the piece is towards the left or the right side of the board.
**Locking Pieces**
Once the pieces consistently stayed within bounds, I was then able to use setInterval to make the active pieces ‘fall’. I created separate movement functions for each type of movement (left, right, down, rotate clockwise and rotate anticlockwise) which call the test function and move the piece as long as the test passes. The moveDown function also calls a lockPiece function if the test fails.
```js
function lockPiece() {
for (cell of activePiece.actualPosArr) {
cell.classList.add('locked')
renderPiece()
cell.classList.remove('active')
}
if (gameOverCheck()) {
gameOver()
return
}
lockSound.currentTime = 0
lockSound.play()
let completedRowsNum = completedLineCheck().length
let completeRows = completedLineCheck()
if (completedRowsNum > 0) {
increaseScore(completedRowsNum)
removeComplete(completeRows)
}
activePiece = nextPiece
nextPiece = addPiece(randomClass())
renderNextPiece()
}
```
The lockPiece function is critical to the gameplay, and performs several important roles:
1. It adds a class of ‘locked’ to each square in the active piece
2. It calls renderPiece to render the piece in its final position
3. It removes the ‘active’ class from the piece
4. It calls a check whether the game is over and calls the game over function if necessary
5. It invokes the function which checks for completed lines and, if necessary, the function to remove them
6. It creates a new active piece
**Completed Lines**
With the moving, rotating, falling and locking, the next process to develop was the test for completed lines and the function to remove them. This was also a significant challenge - details below.
```js
function completedLineCheck() {
// Get rows to check
let rowPositions = activePiece.relativePosArr.map((relativePos) => relativePos % 10)
let rows = activePiece.relativePosArr.map((relativePos, idx) => relativePos - rowPositions[idx])
// Remove duplicates
let uniqueRows = [...new Set(rows)]
// Check whether each cell in each row is locked
let completeRows = []
for (num of uniqueRows) {
let lockedCount = 0
for (let i = 0; i < width; i++) {
if (cells[num + i].classList.contains('locked')) lockedCount++
}
if (lockedCount === 10) completeRows.push(num)
}
// Put them in numerical order
completeRows.sort((a, b) => a - b);
return completeRows
}
```
The function to check for completed lines creates an array of the final positions of the active piece and uses the modulus of the width to calculate the first cell of each row occupied, removes duplicates and checks whether every cell in the row contains a class of ‘locked’. It then returns an array of completed rows in numerical order.
```js
function removeComplete(rows) {
for (rowNum of rows) {
// Remove piece and locked classes from row
for (let i = 0; i < width; i++) {
cells[rowNum + i].className = ''
}
// Find rows with locked cells above the row
let currentRow = rowNum - width
let lockedRows = []
while (currentRow >= 0) {
for (let i = 0; i < width; i++) {
if (cells[currentRow + i].classList.contains('locked')) {
lockedRows.push(currentRow)
break
}
}
currentRow -= width
}
// Remove locked and piece classes from each cell in the row, and add them to the cell below
for (rowNum of lockedRows) {
for (let i = 0; i < width; i++) {
let classList = [...cells[rowNum + i].classList]
// Remove classes from current element
cells[rowNum + i].className = ''
// Remove classes from target element
cells[rowNum + i + width].className = ''
// Add classes to target element
classList.forEach((element) => cells[rowNum + i + width].classList.add(element))
}
}
}
}
```
The removeComplete rows function then takes this array and, for each row, removes all classes (rendering the cells ‘empty’). It then, using a combination of a while loop and a for loop, checks each row above for ‘locked’ cells, storing each row that contains locked cells in another array. Finally, for each row in the array, it stores all classes for each cell in a variable, removes all classes from the cell and the cell below it in the grid, then adds the classes stored in the variable to the cell below.
**Game States**
With each of these functions complete, the core gameplay loop was complete (albeit with some bugs). I then needed to create the game states to enable the game to start and end. I created functions for starting the game and ending the game. I also created a game state variable - which enabled me to adjust the function of the controls depending on whether the game was active or not (eg. using the spacebar to ‘start’ the game).
When implementing the game over function, I realised my current game board posed a problem - as the pieces were ‘spawning’ in the top two rows of the board. This meant that a game over needed to be triggered 2 rows below the top, which did not feel quite right. Instead, I created an additional 4 hidden rows ‘above’ the top rows on the board. This enabled me to create new pieces ‘above’ the board to fall ‘into’ it. This meant that the top 2 rows could be used for play, pieces that locked ‘outside’ the grid could trigger game over and the pieces now appeared much more naturally.
**Scoring and Levelling Up**
I then implemented the scoring and levelling up functions, which allocated points for completed rows and checked for certain score thresholds, which would trigger the level (and falling speed) to increase - updating the scoreboard accordingly.
**Hard Drop and Ghost Piece**
Although pressing the down arrow key would cause the piece to fall faster than the fall speed, I did not yet have a ‘hard drop’ function - which would immediately drop the piece into place. I also wanted to have a ‘ghost piece’ which shows where the piece would land if dropped. I quickly realised that these could use the same code - as both would need to calculate the piece’s lowest possible position. I tried several ways to do this, before realising that my already existing test function could serve this purpose quite neatly. I created a function that uses a while loop to test each row below the piece until it finds an illegal move, and returns the lowest ‘legal’ position of the piece. The hard drop function moves the piece to this position instantly. A render ghost function continuously adds a ‘ghost’ class to this position, which has an opacity of 20%.
**Next piece grid**
I envisioned the next piece grid as a second grid that would use the same information as the piece classes to display a smaller version of the piece, however, I realised that with the pieces being different lengths it would not be possible to centre them all on the same grid. To mitigate this, I created 3 grids with dimensions to suit the pieces that were 2, 3 and 4 cells long respectively. These grids are hidden until revealed by the renderNextPiece function. As the squares are sized as proportions of the overall width, I also included some conditionals that resize the grid according to which of the 3 grids is being displayed so that the pieces appear the same size.
**Player messages**
I then switched my attention to the ‘messaging area’ to the bottom right of the board. I planned to use this area to render messages relevant to the game state and alerts to game events, such as scoring points, levelling up and achieving a new high score.
To implement this, I created a showMessage function, which adds children to the messaging area div. I realised that there were two different types of message to render:
1. Messages which related to the game state (eg. ‘Paused’) needed to be persistent, and only needed to be displayed one at a time.
2. Alerts to in-game events needed to be displayed for a short time, and more than one may need to be displayed at once (for example if a completed line led to a level up).
```js
// ? Show message - persistent(stays on screen until removed) or alert(stays on screen for set period)
function showMessage(text, type) {
// Remove current persistent message if there is one
let currentMessage = messagingEl.querySelector('.persistent')
if (currentMessage) messagingEl.removeChild(currentMessage)
// Create message
const message = document.createElement('div')
message.innerHTML = text
message.classList.add(type, 'message')
// Styling for specific messages
if (text === "SINGLE") message.classList.add('single')
if (text === "DOUBLE") message.classList.add('double')
if (text === "TRIPLE") message.classList.add('triple')
if (text === "TETRIS!") message.classList.add('tetris')
// Add message to messaging area
messagingEl.appendChild(message)
// If message is an alert, set time out
if (type === 'alert') setTimeout(() => messagingEl.removeChild(message), 3000)
}
```
The showMessage function takes 2 parameters, the first is the HTML of the message text and the second states whether the message is ‘persistent’ or an ‘alert’. The function first clears any persistent messages, then appends the new message - with a timeout of 3 seconds if the message is an ‘alert’. I subsequently added some controls to add classes for specific messages so that they could be styled differently.
**Polishing the user experience**
With the game mostly complete, I added a series of tweaks to improve the look and feel, specifically:
* Replacing the background colours with background images, giving the blocks a 3D look
* Adding sound effects to game events
* Changing all the cells to grey blocks at game over
* Adding keyframe animations to the messages
* Adding a coloured gradient to the bottom of the background, which changes colour when the player levels up
* Creating an overlaid menu which explains the controls and enables the user to toggle audio
**‘Wall kicks’**
The final feature I added to the game was what the official Tetris guideline refers to as ‘wall kicks’. These are a series of alternate positions that a piece can move to when attempting to rotate in a tight space. I implemented this as a series of additional tests that run if a rotation test fails. Essentially, if a piece cannot rotate in its current position, tests will also run on one space to the right or left, one space up and right and one space down and left. These tests do not apply to the square ‘O’ pieces, and slightly different tests apply to the long ‘I’ piece.
## Challenges
**Piece Placement and Rotation**
The conception of the pieces as classes and implementation of the rotation were very challenging at the beginning of the project. I had a clear idea from the outset of the idea of using an anchor cell, and I initially specified this cell in the class using offsets to specify the indices of the other cells. However, as soon as the object was created, these offsets ceased to be dynamic. I also initially envisioned the translate and rotate functions to be methods of the classes, as I thought that they would need to hold the information relevant to each piece’s movement. To help me to arrive at the final solution, I initially hard coded the T-piece’s 4 positions and observed how they changed as they moved around the grid. This helped me to realise that the piece’s ‘home’ rotation was no more significant than any of its other rotations and that the cells’ offset to the anchor point were the most useful way to maintain the correct formation of the piece as it translated and rotated. I also realised that I did not need to hold the anchor point as a separate variable, as if I kept it at the same index for every shape I could always access it through that shape’s relative position array - and that mapping that array to the DOM nodes with the same index would always enable me to access the correct cell in the grid.
**Complete Line Deletion and Movement Downwards**
My biggest challenge during this project was a bug I encountered with the line detection and removal functions. When testing the game, although most lines were being removed correctly, in certain cases some lines would not delete. This only happened when multiple lines were completed, and with only certain shapes in certain rotations. It took a long time to ascertain the exact circumstances which reproduced the bug and to work out the cause. I used the console to check the values of relevant variables at the times that the bug presented and had to temporarily remove the ‘falling’ function and random piece selection functions so that I could more easily select and move the pieces to check the function’s behaviour in different circumstances.
I eventually arrived at the solution while I was away from the computer, working through the requirements for the algorithm to be successful in my head. I realised that the logic of the function was sound, but relied on the lines being processed from top to bottom. Because my formulation for the pieces started in the central anchor position then clockwise from that point, the rows were being added to the array in the same order. This meant that in certain cases, the lines were not being processed top to bottom. A single line of code which sorted the completed lines array into numerical order fixed this bug - meaning that the line deletion and movement of the other locked cells into the empty space now worked consistently correctly.
## Wins
**Messaging**
I am very pleased with the implementation of the messaging as it feels quite dynamic and fluid while playing. The formulation of the function made this very easy to plug into different trigger points in the gameplay, and the fact that it is able to handle multiple messages that can be triggered quite close to each other or at the same time was something I was not sure how to achieve at the outset. The animation of the messages adds to the look and feel of the game, adding a bit of polish to the interface, with the more fluid motion providing a counterpoint to the blockier movement of the game.
## Key Learnings/Takeaways
**Arrays**
Throughout this project I have become very confident with using and manipulating arrays and have gained a greater understanding of the wide variety of uses that they can have. To begin with, it was very difficult to conceive of a piece as an array of indices, within another array - and especially how to use mathematical operations to determine legal moves. Using combinations of for, for…of and while loops, as well as iterative methods such as .map and .filter have been at the heart of the core functionality of this game and it has been very satisfying to see how powerful they are in terms of performing the functions necessary to make the game work.
**Planning Functions**
I have learnt to break down functions into key components, using comments to help me to keep track of what I am doing and what I need the return of the function to be. The best examples of this process were the completeLine and removeComplete functions, which are probably the most complex functions in the game. Thinking through what needed to happen, and in which order, enabled me to work through each step and find the most effective ways to achieve them. This structured process also helped me to find the solution to the line deleting bug - when I realised that a crucial step was missing in order for the functions to work properly.
**Overall Structure**
Having not created a project this complex before, I learnt a lot about how to structure a project - grouping key types of statements together such as DOM elements, variables, functions and events. I also found it very useful thinking about testing functions, game state functions and rendering functions separately as they enabled me to think more clearly about the purposes of specific functions and test that they were working as intended.
## Bugs
The levelling up and game over functions are not completely working as intended. Sometimes at Game Over the interval is not cleared and pieces continue to fall. The speed of the pieces falling is not reset at game over, and is not increasing during the game. I think that this is due to the timing of the interval being cleared.
**Future Improvements**
* Refine the wall kick system to be more specific to the rotation of the piece and more predictable in tight spaces
* Add a ‘lock timer’ that enables the player to keep moving the piece to prevent it from locking - making play at faster speeds possible
* Refine the difficulty curve - how quickly the speed increases and by which increments
* More animation, including an animation for removing lines - I began implementing this on the final day of the project, but it caused a bug where the ghost piece cells would remain in their original position.
* Add more options - such as turning the ghost piece on or off, setting the difficulty level
| Tetris clone, built with vanilla JavaScript, CSS & HTML. Features use of JavaScript classes, touch controls implementation in progress. | game,html-css-javascript,javascript | 2023-09-18T08:34:42Z | 2024-04-30T20:40:08Z | null | 2 | 1 | 36 | 0 | 1 | 2 | null | null | JavaScript |
coderpawan/MultiTranslator | main | - This is my Project for Enhancing My English Learning Skill
- Below is the Demo of My Project
[Watch The Demo](https://drive.google.com/file/d/1qFHhvq8s83Jn3TEF1ZRRwGOYu7Px9e64/view?usp=sharing)
<img width="700" src="https://github.com/coderpawan/MultiTranslator/blob/main/public/images/translate.jpg"/>
| This is my Multi Language Translator App designed to ease the learning of various languages | ejs,g-translator,javascript,nlp,nodejs,realtime-translator,text-to-speech,translation | 2023-09-27T05:51:05Z | 2023-11-10T20:02:39Z | null | 1 | 0 | 17 | 0 | 0 | 2 | null | null | JavaScript |
HelloMoto069/NestawayAssignment_Anuruddh | main | # Getting Started with Create React App
This project was bootstrapped with [Create React App](https://github.com/facebook/create-react-app).
## Available Scripts
In the project directory, you can run:
### `npm start`
Runs the app in the development mode.\
Open [http://localhost:3000](http://localhost:3000) to view it in your browser.
The page will reload when you make changes.\
You may also see any lint errors in the console.
### `npm test`
Launches the test runner in the interactive watch mode.\
See the section about [running tests](https://facebook.github.io/create-react-app/docs/running-tests) for more information.
### `npm run build`
Builds the app for production to the `build` folder.\
It correctly bundles React in production mode and optimizes the build for the best performance.
The build is minified and the filenames include the hashes.\
Your app is ready to be deployed!
See the section about [deployment](https://facebook.github.io/create-react-app/docs/deployment) for more information.
### `npm run eject`
**Note: this is a one-way operation. Once you `eject`, you can't go back!**
If you aren't satisfied with the build tool and configuration choices, you can `eject` at any time. This command will remove the single build dependency from your project.
Instead, it will copy all the configuration files and the transitive dependencies (webpack, Babel, ESLint, etc) right into your project so you have full control over them. All of the commands except `eject` will still work, but they will point to the copied scripts so you can tweak them. At this point you're on your own.
You don't have to ever use `eject`. The curated feature set is suitable for small and middle deployments, and you shouldn't feel obligated to use this feature. However we understand that this tool wouldn't be useful if you couldn't customize it when you are ready for it.
## Learn More
You can learn more in the [Create React App documentation](https://facebook.github.io/create-react-app/docs/getting-started).
To learn React, check out the [React documentation](https://reactjs.org/).
### Code Splitting
This section has moved here: [https://facebook.github.io/create-react-app/docs/code-splitting](https://facebook.github.io/create-react-app/docs/code-splitting)
### Analyzing the Bundle Size
This section has moved here: [https://facebook.github.io/create-react-app/docs/analyzing-the-bundle-size](https://facebook.github.io/create-react-app/docs/analyzing-the-bundle-size)
### Making a Progressive Web App
This section has moved here: [https://facebook.github.io/create-react-app/docs/making-a-progressive-web-app](https://facebook.github.io/create-react-app/docs/making-a-progressive-web-app)
### Advanced Configuration
This section has moved here: [https://facebook.github.io/create-react-app/docs/advanced-configuration](https://facebook.github.io/create-react-app/docs/advanced-configuration)
### Deployment
This section has moved here: [https://facebook.github.io/create-react-app/docs/deployment](https://facebook.github.io/create-react-app/docs/deployment)
### `npm run build` fails to minify
This section has moved here: [https://facebook.github.io/create-react-app/docs/troubleshooting#npm-run-build-fails-to-minify](https://facebook.github.io/create-react-app/docs/troubleshooting#npm-run-build-fails-to-minify)
| Nestaway Assignment, a comprehensive Property Selling and Buying website developed using React, JavaScript, HTML, CSS, and powered by axios for seamless data integration. Explore the world of real estate transactions with this dynamic and user-friendly platform, combining modern web technologies to enhance the property market experience. | axios,css,html,javascript,react,reactjs | 2023-09-16T07:13:29Z | 2023-10-10T10:19:20Z | null | 1 | 0 | 4 | 0 | 0 | 2 | null | null | JavaScript |
joe-bor/astro-portfolio | main | ---
---
<h1 align='center'> Joezari Borlongan: Personal Portfolio </h1>
<h3 align='center'> Built with :
<img src="https://skillicons.dev/icons?i=ts" height="45" alt="typescript logo" />
<img src="https://skillicons.dev/icons?i=js" height="45" alt="javascript logo" />
<img src="https://skillicons.dev/icons?i=html" height="45" alt="html5 logo" />
<img src="https://skillicons.dev/icons?i=css" height="45" alt="css3 logo" />
<img src="https://skillicons.dev/icons?i=astro" height="45" alt="astro logo" />
</h3>
[](https://git.io/typing-svg)
---
<!-- Connect-->
<h3 align="left">Connect with me:</h3>
<div align="left">
<a href="mailto:bor.joezari@gmail.com" target="_blank">
<img src="https://img.shields.io/static/v1?message=Gmail&logo=gmail&label=&color=D14836&logoColor=white&labelColor=&style=for-the-badge" height="35" alt="gmail logo" /> </a>
<a href="https://www.linkedin.com/in/joe-bor" target="_blank">
<img src="https://img.shields.io/static/v1?message=LinkedIn&logo=linkedin&label=&color=0077B5&logoColor=white&labelColor=&style=for-the-badge" height="35" alt="linkedin logo" /> </a>
<a href="https://portfolio.joe-bor.me" target="_blank">
<img src="https://img.shields.io/badge/portfolio-800080?style=for-the-badge&logo=About.me&logoColor=white" height="35" alt="portfolio" /> </a>
<!--
<a href="https://join.slack.com/t/joe-bor/shared_invite/zt-201wd3tog-b5vyZWkA97u61gl3POVEIA" target="_blank">
<img src="https://img.shields.io/static/v1?message=Slack&logo=slack&label=&color=4A154B&logoColor=white&labelColor=&style=for-the-badge" height="35" alt="slack logo" /> </a>
<a href="https://discord.gg/JKgMtNTv" target="_blank">
<img src="https://img.shields.io/static/v1?message=Discord&logo=discord&label=&color=7289DA&logoColor=white&labelColor=&style=for-the-badge" height="35" alt="discord logo" /> </a>
-->
</div>
---
<!-- Tech Stack Bar--> <!--ADD: Gulp | Nginx | SCSS | Docker ? -->
<h3>Languages and Tools:</h3>
<div align="left">
<img src="https://skillicons.dev/icons?i=mongodb" height="45" alt="mongodb logo" />
<img width="5" />
<img src="https://skillicons.dev/icons?i=express" height="45" alt="express logo" />
<img width="5" />
<img src="https://skillicons.dev/icons?i=react" height="45" alt="react logo" />
<img width="5" />
<img src="https://skillicons.dev/icons?i=nodejs" height="45" alt="nodejs logo" />
<img width="5" />
<img src="https://skillicons.dev/icons?i=ts" height="45" alt="typescript logo" />
<img width="5" />
<img src="https://skillicons.dev/icons?i=tailwind" height="45" alt="tailwindcss logo" />
<img width="5" />
<img src="https://skillicons.dev/icons?i=bootstrap" height="45" alt="bootstrap logo" />
<img width="5" />
<img src="https://skillicons.dev/icons?i=js" height="45" alt="javascript logo" />
<img width="5" />
<img src="https://skillicons.dev/icons?i=html" height="45" alt="html5 logo" />
<img width="5" />
<img src="https://skillicons.dev/icons?i=css" height="45" alt="css3 logo" />
<img width="5" />
<img src="https://skillicons.dev/icons?i=postman" height="45" alt="postman logo" />
<img width="5" />
<img src="https://skillicons.dev/icons?i=vscode" height="45" alt="vscode logo" />
<img width="5" />
<img src="https://skillicons.dev/icons?i=jest" height="45" alt="jest logo" />
<img width="5" />
<img src="https://skillicons.dev/icons?i=git" height="45" alt="git logo" />
</div>
| A personal portfolio website that contains the projects I've worked on since starting my Software Engineering journey, built with Astro. | astro,css3,html5,javascript,typescript | 2023-09-19T20:21:22Z | 2024-03-26T03:01:54Z | null | 2 | 3 | 47 | 0 | 0 | 2 | null | null | Astro |
Alexandrbig1/goit-react-hw-01-components | main | # goit-react-hw-01
<img align="right" src="https://media.giphy.com/media/du3J3cXyzhj75IOgvA/giphy.gif" width="100"/>
doing homework while studying in bootcamp @GoIT on Fullstack developer course
## Project Specifications:
React module(homework1)
## Languages and Tools:
<div align="center">
<a href="https://en.wikipedia.org/wiki/HTML5" target="_blank"><img style="margin: 10px" src="https://profilinator.rishav.dev/skills-assets/html5-original-wordmark.svg" alt="HTML5" height="50" /></a>
<a href="https://www.w3schools.com/css/" target="_blank"><img style="margin: 10px" src="https://profilinator.rishav.dev/skills-assets/css3-original-wordmark.svg" alt="CSS3" height="50" /></a>
<a href="https://www.javascript.com/" target="_blank"><img style="margin: 10px" src="https://profilinator.rishav.dev/skills-assets/javascript-original.svg" alt="JavaScript" height="50" /></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://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>
</div>
## Connect with me:
<div align="center">
<a href="https://linkedin.com/in/alex-smagin29" target="_blank">
<img src=https://img.shields.io/badge/linkedin-%231E77B5.svg?&style=for-the-badge&logo=linkedin&logoColor=white alt=linkedin style="margin-bottom: 5px;" />
</a>
<a href="https://github.com/alexandrbig1" target="_blank">
<img src=https://img.shields.io/badge/github-%2324292e.svg?&style=for-the-badge&logo=github&logoColor=white alt=github style="margin-bottom: 5px;" />
</a>
<a href="https://stackoverflow.com/users/22484161/alex-smagin" target="_blank">
<img src=https://img.shields.io/badge/stackoverflow-%23F28032.svg?&style=for-the-badge&logo=stackoverflow&logoColor=white alt=stackoverflow style="margin-bottom: 5px;" />
</a>
<a href="https://dribbble.com/Alexandrbig1" target="_blank">
<img src=https://img.shields.io/badge/dribbble-%23E45285.svg?&style=for-the-badge&logo=dribbble&logoColor=white alt=dribbble style="margin-bottom: 5px;" />
</a>
<a href="https://www.behance.net/a1126" target="_blank">
<img src=https://img.shields.io/badge/behance-%23191919.svg?&style=for-the-badge&logo=behance&logoColor=white alt=behance style="margin-bottom: 5px;" />
</a>
</div>
| homework(React module) in bootcamp (GoIT) Fullstack developer | css3,frontend,git,github,html-css-javascript,html5,javascript,js,json-api,jsx | 2023-09-29T17:23:35Z | 2023-09-30T00:34:10Z | null | 1 | 0 | 7 | 0 | 0 | 2 | null | null | JavaScript |
MoyasiGinko/Cost-Management-Capstone | dev | <a name="readme-top"></a>
<div align="center">
<img src="cms-logo.png" alt="logo" width="140" height="auto" />
<br/>
<h2><b>Cost Management - CMS</b></h2>
</div>
# 📗 Table of Contents
- [📖 About the Project](#about-project)
- [🛠 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)
- [Deployment](#deployment)
- [Live Demo](#live-demo)
- [👥 Authors](#authors)
- [🔭 Future Features](#future-features)
- [🤝 Contributing](#contributing)
- [⭐️ Show your support](#support)
- [🙏 Acknowledgements](#acknowledgements)
- [📝 License](#license)
# 📖 Food Recipe <a name="about-project"></a>
**[Cost Management - CMS]** is a Full Stack project. A modern Cost Management web application built with Ruby on Rails. Easily track your expenses, manage categories, and stay on top of your financial goals. Features include user authentication, transaction history, and a responsive design for seamless use on any device.
## 🛠 Built With <a name="built-with"></a>
### Tech Stack <a name="tech-stack"></a>
> The stacks used to build this project are shown below.
<details>
<summary>Frontend</summary>
<ul>
<li><a href="https://developer.mozilla.org/en-US/docs/Web/HTML">HTML</a></li>
<li><a href="https://rubyonrails.org/">ERB (Embedded Ruby)</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>
<li><a href="https://tailwindcss.com/">Tailwind CSS</a></li>
</ul>
</details>
<details>
<summary>Backend</summary>
<ul>
<li><a href="https://rubyonrails.org/">Ruby on Rails</a></li>
</ul>
</details>
<details>
<summary>Database</summary>
<ul>
<li><a href="https://www.postgresql.org/">PostgreSQL</a></li>
</ul>
</details>
<details>
<summary>Authentication</summary>
<ul>
<li><a href="https://github.com/heartcombo/devise">Devise</a></li>
</ul>
</details>
<details>
<summary>Authorization</summary>
<ul>
<li><a href="https://github.com/CanCanCommunity/cancancan">CanCanCan</a></li>
</ul>
</details>
<details>
<summary>Deployment</summary>
<ul>
<li><a href="https://www.heroku.com/">Heroku</a></li>
</ul>
</details>
<details>
<summary>Version Control</summary>
<ul>
<li><a href="https://git-scm.com/">Git</a></li>
<li><a href="https://github.com/">GitHub</a></li>
</ul>
</details>
<details>
<summary>Other Tools</summary>
<ul>
<li><a href="https://code.visualstudio.com/">Visual Studio Code</a></li>
<li>Command Line</li>
<li><a href="https://bundler.io/">Bundler (Ruby gem management)</a></li>
<li><a href="https://classic.yarnpkg.com/en/">Yarn/NPM (JavaScript package management)</a></li>
</ul>
</details>
<details>
<summary>Server</summary>
<ul>
<li><a href="https://expressjs.com/">Express.js</a></li>
</ul>
</details>
<details>
<summary>Database</summary>
<ul>
<li><a href="https://www.postgresql.org/">PostgreSQL</a></li>
</ul>
</details>
### Key Features <a name="key-features"></a>
- **Financial Management**
- **Categories List**
- **Transactions List**
- **User Authentication**
<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:
Example command:
```sh
gem install rails
```
### Setup
Clone this repository to your desired folder:
Example commands:
```sh
cd my-folder
git clone https://github.com/MoyasiGinko/Cost-Management-Capstone.git
```
### Install
Install this project with:
Example command:
```sh
cd my-project
gem install bundler
bundle install
npm install
```
### Usage
To run the project, execute the following command:
Example command:
```sh
rails server
```
### Run tests
To run tests, run the following command:
Example command:
```sh
rspec spec/
```
### Deployment
> To deploy this project on Heroku, follow these steps:
1. Create a Render account and create a new web service.
2. Connect your GitHub account to Render.
3. Select the repository you want to deploy.
4. Render will automatically detect that this is a Ruby on Rails project and will build it accordingly.
5. Click on "Create Web Service" and wait for the build to finish.
6. Once the build is finished, click on "Open App" to see your live application.
You can try other deployment platforms like [Heroku](https://www.heroku.com/) or [Netlify](https://www.netlify.com/).
### Live Demo <a name="live-demo"></a>
[Live Demo Link](https://rails-8sbg.onrender.com/)
[Presentation Video](https://www.loom.com/share/90bf801fe7134f3c91696308f2e89a48?sid=6c0f3195-18e7-4ef6-9704-d4019104719f)
<p align="right">(<a href="#readme-top">back to top</a>)</p>
## 👥 Authors <a name="authors"></a>
👤 **Moyasi**
- GitHub: [MoyasiGinko](https://github.com/MoyasiGinko)
- Twitter: [moyasi_ginko](https://twitter.com/moyasi_ginko)
- LinkedIn: [moyasi](https://www.linkedin.com/in/moyasi)
<p align="right">(<a href="#readme-top">back to top</a>)</p>
## 🔭 Future Features <a name="future-features"></a>
- [ ] **User Profiles and Authentication**
- [ ] **User photos**
- [ ] **Advanced Search and Filters**
- [ ] **More details to categories and transactions**
<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/MoyasiGinko/Cost-Management-Capstone/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, don't forget to give it a star on GitHub! Your support helps us to continue improving the app.
<p align="right">(<a href="#readme-top">back to top</a>)</p>
## 🙏 Acknowledgments <a name="acknowledgements"></a>
At first, I would like to thank Microverse for providing such amaizng documentation. I would like to thank our Microverse community for their support and encouragement.
<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> | A modern Cost Management web application built with Ruby on Rails. Easily track your expenses, manage categories, and stay on top of your financial goals. Features include user authentication, transaction history, and a responsive design for seamless use on any device. | css,html,ruby,ruby-on-rails,unit-testing,javascript | 2023-09-18T08:35:19Z | 2023-09-21T23:44:32Z | null | 1 | 7 | 53 | 0 | 0 | 2 | null | MIT | Ruby |
Lynnxha/Zenlab-Project | main | <br/>
<p align="center">
<a href="https://github.com/Lynnxha">
<img src="https://raw.githubusercontent.com/ShaanCoding/ReadME-Generator/main/images/logo.png" alt="Logo" width="80" height="80">
</a>
<h3 align="center">ZENLAB PROJECT</h3>
<p align="center">
This project is create by Team ZenLab Corporation.
<br/>
<br/>
<a href="https://github.com/Lynnxha/Zenlab-Project/issues">Report Bug</a>
.
<a href="https://github.com/Lynnxha/Zenlab-Project/discussions">Request Feature</a>
.
<a href="https://github.com/Lynnxha/Zenlab-Project/pulls">Pull Request</a>
</p>
</p>
### Built With
I created this project using the API and using the Typescript programming language
- [API](https://en.wikipedia.org/wiki/API)
- [JavaScript](https://www.typescriptlang.org/)
### 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. Make sure you have Node.js and npm installed on your machine.
2. Clone this repository to your local machine or download the source code.
```
git clone https://github.com/your_username_/Project-Name.git
```
3. Navigate to the project directory in your terminal.
4. Install project dependencies using NPM:
```
npm install
```
### Running the Application
To start the application, you can use the following command:
```
npm run dev
```
This command will start the NextJS server and make the application accessible at `http://localhost:5000`.
### Usage
Once the application is up and running, you can access it in your web browser by visiting `http://localhost:5000`. From there, you can interact with the application's features and functionalities.
### License
Distributed under the MIT License. See [LICENSE](https://github.com///blob/main/LICENSE.md) for more information.
### Authors
- **Lynnxha** - _Noob Developer_ - [Lynnxha](https://github.com/Lynnxha) - \*\*
- **ItzRyz** - _Fullstack Developer_ - [ItzRyz](https://github.com/ItzRyz) - \*\*
- **ItzZess** - _Newbie Developer_ - [ItzRyz](https://github.com/ItzZess) - \*\*
| This project is create By Team ZenLab Corporation | project,typescript,web-landing-page,javascript,nextjs | 2023-09-15T02:30:36Z | 2023-10-06T10:56:55Z | null | 2 | 0 | 5 | 0 | 1 | 2 | null | MIT | TypeScript |
dotjalil/bashmohands.com-frontend | main | # Getting Started with Create React App
This project was bootstrapped with [Create React App](https://github.com/facebook/create-react-app).
## Available Scripts
In the project directory, you can run:
### `npm start`
Runs the app in the development mode.\
Open [http://localhost:3000](http://localhost:3000) to view it in your browser.
The page will reload when you make changes.\
You may also see any lint errors in the console.
### `npm test`
Launches the test runner in the interactive watch mode.\
See the section about [running tests](https://facebook.github.io/create-react-app/docs/running-tests) for more information.
### `npm run build`
Builds the app for production to the `build` folder.\
It correctly bundles React in production mode and optimizes the build for the best performance.
The build is minified and the filenames include the hashes.\
Your app is ready to be deployed!
See the section about [deployment](https://facebook.github.io/create-react-app/docs/deployment) for more information.
### `npm run eject`
**Note: this is a one-way operation. Once you `eject`, you can't go back!**
If you aren't satisfied with the build tool and configuration choices, you can `eject` at any time. This command will remove the single build dependency from your project.
Instead, it will copy all the configuration files and the transitive dependencies (webpack, Babel, ESLint, etc) right into your project so you have full control over them. All of the commands except `eject` will still work, but they will point to the copied scripts so you can tweak them. At this point you're on your own.
You don't have to ever use `eject`. The curated feature set is suitable for small and middle deployments, and you shouldn't feel obligated to use this feature. However we understand that this tool wouldn't be useful if you couldn't customize it when you are ready for it.
## Learn More
You can learn more in the [Create React App documentation](https://facebook.github.io/create-react-app/docs/getting-started).
To learn React, check out the [React documentation](https://reactjs.org/).
### Code Splitting
This section has moved here: [https://facebook.github.io/create-react-app/docs/code-splitting](https://facebook.github.io/create-react-app/docs/code-splitting)
### Analyzing the Bundle Size
This section has moved here: [https://facebook.github.io/create-react-app/docs/analyzing-the-bundle-size](https://facebook.github.io/create-react-app/docs/analyzing-the-bundle-size)
### Making a Progressive Web App
This section has moved here: [https://facebook.github.io/create-react-app/docs/making-a-progressive-web-app](https://facebook.github.io/create-react-app/docs/making-a-progressive-web-app)
### Advanced Configuration
This section has moved here: [https://facebook.github.io/create-react-app/docs/advanced-configuration](https://facebook.github.io/create-react-app/docs/advanced-configuration)
### Deployment
This section has moved here: [https://facebook.github.io/create-react-app/docs/deployment](https://facebook.github.io/create-react-app/docs/deployment)
### `npm run build` fails to minify
This section has moved here: [https://facebook.github.io/create-react-app/docs/troubleshooting#npm-run-build-fails-to-minify](https://facebook.github.io/create-react-app/docs/troubleshooting#npm-run-build-fails-to-minify)
| A free and open source platform that connects college students with mentors and professionals from Middle East and all over the world. | javascript,reac-router-dom,react,reactjs | 2023-10-10T03:59:51Z | 2023-10-29T03:50:33Z | null | 2 | 21 | 52 | 0 | 5 | 2 | null | null | JavaScript |
bryandejesusrt/myfirstappionic | master | # Mi Primera App con Ionic y React 🐺📱
¡Bienvenido a mi emocionante viaje de desarrollo! Este proyecto, 911App, representa mi primera incursión en la creación de aplicaciones con Ionic y React. Aquí, compartiré contigo las experiencias clave: </br>

## Historia de Desarrollo 🛠️
- **Aprendizaje de Ionic:**
Exploré la potencia de Ionic para el desarrollo de aplicaciones móviles.
Quedé impresionado por su enfoque sencillo y eficiente.
- **Descubrimiento de React:**
Utilicé React como librería de UI para potenciar la interfaz de usuario de 911App.
Experimenté la flexibilidad y modularidad que React ofrece.
## Reflexión Final 🚨✨
Esta experiencia con Ionic y React no solo fue educativa sino también inspiradora. ¡Acompáñame en el viaje de 911App y descubre cómo estas tecnologías hacen posible la creación de aplicaciones móviles poderosas y efectivas! 🌐💡
## Capturas de Pantalla
>[!NOTE]
>Aquí se muestra un listado de de todas las pantallas desarrollados.
| Pantallas
|-----------|
| </br></br>
| 🎢 Primera aplicación con Ionic y React. Experimenté un proceso de desarrollo enriquecedor al trabajar con estas tecnologías. La combinación de Ionic para la estructura y React como librería de UI resultó ser altamente efectiva y fácil de aprender. Este proyecto marca el inicio de mi exploración y aprecio por estas herramientas.🎇 | capacitor,css,frontend,html,ionic,ionic-framework,ionic3,javascript,js,movil | 2023-09-29T03:50:42Z | 2023-12-18T15:09:46Z | null | 1 | 0 | 7 | 0 | 0 | 2 | null | null | TypeScript |
CodeTanvir/My-Bank | main | HI there, This is TANVIR HOSSAIN. I am a front-end web developer. Make this webApp with HTML CSS and javascript.
This is an online-banking system 🏦, You can transfer money take loans and also convert💱 your curriencies.
Fetured with three major currencies € $ £, You can hold These currencies in one account.
transfer amount in any account just type username provided to the website. It will automatic show the person profile before send money👀
Although it is a demo website for practice made by me as a javascript Beginner.
Enjoy It😉
For any information contact me 📩 : info.tanvirx@gmail.com
my whatsApp +8801309475345
| This is an online-banking system with money transfer, loan and exchange currency services | bank-account,banking,money-transfer,online-banking-system,html,javascript,web-application,website | 2023-10-05T10:41:16Z | 2023-10-11T15:41:32Z | null | 1 | 1 | 6 | 0 | 1 | 2 | null | null | JavaScript |
greendreamer/bolierplate_nestjs_graphql_typeorm_postgresql | main | # NestJS/TypeORM/GraphQL/PostgresQL
NestJS boilerplate with TypeORM, GraphQL and PostgreSQL
## Open for Contribution
Totally open for any Pull Request, please feel free to contribute in any ways.
There can be errors related with type or something. It would be very helpful to me for you to fix these errors.
## [NestJS](https://docs.nestjs.com/)
Base NestJS, We like it
## [TypeORM](https://typeorm.io/)
We use [Nestjs/TypeORM](https://docs.nestjs.com/techniques/database)
In this template, We've been trying not to use `Pure SQL` to make the most of TypeORM.
## [PostgresQL Database](https://www.postgresql.org/)
We use postgresQL for backend database, The default database taht will be used is named 'postgres'
You have to have postgresql Database server before getting started.
You can use [Docker postgresQL](https://hub.docker.com/_/postgres) to have server easily
## [GraphQL](https://graphql.org/)
##### packages: graphql, apollo-server-express and @nestjs/graphql, [graphqlUpload](https://www.npmjs.com/package/graphql-upload) ...
We use GraphQL in a Code First approach (our code will create the GraphQL Schemas).
We don't use [swagger](https://docs.nestjs.com/openapi/introduction) now, but you can use this if you want to.
You can see [playground](http://localhost:8000/graphql)
We use apollographql as playground. but if you want to use default playground, you can do like below.
```js
// app.modules.js
GraphQLModule.forRootAsync <
ApolloDriverConfig >
{
...
useFactory: (configService: ConfigService) => ({
...
playground: true,
...
}),
...
};
```
### Protected queries/mutation by user role with guard
Some of the GraphQL queries are protected by a NestJS Guard (`GraphqlPassportAuthGuard`) and requires you to be authenticated (and some also requires to have the Admin role).
You can solve them with Sending JWT token in `Http Header` with the `Authorization`.
```json
# Http Header
{
"Authorization": "Bearer TOKEN"
}
```
#### Example of some protected GraphQL
- getMe (must be authenticated)
- All the other generated by generator (must be authenticated and must be admin)
## License
MIT
## Custom CRUD
To make most of GraphQL's advantage, We created its own api, such as GetMany or GetOne.
We tried to make it as comfortable as possible, but if you find any mistakes or improvements, please point them out or promote them.
You can see detail in `declare.module.ts`, `processWhere.ts` and `custom.input.ts`
```js
// query
query($input:GetManyInput) {
getManyPlaces(input:$input){
data{
id
logitude
count
}
}
}
```
```js
// variables
{
input: {
pagination: {
size: 10,
page: 0, // Started from 0
},
order: { id: 'DESC' },
dataType: 'data', //all or count or data - default: all
where: {
id: 3,
},
},
};
```
## Code generator
There is [CRUD Generator in NestJS](https://docs.nestjs.com/recipes/crud-generator).
In this repository, It has its own generator.
You can use like below.
```bash
$ yarn g
```
## Getting Started
### Installation
Before you start, make sure you have a recent version of [NodeJS](http://nodejs.org/) environment _>=14.0_ with NPM 6 or Yarn.
The first thing you will need is to install NestJS CLI.
```bash
$ yarn -g @nestjs/cli
```
And do install the dependencies
```bash
$ yarn install # or npm install
```
### Run
for development
```bash
$ yarn dev # or npm run dev
```
for production
```bash
$ yarn build # or npm run build
$ yarn start # or npm run start
```
or run with docker following below
## Docker
### Docker-compose installation
Download docker from [Official website](https://docs.docker.com/compose/install)
### Run
Open terminal and navigate to project directory and run the following command.
```bash
# Only for prduction
$ docker-compose --env-file ./.production.env up
```
### Note
If you want to use docker, you have to set DB_HOST in .production.env to be `postgres`.
The default set is `postgres`
### Only database
You can just create postgresql by below code, sync with .development.env
```bash
$ docker run -p 5432:5432 --name postgres -e POSTGRES_PASSWORD=1q2w3e4r -d postgres
```
## Todo
- [ ] Get Jest(e2e or unit test) to be work
- [ ] Add Many OAUths (Both of front and back end)
- [ ] Kakao
- [ ] Google
- [ ] Apple
- [ ] Naver
- [x] GraphQL Upload
- [x] Healthcheck
- [x] Divide usefactory
- [ ] Redis
- [ ] ElasticSearch
- [ ] Caching
- [ ] Graphql Subscription
| The current repository serves as a robust boilerplate for building scalable full-stack applications using NestJS in the backend, PostgreSQL as the database, and TypeORM as the object-relational mapper. The boilerplate provides a well-structured, modular baseline that promotes high code maintainability and ease of deployment. It includes basic featu | api,backend,bolierplate,graphql,graphql-client,javascript,nestjs,postgresql,react,typeorm | 2023-10-09T06:30:10Z | 2023-10-09T06:34:17Z | null | 1 | 0 | 115 | 0 | 0 | 2 | null | MIT | TypeScript |
chingu-voyages/v46-tier1-team-06 | development | # Zero-Waste Recipes
## Overview:
Reduce food waste by searching our database for an ingredient that you have getting ready to spoil in your refrigerator or pantry. You'll get a list of delicious recipes made with that exact ingredient.
## Features:
### [Design comp built on Figma](https://www.figma.com/file/JLp3V0M7hHHeFnvGYglq5Y/recipe-app?type=design&node-id=0%3A1&mode=design&t=bgoSiYiUgFwDWgln-1)
- Responsive design features 1 recipe example on mobile 3 recipe examples on desktop to make finding the suggestions for use on the landing page easy to see
- 
- Refresh button to navigate back to the homepage easily
### Built using Agile principles and SCRUM methodology
- Team of 4 Developers: [Begum](https://www.linkedin.com/in/begumvernondeveloper/), [Erica](https://www.linkedin.com/in/charwaeericachong/), [Tauri](https://www.linkedin.com/in/tauri-stclaire/), and [Terri](https://www.linkedin.com/in/terri-fricker/).
- 6 week long sprints
- Tauri operated as designer and product owner in charge of managing the Sprint backlog.


- Our team frequently employed pair programming to teach each other Sass and work on Javascript together
### Focus on Accessibility:
- 100% Accessibility Rating through [Lighthouse](https://developer.chrome.com/docs/lighthouse/overview/)!
- All colors for design checked with [WebAIM Contrast Checker](https://webaim.org/resources/contrastchecker/) and passed WCAG AAA ratings
- Fonts no smaller than 16px, larger readable recipe cards

- All button inputs and icons are labeled for screen readers
- SVGs are used instead of fonticons to improve access for people who have adjusted their fonts in the browser
- all links and buttons labeled, aria-label for links and within the buttons with a class designating for screen readers only
- The "View Recipes" buttons and exit-buttons have an additional `aria-describedby`
attribute so that people who use screen readers are forewarned that a modal will be opening up and then closing with each respective button
- All links have `aria-describedby` letting people who use screen readers know that it will open up a new tab and go to a different website
- Cards are clickable anywhere for people with mobility issues, but buttons are kept as anchor points for someone using a keyboard only
### Dry Code focused on Readability:
- Sass: variables, partials, and nesting

- Semantic layout:
- BEM for classes
- SVGs are coded into the HTML to decrease processing power, which is more green!
- Vanilla Javascript that prioritizes readability
- Async fetch functions
- Form validation
- Functions declared so they are hoisted
- 
## Running the Project:
- Deployed to [GH-Pages](https://chingu-voyages.github.io/v46-tier1-team-06/)
- [Github Repo](https://github.com/chingu-voyages/v46-tier1-team-06)
## Dependencies:
**TastyAPI** Our app fetches recipes from the TastyAPI found at [Rapid API: Tasty API](https://rapidapi.com/apidojo/api/tasty). The call is made to the `recipes/list` endpoint.
**IcoMoon for SVGs** [Main website](https://icomoon.io/), and Terms of Use(https://icomoon.io/#termsofuse)
**Dart Sass** [CSS pre-processor](https://sass-lang.com/)
| A recipe app for using up food already in your kitchen | Chingu Voyage-46 | https://chingu.io/ | Twitter: https://twitter.com/ChinguCollabs | html-css-javascript,sass,html-5-boilerplate,css,html,javascript,modal,tastyapi,recipe-app,recipes | 2023-10-01T15:00:43Z | 2023-11-14T23:33:07Z | null | 61 | 115 | 624 | 0 | 4 | 2 | null | NOASSERTION | SCSS |
The-Parth-Choudhary/Keeper-App-JS | main |
# Keeper App
## Welcome
Welcome to the Keeper App readme. This document provides information about the Keeper App website.

## Table of Contents
- [Overview](#overview)
- [Features](#features)
- [Getting Started](#getting-started)
- [Compilation](#compilation)
- [Usage](#usage)
- [Usage Examples](#usage-example)
- [Contibuting](#contributing)
## Overview
This Application is a HTML, CSS, Javascript based website. It is usefull if someone want to keep notes related to study or work online and want to access anytime, anywhere and save them for future use.
## Features
- **Create New Note:** Creates new note by adding information like title and the body of the note.
- **Update Note:** If the user want to change the title or the body of his note then he/she can also do it without rewriting the whole note again.
- **Delete Note:** If the user does not longer need any note the he/she can delete it.
## Getting Started
### Compilation
To run the Keeper App website in his/her localhost, follow these steps:
1. Ensure you have live server extension installed on your IDE.
2. Open the project folder in your IDE.
3. Open the website with live server.
## Usage
Once the application is running, you will see main menu with various options. Follow the on-screen instructions to navigate the menu and perform actions.
## Usage Example
**Create New Note**
1. Click on the title field in adding new note section and add title.
2. Click on the add new note field in adding new note section and add body of the note.
3. Click on +(Add Note) icon.
**Edit Note**
1. Click on edit note icon in card.
2. All previous detals will be displayed on the input field and there you can make changes and the update them.
**Delete Note**
1. Click on Delete icon to delete the note.
**Read More**
1. Click on Read more button which helps user to easily access a particular note.
**Light/Dark Theme**
1. Click on Theme button to toggle between Light mode and Dark mode.
## Contributing
Contribution to the Invoice Generator application are welcome! If you find issues or have improvements to suggest, please follow these steps:
1. Fork the repository.
2. Make your changes.
3. Create a pull request with a detailed description of your changes.
| Build a Note keeping app using html, css, javascript to keep notes and used local storage to store data. | crud,css,curd-operation,html,javascript,localstorage | 2023-09-27T15:28:47Z | 2023-10-25T12:00:32Z | null | 1 | 0 | 18 | 0 | 0 | 2 | null | null | CSS |
BonaFideBOSS/AIPlayground | main | # AIPlayground
| Democratizing Artificial Intelligence | ai,artificial-intelligence,audio-classification,flask,image-classification,javascript,python,tensorflow,text-classification | 2023-10-09T09:57:31Z | 2023-10-13T11:44:12Z | null | 1 | 0 | 17 | 0 | 0 | 2 | null | null | HTML |
jain-rithik/Interactive-Rectangle | main | # Interactive Rectangle
Welcome to the Interactive Rectangle project! This is a simple web application that demonstrates interactive color change in a rectangle using HTML, CSS, and JavaScript with the GSAP (GreenSock Animation Platform) library.
## Table of Contents
- [Demo](#demo)
- [Description](#description)
- [Tech Stack](#tech-stack)
- [Installation](#installation)
- [Usage](#usage)
## Demo
You can experience the Interactive Rectangle in action [here](https://jain-rithik.github.io/Interactive-Rectangle/).

## Description
This project showcases an interactive rectangle that changes its background color based on the mouse position. When the mouse pointer moves from left to right within the rectangle, it transitions from red to blue, creating a visually engaging effect. When the mouse leaves the rectangle, it returns to its default white color.
## Tech Stack
- **Frontend**: HTML, CSS
- **JavaScript Library**: GreenSock Animation Platform (GSAP)
## Installation
1. Clone this repository to your local machine using `git clone`.
2. Navigate to the project directory.
## Usage
To run the Interactive Rectangle:
1. Open the `index.html` file in your web browser.
| The color of the rectangle changes as the mouse moves inside it. From left end to mid of rectangle color will be red and intensity will also change and from mid of rectangle to right color will be blue. | css,gsap,html,javascript,js-activity | 2023-09-13T19:06:37Z | 2023-09-13T19:20:56Z | null | 1 | 0 | 6 | 0 | 0 | 2 | null | null | JavaScript |
m0cvo/WeatherComparison | master | # WeatherComparison
Copyright N. Booth for Mogpie. 2023.
# Using node.Js in an asp.net core app to create a graphical representation of temperature data over a given time period.
# The purpose of this is to compare temperature changes year on year in order to form a critical opinion, with evidence,# of any issues of climate change. Therefore, data will be added on a daily basis and each chart/graph will cover a period of one calender month.
If you find this interesting and in any way helpful, please consider buying me a coffee using the following https://paypal.me/M0CVOAntennas?country.x=GB&locale.x=en_GB.
| Using JavaScript to create charts in an ASP.Net Core web app to demonstrate the change in temperatures over a given period. | asp-net-core,chartjs,javascript | 2023-10-05T11:21:45Z | 2024-05-23T11:33:01Z | null | 1 | 0 | 203 | 0 | 0 | 2 | null | AGPL-3.0 | HTML |
JeffreyMardoqueo-17/ESFE.GestorTareas | master | null | Proyecto de Gestión de Tareas, el cual un administrador podrá asignar tareas a usuarios/trabajadores, con el fin de que se cumplan las tareas y se mantenga un mejor control | csharp,css,html,javascript,bootstrap5,entity-framework-core | 2023-09-14T15:32:45Z | 2023-09-17T04:22:32Z | null | 2 | 0 | 5 | 0 | 0 | 2 | null | null | C# |
Alexandrbig1/goit-react-hw-02-phonebook | main | # **Phonebook**
<img align="right" src="https://media.giphy.com/media/du3J3cXyzhj75IOgvA/giphy.gif" width="100"/>
doing homework while studying in bootcamp @GoIT on Fullstack developer course
## Project Specifications:
React module(states/hooks/derived states/events/props/forms)
## Languages and Tools:
<div align="center">
<a href="https://en.wikipedia.org/wiki/HTML5" target="_blank"><img style="margin: 10px" src="https://profilinator.rishav.dev/skills-assets/html5-original-wordmark.svg" alt="HTML5" height="50" /></a>
<a href="https://www.w3schools.com/css/" target="_blank"><img style="margin: 10px" src="https://profilinator.rishav.dev/skills-assets/css3-original-wordmark.svg" alt="CSS3" height="50" /></a>
<a href="https://www.javascript.com/" target="_blank"><img style="margin: 10px" src="https://profilinator.rishav.dev/skills-assets/javascript-original.svg" alt="JavaScript" height="50" /></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://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>
</div>
## Connect with me:
<div align="center">
<a href="https://linkedin.com/in/alex-smagin29" target="_blank">
<img src=https://img.shields.io/badge/linkedin-%231E77B5.svg?&style=for-the-badge&logo=linkedin&logoColor=white alt=linkedin style="margin-bottom: 5px;" />
</a>
<a href="https://github.com/alexandrbig1" target="_blank">
<img src=https://img.shields.io/badge/github-%2324292e.svg?&style=for-the-badge&logo=github&logoColor=white alt=github style="margin-bottom: 5px;" />
</a>
<a href="https://stackoverflow.com/users/22484161/alex-smagin" target="_blank">
<img src=https://img.shields.io/badge/stackoverflow-%23F28032.svg?&style=for-the-badge&logo=stackoverflow&logoColor=white alt=stackoverflow style="margin-bottom: 5px;" />
</a>
<a href="https://dribbble.com/Alexandrbig1" target="_blank">
<img src=https://img.shields.io/badge/dribbble-%23E45285.svg?&style=for-the-badge&logo=dribbble&logoColor=white alt=dribbble style="margin-bottom: 5px;" />
</a>
<a href="https://www.behance.net/a1126" target="_blank">
<img src=https://img.shields.io/badge/behance-%23191919.svg?&style=for-the-badge&logo=behance&logoColor=white alt=behance style="margin-bottom: 5px;" />
</a>
</div>
| React module(events/states/props/forms) | css3,html-css-javascript,html5,javascript,js,react,react-components,reactjs | 2023-10-02T17:35:22Z | 2023-10-12T00:15:25Z | null | 1 | 0 | 15 | 0 | 1 | 2 | null | null | JavaScript |
manuelbento19/performatic-taskList | main | <h1 align="center">
📸📝<br>Performatic TaskList
</h1>

<h4 align="center"><a href="https://performatic-task-list.vercel.app/">Clique para visitar o projeto</a></h4>
---
## 💼 Tecnologias utilizadas
Para o desenvolvimento deste site utilizei as seguintes tecnologias:
- React.js
- Vite
- React Hooks
---
<h2>👨🚀 Autor</h2>
<table>
<tr>
<td>
<a href="https://github.com/manuelbento19">
<img src="https://avatars.githubusercontent.com/u/65732773" width="150px;" alt="Foto do Manuel Bento"/><br>
<sub>
<b>Manuel Bento</b>
</sub>
</a>
</td>
</tr>
</table> | null | javascript,perfomance,react,todo,vite | 2023-10-01T21:25:11Z | 2023-10-13T14:50:24Z | null | 1 | 0 | 5 | 0 | 0 | 2 | null | null | JavaScript |
anthony-ndegwa-dev/Flighteq | main | # Flighteq
Flighteq is a comprehensive flight booking system that simplifies the process of finding, booking, and managing flights. Your ultimate flight booking system.
## Technologies
* Front-end - HTML, CSS, JavaScript
* Backend - Python
* Framework - Django

[Video Demo](https://drive.google.com/file/d/1AveP4NTOzxu5DeFLFeIqq3pb-iFAoNA5/view?usp=sharing)
[Deployed](https://ndegwa.pythonanywhere.com)
| Your ultimate flight booking system | django,javascript,python,css,html | 2023-09-15T16:10:24Z | 2023-09-17T06:49:01Z | null | 1 | 0 | 7 | 0 | 0 | 2 | null | null | HTML |
arvindk2025/CodeHunt-MERN-Stack-Web-App | main | # CodeHunt - Online Marketplace for Digital Freelance services (MERN STACK Web Application)
CodeHunt is a FULL STACK (MERN STACK) Web Application.
It is an online Marketplace / Platform that connects freelancers and clients from all around the Globe.





## Key Features
### (i)User Authentication
- **Signup and Login**: Users can create accounts and log in securely.
- **User Profiles**: Customize profiles with personal information and skills.
### (ii) Project Listings
- **Create Projects**: Clients can post detailed project listings, including requirements, budget, and deadlines.
- **Search and Browse**: Freelancers can search and filter project listings based on their skills and preferences.
### (iii) Messaging System
- **Real-time Chat**: Clients and freelancers can communicate in real-time via an integrated messaging system.
### (iv) Payments Integration
- **Secure Payments**: Integrated payment processing for clients to pay freelancers.
### (v) Reviews and Ratings
- **Feedback System**: Clients can leave reviews and ratings for freelancers upon project completion.
- **Profile Reputation**: Build a reputation based on the quality of work and feedback received.
## Tech Stack
- **Frontend**:
- HTML, CSS, JavaScript
- React.js
- Redux for state management
- Axios for API calls
- **Backend**:
- Node.js
- Express.js
- MongoDB for database storage
- JWT for authentication
- **Database**: MongoDB
- **Payment Processing**: Stripe
- **Real-time Messaging**: WebSocket
### Installation
To run CodeHunt locally, follow these steps:
1. Clone the repository: `git clone https://github.com/yourusername/CodeHunt.git`
2. Navigate to the project directory: `cd CodeHunt`
3. Install dependencies: `npm install`
4. Create a `.env` file and configure environment variables like database connection, API keys, etc.
5. Start the development server: `npm start`
### Contribution Guidelines
We welcome contributions from the community. If you'd like to contribute to CodeHunt, please follow these steps:
1. Fork the repository.
2. Create a new branch for your feature or bug fix: `git checkout -b feature/your-feature-name`
3. Make your changes and commit them: `git commit -m "Add your feature"`
4. Push your changes to your fork: `git push origin feature/your-feature-name`
5. Create a pull request to the main repository.
### License
This project is licensed under the [MIT License](LICENSE).
---
Feel free to use this README.md template as a starting point for your project. Make sure to update the content with specific details related to your CodeHunt website and customize it further to suit your needs.
| "CodeHunt is an online marketplace that connects freelancers and clients from all around the globe. Freelancers can generate revenue by selling their projects."Explore CodeHunt build with React Js,Node JS, Expess Js, MongDB,WebSockets(socket.io), CSS. | auth0,css,expressjs,javascript,jwt-authentication,nodejs,payment-integration,reactjs,socket-io | 2023-10-10T13:45:25Z | 2023-10-10T14:22:26Z | null | 1 | 0 | 10 | 0 | 1 | 2 | null | null | JavaScript |
nirzon47/boat | main | # boAt Lifestyle Clone
## [Hosted Link](https://nirzon47-boat.netlify.app/)
### Table of Contents
The screenshots take a lot of space. Click on the links to navigate easily
- [boAt Lifestyle Clone](#boat-lifestyle-clone)
- [Hosted Link](#hosted-link)
- [Table of Contents](#table-of-contents)
- [Features](#features)
- [Screenshots](#screenshots)
- [Tools used to build the project](#tools-used-to-build-the-project)
- [Tailwind Custom Plugins](#tailwind-custom-plugins)
- [Building / package.json scripts](#building--packagejson-scripts)
- [Contributors](#contributors)
- [Challenges Faced](#challenges-faced)
### Features
- Fully responsive
- Hard to distinguish from the real webpage
- High quality carousels
- Auto-playing videos to catch attention even in desktop version
- Interactive footer and menu buttons
- Made with TailwindCSS
- Extra touches to give more life to the webpages compared to the original
- Proper semantic tags used for accessibility
### Screenshots
`index.html`
Desktop:

Mobile:

Out of consideration of user experience reading the readme file, the other mobile UI screenshots are exempted, please visit the webpage.
They are responsive.
`deals.html`

`gift.html`

`blogs.html`

``
### Tools used to build the project
| Tool | Purpose | Link |
| -------------- | ------------------------------------------------------------------ | ------------------------------------------- |
| HTML | Markup language | — |
| CSS | Scripting language for styling webpages | — |
| TailwindCSS | CSS Framework | [Link](https://tailwindcss.com/) |
| slick carousel | For carousel | [Link](https://kenwheeler.github.io/slick/) |
| jQuery | For slick to function properly and for some click and hover events | [Link](https://jquery.com/) |
| JavaScript | Logic for the webpage in some elements | — |
| FontAwesome | Adds custom icons | [Link](https://fontawesome.com/) |
### Tailwind Custom Plugins
`input.css`: Extra base layers to make a font family from external font files for easy use

`tailwind.config.js`: Custom colors, media breakpoints, line heights, search bar background

### Building / package.json scripts
After cloning the files into your local machine, run
`npm install`
to install the dev dependencies
`npm run buildcss`
which is defined in `package.json` to run
`npx tailwindcss -i input.css -o style.css --watch`
And you should be good to go to edit the files using your own tailwindcss.
To make the CSS file as small and efficient as possible, a script for that is also present for production.
`npm run minify`
which is defined in the `package,json` to run
`npx tailwindcss -o style.css --minify`
### Contributors
- Nirzon Taru Karmakar
- Saiful Islam
- Juber
- Saurabh Shrikhande
### Challenges Faced
- Merge Conflicts
- Advanced git concepts
- Proper way of doing simulating on click events using jQuery
- Implementing carousel
- Collapsible footer elements
- Extra effects like scaling and transitions in TailwindCSS
- TailwindCSS CLI use for optimized production
- Collaboration using Git
---
Nirzon Taru Karmakar or any of the other members working on the project are not affiliated with boAt Lifestyle.
All images, fonts are trademarks and copyrights of boAt Lifestyle and they are not used for commercial use.
| boAt Lifestyle UI clone using minimal Js and TailwindCSS | css,html,javascript,jquery,slick-carousel,tailwind,tailwindcss | 2023-09-30T15:42:44Z | 2023-10-05T09:28:57Z | null | 5 | 9 | 62 | 0 | 0 | 2 | null | null | HTML |
AmirrezaAPTech/WeatherNow-Weather-Application | main | null | Embark on my JavaScript learning journey with WeatherNow - the real-time weather application. Created amidst my coding adventure 🚀, this project showcases my progress in JavaScript development. Stay informed about the weather while witnessing my growth as a front-end web developer with WeatherNow! | css,front-end-development,html,javascript | 2023-09-16T17:04:47Z | 2023-09-16T17:04:49Z | null | 1 | 0 | 1 | 0 | 0 | 2 | null | null | CSS |
vulture-boy/KantoRedrawn | main | # RETRO REDRAWN - Pokemon Redrawn
Repository for the Pokemon Redrawn project.
The base code was originally programmed by Jerky (@Hyperjerk) for the Retro Redrawn Kanto and Johto projects.
This version on GitHub was created and refactored for reuse and repurpose by Tyson Moll (https://tysonmoll.ca/), originally for Castlevania Redrawn.
Artists are credited for their work in the project website (as denoted in the areas.js file).
Official Website: https://retroredrawn.com/
Discord: https://discord.gg/ZN3297XBtU
## Creating a new Redrawn
1. Fork the repository to create your own copy
2. Setup your areas file
* Open areas.js and change the name of the first "area" array (e.g. 'var castleAreas') to something for your project (e.g. 'var myRedrawnAreas').
* Remove all but one of the entries inside the square braces ('[]'). Remove all other arrays.
* This is where individual screens in the project will be defined.
* If you wish to have additional layers, create a copy of this area array and rename it. Repeat as many times as you'd like.
* We will add content to the individual areas in the array later.
3. Link your areas to your implementation file
* Open implementation.js and change the contents of redrawnLayers to contain one entry per array you setup in Step 2.
* These arrays describe details about specific redrawn layers (not old vs redrawn, but rather subjective things like outside vs inside)
* Set the canvas size to be large enough to contain all the screens you intend to include in the project. You can readjust this later.
* The 'areas' field shoud match the name of the array exactly as written in Step 2.
* The name of the area is used when referencing the layer by name later on
5. In implementation.js. update the content of the biomes array with as many entries as you'd like.
* These are used for the visual display of items in the list of redrawn screens
* name refers to the name of the biome, formatted for reading (i.e. how you would want to read the text)
* ident refers to the name of the biome, formatted for code (i.e. lowercase, no spaces)
* iconId is a reference to an icon in Google Material Symbols and Icons, where icons are currently drawn from
* color is the color of the menu icon.
* You can update these later if you prefer
6. Update the content of index.html to reflect your project.
* In the Header, change the website page name, description, OG (OpenGraph) image and favicon fields. (The OG image is the image shown in social media thumbnails)
* Replace the (FKA) Twitter link with an authorative social media link
* Update the Menu Logo to match your project
* Update the About section with a description relative to your project. Please provide appropriate credit to artists and programmers involved in your project (including those you fork from) and remove the 'bug support' section unless you or an associate plan to provide support for your own project (in which case update the field accordingly).
* Update the loading bar image.
* Review the contents of this page to make sure that you are content with it.
7. Update the layer buttons
* In index.html's "areaList" div, there are list items for each layer in the project.
* Change the name provided to the changeLayer function to the name of your layer. Set the class to the same name, and the name in the Span section to the display name.
* In home.css, find "#layers li button.__" and replace the name of the layer with your own. Update the background image as well.
8. Add areas to the areas.js file (see below)
9. Remove any remaining project-specific image assets and replace with your own once you are done setting up the project.
* images are stored in the img folder, where screens can be found in folders defined by the redrawnLayers names
11. Modify home.css and any webfonts in index.html to further customize the look of your redrawn website
## Adding Areas
You can add an area by adding a new entry to the areas.js file and ensuring that the position defined in the area is complimented by a representative location in the map image. You can use areas.html if you prefer to modify these fields with a GUI interface, though bear in mind any changes made must be exported and applied to areas.js; the project _will not automatically update_.
area.js - Defines location regions and provides credit to artists
- (base array): used to identify a major category or layer (e.g. outdoors, interiors)
- order: the position of an area screen within the area list. Must be sequential but doesn't need to be ordered.
- title: Display name for an entry
- ident: File identity for an entry; should match the file name without the file extension.
- artist: artist name.
- artistImageOverride: Name of the artist's avatar filename if the artist name doesn't match it.
- point: pixel position of the area when displayed. x, y refers to the top-left co-ordinate. width and height are collected automatically from the source image(s).
- offset: used to define an offset position and size for the redrawn version of an area, allowing for oversized redrawns
- pan: how the tour camera should pan over the image in tour mode (options: vertical, horizontal )
- type: 'biome' type of the entry; visually styles the list entry (e.g. Terrace, Castle, Underground, Boss for Castlevania Redrawn)
- zoom: zoom scale to use when focusing on the area during a tour or when the menu button is clicked.
- url: URL pointing to the artist's portfolio, social media handle, or link tree
- post_url: URL of a social media post associated with this entry
There are also some fields made for features that are currently not supported:
- teleporters: list of teleporters connected to the area used to 'warp' between locations and / or layers
- animation: indicates whether an animated version of the area is available
## FAQ
__Q: Why are animations not supported?__
_A: Short Answer: The project's backend does not support GIF animation natively and implementing animation is non-trivial. It may also have an undesirable memory overhead.
This redrawn project uses PIXI, which is excellent for static image display and does come with the capability of displaying animation, but any images you wish to have animated must be in separate images, defined individually, then injected into a custom object. The scope of implementing this was larger than the amount of time I wanted to invest in it, but if you would like to investigate and implement this feature into the project you are more than welcome to make a pull request with the solution for this repository. In anticipation of such a solution, Castlevania Redrawn has several animations created by artists for a handful of the screens that you can use for testing purposes._
__Q: Some of the information on this redrawn is out-of-date!__
_A: You can either create a pull request to update the data or reach out to the project's discord._
__Q: Some of the instructions are unclear or could be improved!__
_A: We welcome feedback and want to make this as user friendly as we can! Please create a pull request or reach out on the project's discord._
__Q: What's the project's license?__
_A: The repository is the work of authors Jerky (HyperJerk) and Tyson Moll under Copyright and is provided on GitHub licensed under the GNU General Public License. Other licenses for this software must be negotiated with both authors. This license applies to all derivative works. The artwork is copyright of their respective artists, all rights reserved._
| A pixel art gallery displaying the Pokémon Kanto region as redrawn by an international community of pixel artists. | collaboration,javascript,pixel-art,pixijs,pokemon | 2023-10-10T02:50:30Z | 2024-03-15T16:31:37Z | null | 4 | 0 | 79 | 20 | 0 | 2 | null | GPL-3.0 | JavaScript |
PremChandV/DRM-Frontend | main | # DRM-Frontend
Repository of Document Review Management(DRM) System which is developed on Front-End Technologies only and it's a Front-End Web Application.
| Repository of Document Review Management(DRM) System which is developed on Front-End Technologies only and it's a Front-End Web Application. | css,html,javascript,web,webapp,webapplication,website,document,document-review,documentation-tool | 2023-10-04T09:44:12Z | 2023-10-12T12:18:32Z | null | 1 | 0 | 16 | 0 | 0 | 2 | null | null | HTML |
satyajeet-rajupali/NewsAgent | main | # NewsAgent
It’s a comprehensive news website powered by the News API and hosted on Firebase. NewsAgent provides
users with up-to-date news articles categorized into Business, Entertainment, Health, Science, Sports, and
Technology sections. This project demonstrates my proficiency in web development, data integration, and
user-focused content delivery.
[](https://github.com/satyajeet-rajupali/NewsAgent)

## Live Demo
[Link](https://newsagent-674b0.web.app/sports)
## Setup
Goto the project folder and install required dependencies:
```
npm install
```
And run Webpack to watch for code changes and bundle js and scss files:
```
npm start
```
Project will be automatically open at http://localhost.com:3000
For production build:
```
npm run build
```
Give it a ⭐ if you like it.
| News-Agent | async-await,css,hmtl,javascript,react,react-hooks,react-router | 2023-09-22T07:02:26Z | 2023-09-28T15:03:13Z | null | 1 | 0 | 22 | 0 | 0 | 2 | null | null | JavaScript |
DXHeroes/gh-action-auto-release | main | 
# GH Action Auto Release v1.0.8 <!-- {x-release-please-version} -->
**Time to implement: 10 minutes.**
**Saved time: 1 hour per each release of any technology.**
This GitHub Action will automatically create a release and publish your package to the supported package registry.
## How it works
This action uses [release-please](https://github.com/googleapis/release-please) under the hood. It will create a pull request with the release notes and you can check them before merging.
When you merge the pull request, it will create a release with the release notes from the pull request.
Each release will be tagged with a version from the commit message. You can use [conventional commits](https://www.conventionalcommits.org/en/v1.0.0/) or just add a version number to the commit message.
Every release will be published to the supported package registry.
You can get your package published in a few minutes and you won't have to worry about it anymore. Just follow the instructions below and you're done.
## Supported package types
- ✅ node
- ✅ php
- ✅ ruby
## Please request other package types in the issues
- 🛠️ .NET
- 🛠️ dart
- 🛠️ elixir
- 🛠️ go
- 🛠️ helm
- 🛠️ java
- 🛠️ maven
- 🛠️ krm-blueprint
- 🛠️ maven
- 🛠️ expo
- 🛠️ ocaml
- 🛠️ python
- 🛠️ rust
- 🛠️ sfdx
- 🛠️ simple
- 🛠️ terraform-module
## Prerequisites
### GitHub Actions
You must allow GitHub actions to create and approve pull requests. You can do this in the [organization or repository settings](https://docs.github.com/en/repositories/managing-your-repositorys-settings-and-features/enabling-features-for-your-repository/managing-github-actions-settings-for-a-repository#preventing-github-actions-from-creating-or-approving-pull-requests).
- Organization: https://github.com/organizations/YOUR_ORG/settings/actions (replace YOUR_ORG with your organization name) > Workflow permissions > check "Allow GitHub Actions to create and approve pull requests".
- Personal repository: https://github.com/YOUR_OWNER/YOUR_REPO/settings/actions (replace YOUR_OWNER with your GitHub username and YOUR_REPO with your repository name) > Workflow permissions > check "Allow GitHub Actions to create and approve pull requests"..
### Node.js package
Add these secret to your repository:
- name: [NPM_TOKEN](https://docs.npmjs.com/creating-and-viewing-access-tokens#creating-access-tokens) - NPM token with write access to the package.
- _Required permissions for Granular Access Token: Packages and scopes > 'Read and write'._
- Required permissions for Classic Token: 'Automation'.
### PHP package
Add these secrets to your repository:
- name: [PACKAGIST_USERNAME](https://packagist.org/profile/) - Packagist username.
- name: [PACKAGIST_TOKEN](https://packagist.org/profile/) - Packagist token with write access to the package.
### Ruby package
Add these secret to your repository:
- name: [RUBYGEMS_API_KEY](https://rubygems.org/profile/api_keys) - RubyGems API key with write access to the package.
- _Required scope: 'Push rubygem'._
## Usage
### Create your GitHub Action
Create a new file in your repository `.github/workflows/release.yml` with the following content that fits your package type.
### For Node.js package
<!-- {x-release-please-start-major} -->
```yaml
name: Release
on:
push:
branches:
- main # set your default branch
permissions:
contents: write
pull-requests: write
jobs:
release:
name: Release by DX Heroes
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: dxheroes/gh-action-auto-release@v1
with:
release-type: node
package-name: prs-test-js-lib # replace with your package name
env:
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
```
<!-- {x-release-please-end} -->
### For PHP package
<!-- {x-release-please-start-major} -->
```yaml
name: Release
on:
push:
branches:
- main # set your default branch
permissions:
contents: write
pull-requests: write
jobs:
release:
name: Release by DX Heroes
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: dxheroes/gh-action-auto-release@v1
with:
release-type: php
package-name: prs-test-php-lib
env:
PACKAGIST_USERNAME: ${{ secrets.PACKAGIST_USERNAME }}
PACKAGIST_TOKEN: ${{ secrets.PACKAGIST_TOKEN }}
```
<!-- {x-release-please-end} -->
### For Ruby package
<!-- {x-release-please-start-major} -->
```yaml
name: Release
on:
push:
branches:
- main # set your default branch
permissions:
contents: write
pull-requests: write
jobs:
release:
name: Release by DX Heroes
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: dxheroes/gh-action-auto-release@v1
with:
release-type: ruby
package-name: prs-test-ruby-lib
env:
RUBYGEMS_API_KEY: ${{ secrets.RUBYGEMS_API_KEY }}
```
<!-- {x-release-please-end} -->
## Advanced usage
### Arguments for the action
- `release-type` - Type of the release. Default: `node`
- `package-name` - Name of the package. Required.
- You can also set other `release-please` arguments. See [release-please documentation](https://github.com/google-github-actions/release-please-action#configuration) for more information.
### Get notified about new releases
#### Slack
Just add this env variable to your workflow:
```yaml
env:
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }}
```
[Please request other platforms in the issues](https://github.com/DXHeroes/gh-action-auto-release/issues)
Example of setting up Slack notifications for node.js package:
<!-- {x-release-please-start-major} -->
```yaml
name: Release
on:
push:
branches:
- main # set your default branch
permissions:
contents: write
pull-requests: write
jobs:
release:
name: Release by DX Heroes
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: dxheroes/gh-action-auto-release@v1
with:
release-type: node
package-name: prs-test-js-lib # replace with your package name
env:
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }} ## Configure SLACK_WEBHOOK_URL
```
<!-- {x-release-please-end} -->
### Customize package path when using monorepo or is not in the root directory
Set `working-directory` to the path of the package. For example:
```yaml
name: Release
on:
push:
branches:
- main # set your default branch
permissions:
contents: write
pull-requests: write
jobs:
release:
name: Release by DX Heroes
runs-on: ubuntu-latest
defaults:
run:
working-directory: libraries/js-lib # replace with your package path
steps:
# ...
```
## Contributing
All contributions are welcome. Please create an issue or submit a pull request.
| This GitHub action automatically creates a release in a PR and, after merging, publishes your package to the supported package registry and notifies you of the release in Slack. | automation,github-actions,javascript,php,release,release-automation,ruby,sdk,slack,conventional-commits | 2023-09-21T07:20:40Z | 2023-11-15T21:16:01Z | 2023-11-15T21:05:43Z | 1 | 22 | 104 | 0 | 0 | 2 | null | null | TypeScript |
rtnAyush/dbms-miniproject | main | # Mess Buddy
🚀 Hello All! Our team just wrapped up an incredible journey implementing a DBMS mini-project assigned by our college faculty. 🎉 Presenting our full-stack application with a tech stack that's nothing short of powerful:
### 🌐 Backend:
- NodeJs
- ExpressJs
- Typescript
- Prisma ORM
### 🖥 Frontend:
- ReactJs
- JavaScript
### DataBase:
- PostgreSQL
### 🚀 Features:
- Google Auth for seamless student login(for institute email only)
- Admin login for enhanced security
- Sleek dashboard for easy navigation
- Intelligent attendance marking system( checks include is in correct mess time, is there any repeatative mark , is inside the mess radius (all handle by backend) )
- Geolocation Api magic to send latitude and longititude of user when he hits the present option for calculation of distance ,using haversign formula, between the mess and student.
- Live mess menu according to Date.
- User-friendly complaint system with upvoting/downvoting
### 👩💻 Admin Options:
- Database insights
- View/add/delete mess menu for specific day
- Daily attendance statistics
### 🌐 Hosted On:
- Frontend: Netlify
- Backend: Render
- Database: Elephant SQL (PostgreSQL)
### 📚 Documentation:
- Swagger for API docs
- Prisma ORM for PostgreSQL magic
- ER diagram via prisma-erd-generator
Massive shoutout to my incredible team! 🙌
Pranshu Goyal
Ravish Kumar
Chintan Jain
Aswajit k.k.
Check out our creation at <https://mess-buddy.netlify.app/>
| see api docs at https://mess-buddy-api.onrender.com/api/docs/ | express,javascript,mern,nodejs,prisma,prisma-orm,reactjs,typescript | 2023-09-23T16:32:39Z | 2023-11-11T19:05:18Z | null | 6 | 76 | 135 | 0 | 2 | 2 | null | null | JavaScript |
melkamu372/React-shopping-cart-app | main | # React-shopping-cart-app
A simple shopping cart application built with React.
| A simple shopping cart application built with React. | bootstrap5,javascript,react,restful-api | 2023-09-21T06:55:51Z | 2023-09-29T13:43:02Z | null | 1 | 1 | 2 | 0 | 0 | 2 | null | MIT | JavaScript |
vaibhav-panwar/Chess-Battles | main | # Chess Battles

Welcome to the README for the Chess Battles project! This document provides an overview of the project, the technology stack used, deployment links, and includes screenshots to help you understand the project better.
## Introduction
The Chess Battles project is an online platform that allows users to play chess with multiple players across the globe in real-time. It's a modern twist on the classic chess game, enabling players to compete with each other regardless of their geographical locations. Also it allows users to chat and connect on video call with each other.
## Technology Stack
The project is built using a variety of technologies to ensure smooth functionality and an intuitive user experience:
- **Frontend**: The frontend is developed using **HTML**,**CSS** and **Javascript** .
- **Backend**: The backend is powered by **Node.js** and **Express.js**, providing a robust server structure. This enables real-time communication between players, manages game state, and ensures a smooth multiplayer experience.
- **WebSocket**: Real-time communication is achieved using **WebSocket**, enabling instant updates of moves and game state between players.
- **Database**: The game's data, user profiles, and game history are stored in a **MongoDB** database. This allows for efficient data management and retrieval.
## Deployment Links
- **Frontend Deployment**: The frontend of the Multilayer Chess Game is deployed on **Netlify**. You can access it [here](https://whimsical-marshmallow-d2310e.netlify.app/).
- **Backend Deployment**: The backend is deployed on **Heroku** to ensure a seamless multiplayer experience. Visit the backend at [https://chess-battles.onrender.com/].
## Screenshots
Here are some screenshots showcasing the different aspects of the Multilayer Chess Game:
1. **Homepage**: The landing page provides contains login and SignUp option for the game.

2. **Options**:After login you get two options to play , play with a friend and playe with computer bot

3. **Game Lobby**: Players can create or join game rooms in the lobby also they can enter their gamin username.

4. **Chessboard**: The interactive chessboard allows players to make moves seamlessly.

5. **Interaction**: Players can also chat and share video with each other.

6. **Chess Bot**: You can also play with computer chess bot in real time.

Feel free to explore the deployed links to experience the Multilayer Chess Game firsthand!
## Get Started
To run the project locally, follow these steps:
1. Clone the repository: `git clone https://github.com/vaibhav-panwar/Chess-Battles`
2. Open the Backend Folder to get your backend running
3. Install dependencies: `npm install`
4. Start the development server: `npm start`
Make sure to configure the backend URL in the frontend code for local development.
---
We hope you enjoy playing the Multilayer Chess Game as much as we enjoyed building it! If you have any questions, feedback, or issues, please don't hesitate to [contact us](p.vaibhav7499@gmail.com). Happy gaming!
| Chess-Battles: Elevate chess battles with live video interaction, chat, and AI opponents. Enter room number to challenge players worldwide. | cors,css,express,html,javascript,media-queries,nodejs,passportjs,socket-io,webrtc | 2023-09-17T09:59:31Z | 2023-10-05T03:49:47Z | null | 1 | 0 | 4 | 0 | 0 | 2 | null | null | JavaScript |
imparag28/Sketch_board | master | # Sketch Board App
Sketch Board App is a real-time collaborative drawing web application built with JavaScript, Canvas API, Socket.IO, and Express. It enables users to create digital sketches together in real-time.
## Features
- **Real-time Collaboration:** Multiple users can draw together in real-time.
- **Customizable Brushes:** Choose from a variety of brushes and customize their size and color.
- **Responsive Design:** The app is designed to work seamlessly on different devices and screen sizes.
- **Cross-browser Compatibility:** Compatible with major web browsers.
## Demo
[Link to Live Demo](https://your-live-demo-link.com)
## Screenshots


## Installation
1. Clone the repository:
| Sketch Board App is a real-time collaborative drawing web application built with JavaScript, Canvas API, Socket.IO, and Express. It enables users to create digital sketches together in real-time. | canvas,css3,expressjs,html5,javascript,nodejs | 2023-10-01T17:41:42Z | 2023-10-19T13:01:36Z | null | 1 | 0 | 5 | 0 | 0 | 2 | null | null | JavaScript |
zhenghui-su/handwriting-create-react-app | master | ## 从零手写 create-react-app
前置知识:
+ yarn包管理
+ workspace工作区知识概念
+ Monorepo知识概念
### 初始化
一些知识科普讲解
+ Lerna 是一个用于管理具有多个包(packages)的 JavaScript 项目的工具。在一个大型 JavaScript 项目中,通常会有多个独立的模块或包,这些包可能相互依赖,或者需要一起发布。
+ 工作区(Workspace)通常是指在一个项目中,可以同时处理多个相关联的子项目(packages,modules等),而不需要将它们分别作为独立的项目来处理。在软件开发领域,工作区通常是指一个包含了多个子项目的项目容器,这些子项目可以共享一些配置、依赖关系和构建流程。
+ Monorepo是 "单一代码仓库"(Monorepository)的缩写,它是一种软件开发的组织结构模式,其中所有项目或者库的代码都放在一个单一的版本控制仓库中。通常,这种仓库包含了多个相关的项目、库或者组件,这些项目可能共享某些代码、依赖关系或者配置。
全局安装 lerna
```bash
npm i lerna@3.22.1 -g
```
输入如下检测是否安装成功
```bash
lerna -v
```
在要创建的文件夹,打开终端,输入如下初始化
```bash
lerna init
```
打开后,这里我用 **yarn**管理,终端输入
```bash
yarn install
```
两个作用:安装lerna和它的依赖,在根目录的node_modules里面创建软链接,链向各个packages中的各个包
> yarn 支持workspace npm只有在7版本以上支持
>
> yarn workspace VS lerna
>
> yarn重点在于包管理、处理依赖和软链
>
> lerna重点在于多个项目管理和发布
然后创建 packages 文件夹(workspace),最终形成的初始文件目录如下

### 创建 package
##### 创建 create-react-app
在终端输入,然后在协议(license)改为 MIT,入口(main)改为`index.js`其它不变
```bash
lerna create create-react-app
```
然后进入,把一些无用的删除,最终形成如下

##### 创建react-scripts
终端输入
```bash
lerna create react-scripts
```
##### 创建cra-template
终端输入
```bash
lerna create cra-template
```
##### 查看工作包
终端输入
```bash
yarn workspaces info
```

最终形成的结构图如下

### 添加依赖
在添加之前记得要设置为淘宝源,不然可能会安装很慢
安装如下依赖
```bash
yarn add chalk cross-spawn fs-extra --ignore-workspace-root-check
```
> - **chalk:** `chalk` 是一个用于在终端中添加颜色和样式的库。它允许你在命令行界面中使用不同的颜色和样式来输出文本,使得输出更加清晰和易读。
> - **cross-spawn:** `cross-spawn` 是一个用于跨平台(Windows、Linux、Mac 等)运行子进程的库。它解决了在不同操作系统下创建子进程的差异性,使得在 Node.js 环境中能够一致地运行子进程。
> - **fs-extra:** `fs-extra` 是 Node.js 的文件系统模块(`fs` 模块)的扩展,提供了更多的功能和便捷的方法,使得文件和目录的操作更加容易和灵活。
> - **--ignore-workspace-root-check**:这是 `yarn add` 命令的一个选项。当你在一个使用 Yarn 工作区(Workspace)的项目中执行 `yarn add` 命令时,默认情况下 Yarn 会检查你是否在工作区的根目录(root)中运行该命令。如果你使用了 `--ignore-workspace-root-check` 选项,Yarn 将忽略这个检查,允许你在工作区的任意位置执行 `yarn add` 命令。
在lerna里面,packages里面的各个会在node_modules里面形成符号链接即软链,这样可以在别的package中访问另一个package

然后可以根据工作空间安装如下依赖
```bash
yarn workspace create-react-app add commander
```
> `commander` 是一个用于构建命令行界面(CLI)的 Node.js 框架。它可以帮助开发者轻松地构建复杂和易用的命令行工具,提供了处理命令行参数、解析用户输入、显示帮助信息等功能
### createReactApp.js文件
在根目录`package.json`添加脚本命令
```json
"scripts": {
"create-react-app": "node ./packages/create-react-app/index.js"
}
```
在`packages`中的`create-react-app`文件夹的`index.js`文件更改
```js
const { init } = require('./createReactApp');
init();
```
在`create-react-app`文件夹中新建`createReactApp.js`文件
> 由于接下来我们需要用到刚刚安装的依赖,我们可以快速学习一下
```js
const chalk = require('chalk');
const {Command} = require('commander');
let program = new Command('create-react-app');
program
.version('1.0.0') // 设置版本号
.arguments('<must1> <must2> [option1] [option2]')//设置命令行的参数格式 <>表示必选 []表示可选
.usage(`${chalk.green(`<must1> <must2> [option1] [option2]`)}`) // 设置用法说明,改颜色
.action((must1,must2,option1,option2)=>{ // 指令命令的行为
})
```
#### init函数
然后我们开始写`createReactApp.js`文件
```js
const { Command } = require('commander');
const packageJSON = require('./package.json');
const chalk = require('chalk');
function init() {
let projectName;
new Command(packageJSON.name) // 项目名
.version(packageJSON.version) // 版本号
.arguments('<project-directory>') // 项目的目录名
.usage(`${chalk.green('<project-directory>')} [options]`)
.action(name => {
projectName = name;
})
.parse(process.argv); // [node完整路径,当前node脚本的路径,...其它参数]
console.log('projectName',projectName);
}
module.exports = {
init
}
```
如果报错等,可以修改`package.json`文件的chalk,高版本可能有错
```json
"dependencies": {
"chalk": "^4.1.2",
}
```
在终端运行如下测试是否成功
> -- 后面代码传参
```bash
npm run create-react-app -- myApp
```
此处我们传入项目名,最终终端会输出 myApp
```bash
projectName myApp
```
#### createApp函数
然后在`createReactApp.js`中创建createApp函数,在init中添加,并修改init为async
```js
async function init() {
... // 上面代码搬运下来
createApp(projectName)
}
```
> 这里用到了path模块和fs-extra模块
```js
async function createApp(appName) { // projectName = appName
let root = path.resolve(appName); // 得到将生成项目绝对路径
fs.ensureDirSync(appName);// 保证此目录是存在的,如果不存在则创建
console.log(`Creating a new React app in ${chalk.green(root)}.`);
const packageJSON = {
name: appName,
version: '0.1.0',
private: true
}
// 写入
fs.writeFileSync(
path.join(root, 'package.json'),
JSON.stringify(packageJSON, null, 2)
);
const originalDirectory = process.cwd(); // 原始的命令工作目录
process.chdir(root); // change directory 改变工作目录
console.log('appName',appName);
console.log('root',root);
console.log('originalDirectory', originalDirectory);
}
```
在终端执行,就会生成一个文件夹myApp并有一个package.json文件了
```bash
npm run create-react-app -- myApp
```

> 扩展 JSON.stringify
>
> 如下代码
>
> ```js
> let obj = {name:'chenchen',age:20};
> let result = JSON.stringify(obj,replacer,2); // replacer 替换器 2 为缩进空格
> function replacer(key,value){
> console.log(key,value);
> if(key == 'age') return value*2;
> return value;
> }
> console.log(result);
> ```
>
> 打印结果如下
>
> ```bash
> {name:'chenchen',age:20} //原始的obj
> name chenchen // replacer的console.log(key,value);
> age 10 // replacer的console.log(key,value);
> {
> "name":"chenchen", //前面的缩进就是上面定义的2空格
> "age":20
> } // 替换后结果
> ```
#### run函数
在createApp函数最后加上执行run函数
```js
async function createApp(appName) {
...//上面代码
await run(root, appName, originalDirectory);
}
```
创建run函数
```js
async function run(root, appName, originalDirectory) {
let scriptName = 'react-scripts'; // create生成的代码里 源文件编译,启动服务放在了react-scripts
let templateName = 'cra-template';
const allDependencies = ['react', 'react-dom', scriptName, templateName];
console.log('Installing packages. This might take a couple of minutes.');
// Installing react, react-dom, and react-scripts with cra-template
console.log(
`Installing ${chalk.cyan('react')}, ${chalk.cyan(
'react-dom'
)}, and ${chalk.cyan(scriptName)}${` with ${chalk.cyan(templateName)}`}...`
);
await install(root,allDependencies);
}
```
#### install函数
> 这里用到了cross-spawn模块,记得导入
创建install函数
```js
async function install(root,allDependencies) {
return new Promise(resolve =>{
const command = 'yarnpkg'; //yarnpkg = yarn
const args = ['add', '--exact', ...allDependencies, '--cwd', root];
console.log(command,args);
const child = spawn(command, args, { stdio: 'inherit' });//stdio = 'inherit' 表示子进程的输出会直接打印到父进程中
child.on('close',resolve); // 回调执行
})
}
```
> `cross-spawn` 是一个用于跨平台(Windows、Linux 和 macOS)的 Node.js 包,用于跨平台地启动子进程。
>
> ```js
> const child = spawn('npm', ['install', 'some-package']);
> ```
>
> 换成这个就熟悉了吧
#### executeNodeScript函数
> 拷贝模板的文件
在run函数中补充
```js
async function run(root, appName, originalDirectory) {
...//上面代码
//项目根目录 项目名字 verbose是否显示详细信息 原始的目录 模板名称cra-template
let data = [root, appName, true, originalDirectory, templateName];
let source = `
const init = require('react-scripts/scripts/init.js');
init.apply(null, JSON.parse(process.argv[1]));
`;
await executeNodeScript({cwd:process.cwd()},data,source);
console.log('Done.');
process.exit(0); //退出
}
```
创建executeNodeScript函数
```js
async function executeNodeScript({ cwd }, data, source) {
return new Promise((resolve) => {
const child = spawn(
process.execPath,//node可执行文件的路径
['-e', source, '--', JSON.stringify(data)],
{ cwd, stdio: 'inherit' }
);
child.on('close', resolve);
});
}
```
> 上述简化的意思是通过node执行脚本
>
> 即把data里面的数据放到了node后面
>
> 如下,执行出来就是输出aaa
>
> ```bash
> node -e "console.log('aaa')"
> ```
>
> process.argv是一个包含命令行参数的数组
>
> ```bash
> node -e "console.log(process.argv)" -- a b c
> ```
>
> 如下输出 就会发现上面abc也带入了
>
> ```bash
> ['C:\\Progaram Files\\nodejs\\node.exe','a','b','c']
> ```
此时基本完成,我们在终端输入
```bash
npm run create-react-app -- bbb
```
安装上述的四个模块

拷贝模板文件到bbb文件夹下

然后会删除cra-template模块因为拷贝完了

最终安装成功,`cd bbb`切换到bbb文件夹,输入`yarn start`查看是否启动成功

查看bbb文件目录,发现和我们平时用cra创建的一样

**至此手写create-react-app已完成**
### 手写react-scripts编译
> create-react-app流程
>
> + 执行命令
> + 创建了一个React项目
> + 安装依赖包
> + 初始化git,拷贝模板,安装模板依赖
> + 移除模板,成功

#### react-scripts.js
##### 初始化
在package.json中配置
```js
"bin": {
"react-scripts": "./bin/react-scripts.js"
},
```
在根目录的package.json配置
```js
"scripts": {
"create-react-app": "node ./packages/create-react-app/index.js",
"build": "cd packages/react-scripts && node bin/react-scripts.js build"
}
```
在`react-scripts`文件夹创建bin文件夹,并创建`react-scripts.js`文件
```js
console.log("done");
```
终端执行`npm run build`,输出`done`证明成功
##### 书写
在`react-scripts`文件夹下新建`scripts`文件夹,并创建`build.js`文件
```js
console.log('build.js')
```
书写`react-scripts.js`文件
```js
// 开启子进程
const spawn = require('cross-spawn');
// 获取命令行参数 ['build']
const args = process.argv.slice(2);
const script = args[0]; // build
// 以同步方式开始子进程执行scripts下面的build.js脚本
spawn.sync(
process.execPath, // node的可执行文件路径
[require.resolve('../scripts/' + script)],// 执行对应命令的文件如build.js
{ stdio: 'inherit' } // 让父进程和子进程共享输入输出
)
```
根目录终端输入`npm run build`,输出`build.js`证明成功
#### build.js
在`react-scripts`文件夹下新建`config`文件夹,并创建`webpack.config.js`文件和`path.js`文件
> 在根目录下缺少什么依赖就安装什么依赖,如@babel/preset-react
```js
/**
* 生产webpack配置文件工厂
* @param {*} webpackEnv 环境信息 development production
*/
const path = require('path');
const paths = require('./paths');
const HtmlWebpackPlugin = require('html-webpack-plugin');
module.exports = function (webpackEnv) {
const isEnvDevelopment = webpackEnv === 'development'; // 是否是开发环境
const isEnvProduction = webpackEnv === 'production'; // 是否是生产环境
return {
mode: isEnvProduction ? 'production' : isEnvDevelopment && 'development',
output: {
path: paths.appBuild
},
module: {
rules: [
{
test: /\.(js|jsx|ts|tsx)$/,
include: paths.appSrc, //只转译src目录下面的文件
use: [{
loader: 'babel-loader',
options: {
presets: ['@babel/preset-react']
}
}]
}
]
},
plugins: [
new HtmlWebpackPlugin({
inject: true,
template: paths.appHtml
})
]
}
}
```
```js
const path = require('path');
const appDirectory = process.cwd();//当前的工作目录
// 接收一个相对路径,返回一个从应用目录出发的绝对路径
const resolveApp = relativePath => path.resolve(appDirectory, relativePath);
module.exports = {
appBuild: resolveApp('build'),// 指向打包后的输出目录 webpack默认是dist
appHtml: resolveApp('public/index.html'), // html模板给html-webpack-plugin用的
appIndexJs: resolveApp('src/index.js'),// 默认的入口文件
appPublic: resolveApp('public')
}
```
**书写build.js文件**
```js
// 1.设置环境变量为生产环境
process.env.NODE_ENV = 'production'
const fs = require('fs-extra');//加强版的fs
const webpack = require('webpack');
// 2.获取webpack的配置文件
const configFactory = require('../config/webpack.config');
const paths = require('../config/paths');
const chalk = require('chalk');
const config = configFactory('production');
// 3.如果build目录不为空,要把build目录清空
fs.emptyDirSync(paths.appBuild);
// 4.拷贝public下面的静态文件到build目录
copyPublicFolder();
build();
function build() {
// compiler是总的编译对象
let compiler = webpack(config);
// 开始启动编译
compiler.run((err, stats) => {
console.log(err);
console.log(stats);//它是一个描述对象,描述本次打包出来的结果
console.log(chalk.green('Compiled successfully!'));
});
}
function copyPublicFolder() {
fs.copySync(paths.appPublic, paths.appBuild, {
filter: file => file !== paths.appHtml // index.html文件交由插件编译处理,它不需要拷贝
});
}
```
在react-scripts目录随意创建public和src,public创建index.html并添加id为root的div,src创建index.js并输入如下
```js
import React from 'react';
import ReactDom from 'react-dom';
ReactDom.render(<h1>Hello World</h1>, document.getElementById('root'));
```
在react-scripts中修改package.json,并安装
```json
"dependencies": {
"@babel/core": "^7.16.0",
"@pmmmwh/react-refresh-webpack-plugin": "^0.5.3",
"@svgr/webpack": "^5.5.0",
"babel-jest": "^27.4.2",
"babel-loader": "^8.2.3",
"babel-plugin-named-asset-import": "^0.3.8",
"babel-preset-react-app": "^10.0.1",
"bfj": "^7.0.2",
"browserslist": "^4.18.1",
"camelcase": "^6.2.1",
"case-sensitive-paths-webpack-plugin": "^2.4.0",
"css-loader": "^6.5.1",
"css-minimizer-webpack-plugin": "^3.2.0",
"dotenv": "^10.0.0",
"dotenv-expand": "^5.1.0",
"eslint": "^8.3.0",
"eslint-config-react-app": "^7.0.1",
"eslint-webpack-plugin": "^3.1.1",
"file-loader": "^6.2.0",
"fs-extra": "^10.0.0",
"html-webpack-plugin": "^5.5.0",
"identity-obj-proxy": "^3.0.0",
"jest": "^27.4.3",
"jest-resolve": "^27.4.2",
"jest-watch-typeahead": "^1.0.0",
"mini-css-extract-plugin": "^2.4.5",
"postcss": "^8.4.4",
"postcss-flexbugs-fixes": "^5.0.2",
"postcss-loader": "^6.2.1",
"postcss-normalize": "^10.0.1",
"postcss-preset-env": "^7.0.1",
"prompts": "^2.4.2",
"react-app-polyfill": "^3.0.0",
"react-dev-utils": "^12.0.1",
"react-refresh": "^0.11.0",
"resolve": "^1.20.0",
"resolve-url-loader": "^4.0.0",
"sass-loader": "^12.3.0",
"semver": "^7.3.5",
"source-map-loader": "^3.0.0",
"style-loader": "^3.3.1",
"tailwindcss": "^3.0.2",
"terser-webpack-plugin": "^5.2.5",
"webpack": "^5.64.4",
"webpack-dev-server": "^4.6.0",
"webpack-manifest-plugin": "^4.0.2",
"workbox-webpack-plugin": "^6.4.1"
},
"devDependencies": {
"react": "^18.0.0",
"react-dom": "^18.0.0"
},
"optionalDependencies": {
"fsevents": "^2.3.2"
},
"peerDependencies": {
"react": ">= 16",
"typescript": "^3.2.1 || ^4"
},
"peerDependenciesMeta": {
"typescript": {
"optional": true
}
},
"browserslist": {
"production": [
">0.2%",
"not dead",
"not op_mini all"
],
"development": [
"last 1 chrome version",
"last 1 firefox version",
"last 1 safari version"
]
}
```
随后终端输入`npm run build`,成功打包,生成build目录里面有所创建的压缩文件
#### start命令
根目录package.json配置,与build一样
```js
"start": "cd packages/react-scripts && node bin/react-scripts.js start"
```
在在react-scripts的config里新建webpackDevServer.config.js
```js
module.exports = function () {
return {
hot: true // 热更新
}
}
```
在react-scripts的scripts里新建start.js
```js
// 1.设置环境变量为开发环境
process.env.NODE_ENV = 'development';
// 2.获取配置文件的工厂
const configFactory = require('../config/webpack.config');
const config = configFactory('development');
//3.创建compiler编译对象
const chalk = require('chalk');
const webpack = require('webpack');
// @ts-ignore
const compiler = webpack(config);
// 4.获取devServer的配置对象
const createDevServerConfig = require('../config/webpackDevServer.config');
const serverConfig = createDevServerConfig();
const webpackDevServer = require('webpack-dev-server');
/**
* 1.内部会启动compiler的编译
* 2.会启动一个http服务器并返回编译后的结果
*/
const devServer = new webpackDevServer(compiler, serverConfig);
// 启动一个HTTP开发服务器,监听3000端口
devServer.listen(3000, 'localhost', () => {
console.log(chalk.cyan('Starting the development server...'))
});
```
在终端输入`npm run start`就会看到我们上面创建index.js所要显示的Hello World
**至此build和start命令我们都完成了,下面有源码讲解,如果上面有点吃力,建议再加深知识后来查看。**
## 源码解析
### react-scripts.js源码
```js
'use strict';
// 使脚本在未处理的拒绝时崩溃,而不是静默
// 忽略它们。将来,未处理的promise拒绝将使用非零退出代码终止Node.js进程。
process.on('unhandledRejection', err => {
throw err;
});
const spawn = require('react-dev-utils/crossSpawn');
const args = process.argv.slice(2);
// 找到命令所在索引
const scriptIndex = args.findIndex(
x => x === 'build' || x === 'eject' || x === 'start' || x === 'test'
);
const script = scriptIndex === -1 ? args[0] : args[scriptIndex];
const nodeArgs = scriptIndex > 0 ? args.slice(0, scriptIndex) : [];
if (['build', 'eject', 'start', 'test'].includes(script)) {
const result = spawn.sync(
process.execPath,
nodeArgs
.concat(require.resolve('../scripts/' + script))
.concat(args.slice(scriptIndex + 1)),
{ stdio: 'inherit' }
);
if (result.signal) {
if (result.signal === 'SIGKILL') {
console.log(
'The build failed because the process exited too early. ' +
'This probably means the system ran out of memory or someone called ' +
'`kill -9` on the process.'
);
} else if (result.signal === 'SIGTERM') {
console.log(
'The build failed because the process exited too early. ' +
'Someone might have called `kill` or `killall`, or the system could ' +
'be shutting down.'
);
}
process.exit(1);
}
process.exit(result.status);
} else {
console.log('Unknown script "' + script + '".');
console.log('Perhaps you need to update react-scripts?');
console.log(
'See: https://facebook.github.io/create-react-app/docs/updating-to-new-releases'
);
}
```
| 手写实现create-react-app,start和build命令,内有教学md | javascript,lerna,lerna-monorepo,react,reactjs,webpack,webpack-dev-server,yarn-workspaces,yarnpkg | 2023-10-04T15:05:24Z | 2023-10-05T10:22:24Z | null | 1 | 0 | 27 | 0 | 0 | 2 | null | null | JavaScript |
luanaxcardoso/piano | main | # 🎹 Piano Virtual
# Pode tocar utilizando o mouse ou o teclado
https://github.com/luanaxcardoso/piano/assets/112970416/d1e85954-d881-4f1c-b066-8de44572e2db
| 🎹 Bootcamp DIO 🎹 | javascript,piano,piano-keyboard | 2023-10-03T02:50:39Z | 2023-10-03T13:09:28Z | null | 1 | 1 | 5 | 0 | 0 | 2 | null | GPL-3.0 | CSS |
ChenHCY/MetaFrontEndCourse | main | # Meta Front-End Developer Professional Course
Launch your career as a front-end developer.
· Create a responsive website using HTML to structure content, CSS to handle visual style, and JavaScript to develop interactive experiences.
· Learn to use React in relation to Javascript libraries and frameworks.
· Learn Bootstrap CSS Framework to create webpages and work with GitHub repositories and version control.
**1. Introduction to Front-End Development**
[Licenses & Certifications](https://www.coursera.org/account/accomplishments/certificate/VRWTN446XDHB)
**2. Programming with JavaScript**
[Licenses & Certifications](https://www.coursera.org/account/accomplishments/certificate/7VKLXVJSA5QQ)
**3. Version Control**
[Licenses & Certifications](https://www.coursera.org/account/accomplishments/certificate/NMF6HRZY6RNH)
**4. HTML and CSS in Depth**
[Licenses & Certifications](https://www.coursera.org/account/accomplishments/certificate/MPLB5ZKJBDSN)
**5. React Basics**
[Licenses & Certifications](https://www.coursera.org/account/accomplishments/certificate/QW7BGJ253CY6)
**6. React Advance**
[Licenses & Certifications](https://www.coursera.org/account/accomplishments/certificate/HMU934AN3FZL)
**7. Principles of UX/UI Design**
[Licenses & Certifications](https://www.coursera.org/account/accomplishments/certificate/4E6RZF6ZBMQT)
| Meta Front End Developer Professional Certificate | bootstrap,css,frontend,html,javascript,meta,reactjs,sass,react-hooks,react-middleware | 2023-10-05T04:50:36Z | 2024-01-17T07:44:37Z | null | 1 | 0 | 170 | 0 | 0 | 2 | null | null | Java |
tavareshenrique/ignite-call | main | <h1 align="center">
<img alt="Ignite Timer Logo" title="Ignite Logo" src="https://raw.githubusercontent.com/tavareshenrique/ignite-reactjs-v2/24efd9633c9496e560e7d9a01ebc7732b5537562/06-ignite-call/public/logo.svg" width="120px" />
</h1>
<p align="center">
<img alt="Last commit on GitHub" src="https://img.shields.io/github/last-commit/tavareshenrique/ignite-call?color=3bb37e">
<img alt="Made by Henrique Tavares" src="https://img.shields.io/badge/made%20by-Henrique Tavares-%20?color=3bb37e">
<img alt="Project top programing language" src="https://img.shields.io/github/languages/top/tavareshenrique/ignite-call?color=95dac2">
<img alt="Repository size" src="https://img.shields.io/github/repo-size/tavareshenrique/ignite-call?color=95dac2">
<img alt="GitHub license" src="https://img.shields.io/github/license/tavareshenrique/ignite-call?color=95dac2">
</p>
<p align="center">
<a href="#information_source-como-executar">ℹ️ Como Executar?</a> |
<a href="#rocket-tecnologias">🚀 Tecnologias</a> |
<a href="#computer-autores">💻 Autores</a> |
<a href="#memo-licença">📝 Licença</a>
</p>
<p align="center">
O <b>Ignite Call</b> é o projeto do quinto módulo do curso Ignite ReactJS da Rocketseat. Trata-se de uma aplicação focada na criação de eventos personalizados no calendário do usuário, onde você cadastra sua disponibilidade em dias e horas e compartilha com as pessoas.
</p>
---
<p align="center">
<table>
<tr>
<td>
<img alt="Home" src="https://raw.githubusercontent.com/tavareshenrique/ignite-reactjs-v2/main/06-ignite-call/src/assets/previews/Screenshot%202023-10-16%20at%2007.01.34.png" width="800px" />
</td>
<td>
<img alt="Tela de Cadastro de Usuário" src="https://raw.githubusercontent.com/tavareshenrique/ignite-reactjs-v2/main/06-ignite-call/src/assets/previews/Screenshot%202023-10-16%20at%2007.01.48.png" width="800px" />
</td>
</tr>
</table>
</p>
<p align="center">
<table>
<tr>
<td>
<img alt="Tela de Conexão com o Google Calendar" src="https://raw.githubusercontent.com/tavareshenrique/ignite-reactjs-v2/main/06-ignite-call/src/assets/previews/Screenshot%202023-10-16%20at%2007.01.56.png" width="800px" />
</td>
<td>
<img alt="Tela para escolher seus dias e horários disponíveis" src="https://raw.githubusercontent.com/tavareshenrique/ignite-reactjs-v2/main/06-ignite-call/src/assets/previews/Screenshot%202023-10-16%20at%2007.02.57.png" width="800px" />
</td>
</tr>
</table>
</p>
<p align="center">
<table>
<tr>
<td>
<img alt="Tela de Edição de Perfil" src="https://raw.githubusercontent.com/tavareshenrique/ignite-reactjs-v2/main/06-ignite-call/src/assets/previews/Screenshot%202023-10-16%20at%2007.03.19.png" width="800px" />
</td>
<td>
<img alt="Tela do Calendário para Agendamento de Hora" src="https://raw.githubusercontent.com/tavareshenrique/ignite-reactjs-v2/main/06-ignite-call/src/assets/previews/Screenshot%202023-10-16%20at%2007.03.30.png" width="800px" />
</td>
</tr>
</table>
</p>
---
> 🧪 Essa aplicação não possuirá **Testes Unitários**, **Integração** e **E2E** por não ser o foco do estudo, mas está pronta para ser executada.
# :information_source: Como Executar?
> **1.0.** Clone o Repositório:
```bash
https://github.com/tavareshenrique/ignite-call.git
```
> **1.1.** Informe as variáveis de ambiente
```bash
cp .env.example .env.local
```
> **1.2.** Instale as dependências:
```bash
npm install
```
> **1.3.** Inicie o Projeto:
```bash
npm run dev
```
> ➡️ Acesse [http://localhost:3000](http://localhost:3000) para acessar a aplicação web.
# :rocket: Tecnologias
- [React](https://pt-br.reactjs.org/)
- [NextJS](https://vitejs.dev/)
- [TypeScript](https://www.typescriptlang.org/)
- [Phosphor Icons](https://phosphoricons.com/)
- [ihenris UI](https://github.com/tavareshenrique/ihenrits-ui)
- [Axios](https://www.npmjs.com/package/axios)
- [DayJS](https://day.js.org/)
- [Google APIS](https://github.com/googleapis/google-api-nodejs-client)
- [Next Auth](https://next-auth.js.org/)
- [Next SEO](https://github.com/garmeeh/next-seo)
- [Nookies](https://www.npmjs.com/package/nookies)
- [Zod](https://zod.dev/)
- [Prisma](https://www.prisma.io/)
# :computer: Autores
<table>
<tr>
<td align="center">
<a href="http://github.com/tavareshenrique/">
<img src="https://avatars1.githubusercontent.com/u/27022914?v=4" width="100px;" alt="Henrique Tavares"/>
<br />
<sub>
<b>Henrique Tavares</b>
</sub>
</a>
<br />
<a href="https://www.linkedin.com/in/tavareshenrique/" title="Linkedin">@tavareshenrique</a>
<br />
<a href="https://github.com/tavareshenrique/go-barber-web-ts/commits?author=tavareshenrique" title="Code">💻</a>
</td>
<td align="center">
<a href="http://github.com/rocketseat/">
<img src="https://avatars.githubusercontent.com/u/28929274?s=200&v=4" width="100px;" alt="Logo da Rocketseat"/>
<br />
<sub>
<b>Rocketseat</b>
</sub>
</a>
<br />
<a href="http://github.com/rocketseat/" title="Linkedin">@rocketseat</a>
<br />
<a href="https://github.com/tavareshenrique/go-barber-web-ts/commits?author=tavareshenrique" title="Education Platform">🚀</a>
</td>
</tr>
</table>
# :memo: Licença
Este projeto está licenciado sob a licença MIT - veja o arquivo de [licença](./LICENSE) para mais detalhes. | O Ignite Call é o projeto do quinto módulo do curso Ignite ReactJS da Rocketseat. Trata-se de uma aplicação focada na criação de eventos personalizados no calendário do usuário, onde você cadastra sua disponibilidade em dias e horas e compartilha com as pessoas. | google-calendar,ignite,ignite-call,ignite-reactjs,ignite-rocketseat,javascript,react,rocketseat,schedule,scheduling | 2023-10-11T13:29:59Z | 2023-10-16T10:25:37Z | null | 1 | 0 | 5 | 0 | 0 | 2 | null | MIT | TypeScript |
MinersStudios/BullshitCore | main | # BullshitCore
Official MinersStudios' patented fork of Minecraft server code.
## How to run me
Assuming JDK is installed:
```sh
javac Bootstrap.java
java Bootstrap
```
that's all!
_Note:_ Compiled bootstrap won't work with the JVM that uses a lower Java version than one with which it was compiled.
| :dark_sunglasses: Official MinersStudios' patented fork of Minecraft server code. | javascript,minecraft | 2023-09-18T18:24:55Z | 2023-10-15T16:53:27Z | null | 4 | 0 | 9 | 1 | 1 | 2 | null | GPL-3.0 | Java |
sunil-kannan/Online_Restaurant_Reservation_Project | main | # Online_Restaurant_Reservation_Project
Simple Online table reservation and management system using Spring boot, Java, MySQL and Thyme leaf (Html, CSS, JavaScript, Jquery and Bootstrap). User can login and book their tables.
## Features
### Logging and Security
-> We all know that logging and security is the most important part of the web development.
-> In this project I included role based authentication, so that admin and manager can maintain the management system.
-> Every person(user) who is signing up will be allocated as Role_USER and there is only one manager who can able to change the authority(Role). Basically the manager comes under Role_MANAGER. There are some features which the manager and the admin can have the authority to access that end point. \
-> Passwords are stored in encrypted format so that we can prevent the password from the outsider.
### Database - MySQL
In this project I used MySQL as a database. With the help of Hibernate and JPA we can easily map all the objects in to the entities, because hibernate is ORM (Object Relational Mapping) tool so that we can easily store all the objects into the database. We just have to annotate some dependency and JPA will take care of the things.
### Roles and what can they do
#### :arrow_right: User
-> Register and Login \
->Book their slot
#### :arrow_right: Admin
-> Update the slot [localhost:9090/slots/addSlot](#)
#### :arrow_right: Manager
-> Update the users role [localhost:9090/users](#)
************************************************************************************************
## 💫 About Me:
As a fresh and enthusiastic Java full stack development student. Having a strong knowledge in OOPs, MySQL, and front end(Html, Css, Javascript) and having a good knowledge in Springboot framework.
<a href="https://github.com/sunil-kannan/github-readme-stats/actions">
<img alt="Tests Passing" src="https://github.com/sunil-kannan/github-readme-stats/workflows/Test/badge.svg" />
</a>
### 💻 Tech :
       
### 🌐 Socials:
[](https://linkedin.com/in/sunilkannan-sk)
## 📊 GitHub Stats:
<br/>
<br/>

---
[](https://visitcount.itsvg.in)
<!-- Proudly created with GPRM ( https://gprm.itsvg.in ) -->
| Simple Online table reservation and management system using Spring boot, Java, MySQL and Thyme leaf (Html, CSS, JavaScript, Jquery and Bootstrap). User can login and book their tables. | bootstrap5,css3,html5,java-8,javascript,jquery,mysql,spring-boot,spring-data-jpa,spring-mvc | 2023-09-24T10:05:09Z | 2024-02-12T05:32:16Z | null | 2 | 1 | 37 | 0 | 0 | 2 | null | null | HTML |
itsmdshahin/carseller-server | main | null | null | express,javascript,mongodb,nodejs,react | 2023-10-08T16:49:02Z | 2024-02-21T15:58:58Z | null | 1 | 0 | 15 | 0 | 0 | 2 | null | null | JavaScript |
RedMooner/nextjs-flask-clouderservice | master |
# nextjs-flask-clouders

# CLOUDER GPG ENGINE
<h3 align="left">Languages and Tools:</h3>
<p align="left"> <a href="https://flask.palletsprojects.com/" target="_blank" rel="noreferrer"> <img src="https://www.vectorlogo.zone/logos/pocoo_flask/pocoo_flask-icon.svg" alt="flask" 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://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.python.org" target="_blank" rel="noreferrer"> <img src="https://raw.githubusercontent.com/devicons/devicon/master/icons/python/python-original.svg" alt="python" 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> <a href="https://vuejs.org/" target="_blank" rel="noreferrer"> <img src="https://raw.githubusercontent.com/devicons/devicon/master/icons/vuejs/vuejs-original-wordmark.svg" alt="vuejs" width="40" height="40"/> </a> </p>
<h3 align="left">Description:</h3>
Clouder is a cloud storage system developed on the basis of Next technologies.js, React.js, Python and Flask. It offers users the ability to store their data in the cloud using data encryption using GPG keys.
Users can upload their files to the Clouder server and keep them safe. When uploading files, the system automatically encrypts them using GPG keys, which ensures a high level of security and data protection.
Clouder has a simple and intuitive interface that allows users to easily upload, download and manage their files. The system also provides the ability to create folders and organize your files in them.
Clouder uses Next technologies.js and React.js for creating a fast and responsive interface, as well as Python and Flask for processing requests and managing data on the server.
In general, Clouder is a reliable and secure cloud storage system that provides a high level of data protection
# Python packages
| Package | Version |
|---------------------|-----------|
| appdirs | 1.4.4 |
| blinker | 1.6.2 |
| caugetch | 0.0.1 |
| click | 8.1.7 |
| clipboard | 0.0.4 |
| colorama | 0.4.6 |
| Flask | 2.3.3 |
| Flask-Cors | 4.0.0 |
| Flask-JWT-Extended | 4.5.2 |
| fs | 2.4.16 |
| getpass4 | 0.0.14.1 |
| gnupg | 2.3.1 |
| greenlet | 2.0.2 |
| itsdangerous | 2.1.2 |
| Jinja2 | 3.1.2 |
| MarkupSafe | 2.1.3 |
| pip | 22.3.1 |
| psutil | 5.9.5 |
| PyJWT | 2.8.0 |
| pyperclip | 1.8.2 |
| python-gnupg | 0.5.1 |
| setuptools | 65.5.1 |
| six | 1.16.0 |
| SQLAlchemy | 2.0.21 |
| typing_extensions | 4.8.0 |
| Werkzeug | 2.3.7 |
| Clouder is a cloud storage system developed on the basis of Next technologies.js, React.js, Python and Flask. | client,client-server,cloudeng,clouder,cloudservices,drive,flask,javascript,js,jwt-authentication | 2023-09-22T06:51:43Z | 2023-11-08T06:51:56Z | null | 1 | 0 | 30 | 0 | 1 | 2 | null | null | Python |
Pa1mekala37/ReactJs-Music_playlist | main | The goal of this Repository is to quickly get you off the ground with **Lists and Keys**
### Refer to the image below:
<br/>
<div style="text-align: center;">
<video style="max-width:80%;box-shadow:0 2.8px 2.2px rgba(0, 0, 0, 0.12);outline:none;" loop="true" autoplay="autoplay" controls="controls" muted>
<source src="https://assets.ccbp.in/frontend/content/react-js/music-playlist-output.mp4" type="video/mp4">
</video>
</div>
<br/>
### Design Files
<details>
<summary>Click to view</summary>
- [Medium (Size >= 768px), Large (Size >= 992px) and Extra Large (Size >= 1200px) - Music Playlist](https://assets.ccbp.in/frontend/content/react-js/music-playlist-lg-output.png)
- [Medium (Size >= 768px), Large (Size >= 992px) and Extra Large (Size >= 1200px) - No Songs Found View](https://assets.ccbp.in/frontend/content/react-js/music-playlist-no-songs-found-lg-ouput.png)
</details>
### Set Up Instructions
<details>
<summary>Click to view</summary>
- Download dependencies by running `npm install`
- Start up the app using `npm start`
</details>
### Completion Instructions
<details>
<summary>Functionality to be added</summary>
<br/>
The app must have the following functionalities
- Initially, the list of given track items should be displayed with a delete button for each track item
- When a non-empty value with key `name` from the `initialTracksList` provided in the search input then display the track items which includes the search input irrespective of case
- When the delete button of a track item is clicked, the respective track item should be deleted from the list of track items
- When a non-empty value is provided in the search input element, and no track item includes the value given in the search input, then [No Songs Found View](https://assets.ccbp.in/frontend/content/react-js/music-playlist-no-songs-found-lg-ouput.png) should be displayed
- When all track items are deleted, then [No Songs Found View](https://assets.ccbp.in/frontend/content/react-js/music-playlist-no-songs-found-lg-ouput.png) should be displayed
- The App is provided with `initialTracksList`. It consists of a list of trackItem objects with the following properties in each trackItem object
| Key | Data Type |
| :------: | :-------: |
| id | String |
| imageUrl | String |
| name | String |
| genre | String |
| duration | String |
</details>
### Important Note
<details>
<summary>Click to view</summary>
<br/>
**The following instructions are required for the tests to pass**
- The `imageUrl` in each track item should have alt as **track**
- The delete button in the track item should have the `data-testid` as **delete**
</details>
### Resources
<details>
<summary>Image URLs</summary>
- [https://assets.ccbp.in/frontend/react-js/music-playlist/music-playlist-Edsheeran-bg.png](https://assets.ccbp.in/frontend/react-js/music-playlist/music-playlist-Edsheeran-bg.png) background-image URL
</details>
<details>
<summary>Colors</summary>
<br/>
<div style="background-color: #152850; width: 150px; padding: 10px; color: white">Hex: #152850</div>
<div style="background-color: #cbd5e1; width: 150px; padding: 10px; color: black">Hex: #cbd5e1</div>
<div style="background-color: #ffffff; width: 150px; padding: 10px; color: black">Hex: #ffffff</div>
<div style="background-color: #3b82f6; width: 150px; padding: 10px; color: black">Hex: #3b82f6</div>
<br/>
</details>
<details>
<summary>Font-families</summary>
- Roboto
</details>
> ### _Things to Keep in Mind_
>
> - All components you implement should go in the `src/components` directory.
> - Don't change the component folder names as those are the files being imported into the tests.
| ReactJs Music Playlist | jsx,reactjs,bootstrap5,javascript | 2023-09-18T10:15:45Z | 2023-09-19T09:12:38Z | null | 1 | 0 | 3 | 0 | 0 | 2 | null | null | JavaScript |
Pa1mekala37/ReactJs-Text-Editor | main | The goal of this coding exam is to quickly get you off the ground with **Dynamic Styling Using Styled Components**.
### Refer to the image below:
<br/>
<div style="text-align: center;">
<img src="https://assets.ccbp.in/frontend/content/react-js/text-editor-md-output-v2.png" alt="text-editor-output" style="max-width:70%;box-shadow:0 2.8px 2.2px rgba(0, 0, 0, 0.12)">
</div>
<br/>
### Design Files
<details>
<summary>Click to view</summary>
- [Medium (Size >= 768px), Large (Size >= 992px) and Extra Large (Size >= 1200px) - Text Editor](https://assets.ccbp.in/frontend/content/react-js/text-editor-md-output-v2.png)
</details>
### Set Up Instructions
<details>
<summary>Click to view</summary>
- Download dependencies by running `npm install`
- Start up the app using `npm start`
</details>
### Completion Instructions
<details>
<summary>Functionality to be added</summary>
<br/>
The app must have the following functionalities
- Initially, **#f1f5f9** color is applied to all the three **bold icon**, **italic icon**, **underline icon** buttons
- When the **bold icon** button is clicked,
- It will change to an active state by applying the **#faff00** color
- The **bold** font-weight is applied to the text in the HTML textarea element
- If the **bold icon** button is already in the active state,
- The respective button should be inactive by applying **#f1f5f9** color
- The **normal** font-weight is applied to the text in the HTML textarea element
- When the **italic icon** button is clicked,
- It will change to an active state by applying the **#faff00** color
- The **italic** font-style is applied to the text in the HTML textarea element
- If the **italic icon** button is already in the active state,
- The respective button should be inactive by applying **#f1f5f9** color
- The **normal** font-style is applied to the text in the HTML textarea element
- When the **underline icon** button is clicked,
- It will change to an active state by applying the **#faff00** color
- The **underline** text-decoration is applied to the text in the HTML textarea element
- If the **underline icon** button is already in the active state,
- The respective button should be inactive by applying **#f1f5f9** color
- The **normal** text-decoration is applied to the text in the HTML textarea element
- More than one button can be active at a time and more than one style can be applied to the text in the HTML textarea element
</details>
### Important Note
<details>
<summary>Click to view</summary>
<br/>
**The following instructions are required for the tests to pass**
- `VscBold`, `GoItalic` and `AiOutlineUnderline` icons from react-icons should be used for `bold`, `italic` and `underline` buttons respectively
- Wrap the `VscBold` component with an HTML button element and add the `data-testid` attribute value as `bold`
- Wrap the `GoItalic` component with an HTML button element and add the `data-testid` attribute value as `italic`
- Wrap the `AiOutlineUnderline` component with an HTML button element and add the `data-testid` attribute value as `underline`
**Example:**
```jsx
<Button data-testid="bold">
<VscBold size={25} />
</Button>
```
- Use `styled-components` for styling elements
</details>
### Resources
<details>
<summary>Image URLs</summary>
<br/>
- [https://assets.ccbp.in/frontend/react-js/text-editor-img.png](https://assets.ccbp.in/frontend/react-js/text-editor-img.png) alt should be **text editor**
</details>
<br/>
<details>
<summary>Colors</summary>
<br/>
<div style="background-color: #25262c; width: 150px; padding: 10px; color: white">Hex: #25262c</div>
<div style="background-color: #1b1c22; width: 150px; padding: 10px; color: white">Hex: #1b1c22</div>
<div style="background-color: #f8fafc; width: 150px; padding: 10px; color: black">Hex: #f8fafc</div>
<div style="background-color: #334155; width: 150px; padding: 10px; color: white">Hex: #334155</div>
<div style="background-color: #f1f5f9; width: 150px; padding: 10px; color: black">Hex: #f1f5f9</div>
<div style="background-color: #faff00; width: 150px; padding: 10px; color: black">Hex: #faff00</div>
<div style="background-color: #cbd5e1; width: 150px; padding: 10px; color: black">Hex: #cbd5e1</div>
</details>
<br/>
<details>
<summary>Font-families</summary>
- Roboto
</details>
> ### _Things to Keep in Mind_
>
> - All components you implement should go in the `src/components` directory.
| null | css,html,javascript,jsx,reactjs | 2023-09-27T15:28:21Z | 2023-09-27T15:28:55Z | null | 1 | 0 | 1 | 0 | 0 | 2 | null | null | JavaScript |
srupat/mad1 | main | ## MAD1
### Modern Application Developement I
> A repository where I dive into the fundamentals of creating and working of web applications, with a major focus on backend systems.
The major tools that have been used uptil now are :
- Flask
- SQL (sqlite3)
- Jinja
- other Flask libraries (e.g. Flask-SQLAlchemy, Flask-RESTful)
| Modern Application Developement I | backend,flask,flask-api,flask-application,flask-restful,flask-sqlalchemy,jinja2,sqlite3,javascript,flask-security | 2023-09-22T12:41:45Z | 2024-02-23T12:50:56Z | null | 1 | 0 | 34 | 0 | 1 | 2 | null | MIT | Python |
aBacoding/IT-2103_Abdurakhim_Bakytzhan_Blockchain_Assignment1 | main | # IT-2103_Abdurakhim_Bakytzhan_Blockchain_Assignment1
## Running Settings
1. `npm install crypto` - will install the necessary dependency (crypto)
2. `node main.js` - compiles the main javascript file and shows result in console
Course: Blockchain Technologies Assignment: Implementing a Basic Blockchain with Merkle Tree
Objective: The objective of this programming assignment is to introduce students to the fundamental concepts of blockchain technology and provide hands-on experience in implementing a basic blockchain system with the inclusion of a Merkle tree. This assignment does not require knowledge of dApps, Solidity, or smart contracts.
Instructions:
1. Investigate Blockchain Principles (5 points):
- Before starting the implementation, students should investigate blockchain
principles and working mechanisms by utilizing internet resources,
textbooks, or academic papers. Gain a solid understanding of how
blockchain technology functions.
**Answer:**
**Decentralization:** Unlike traditional systems where control is exercised by a single entity, in a blockchain, control is distributed among many computers (called nodes). Each of them has equal rights and access to all data.
**Immutability:** Once a transaction is added to the blockchain, it stays there forever. It cannot be changed or deleted, which keeps it honest and secure.
**Consensus Mechanisms:** There are methods to ensure that everyone agrees that transactions are valid. Common methods include Proof of Work and Proof of Stake.
**Smart Contracts:** These are a kind of digital contracts that automatically perform certain actions when conditions are met, without needing an intermediary.
**Cryptography:** Techniques to ensure the security of data and authenticity of transactions.
**Tokenization:** Assets can be turned into digital tokens on the blockchain, making them easy to exchange and transfer to different owners.
**Peer-to-Peer Network (P2P):** Blockchain operates on a peer-to-peer network, eliminating the need for intermediaries, thus reducing costs and speeding up the process.
**Verification:** The process of checking that transactions and data are real and follow the rules in a blockchain network. Transactions are checked by the nodes in the network for validity before being added to the block.
**Distributed:** Data and decisions are distributed across many computers, not just one. Everyone in the network has a copy of the ledger, so everything's transparent for all to see. Each computer, called a node, keeps a copy of all transactions and has a say in their verification. In this way, no one person or organization has complete control, making everything fairer and more secure.
2. Team Formation (Optional):
- Students have the option to form teams of up to 3 members for this
assignment.
**Answer:** I decided to do this assignment alone. My name is Abdurakhim Bakytzhan from group IT-2103.
3. Blockchain Implementation (Programming Task):
3.1 Define Blockchain Structure (10 points):
- Clear and complete definition of block structure.
**Answer:** Block structure, in terms of blockchain technology, is about the way data is arranged and structured within a block. Every block in a blockchain holds several transactions and metadata concerning the block itself. In particular, we can distinguish two main parts of a block - the block header and the block body.
**Block Header:**
a. Number: Specifies the version of the block format.
b. Previous Block Hash: A reference to the hash of the previous block in the chain, ensuring the integrity and order of the blocks in the blockchain.
c. Merkle Root: A hash of all the transactions included in the block, ensuring the integrity of transaction data.
d. Timestamp: A timestamp marking the time when the block was created.
e. Nonce: A changeable random value used to find a block hash that meets the proof-of-work criteria.
**Block Body:**
- Everything related to transactions is included directly in the block body. A transaction captures an event, like when cash is transferred from a sender's account to a receiver's account. Each transaction has its own structure, which includes, among other things, input, output, and amount.
3.7 Version Control (VCS) (10 points):
* Effective use of VCS, including regular commits by all team members.
**Answer:** As you can see, since I work alone, all the commits were made by me.
3.9 Final Review (5 points):
- Comprehensive review of the blockchain implementation.
**Answer:**
In my Block class, I've encapsulated the essential components that define a block in a blockchain. I have initialized key attributes such as index, previousHash, timestamp, transactions, and hash in the constructor, laying down a clear and concise structure for a block.
I implemented the genesis block creation through the createGenesisBlock method, ensuring a robust starting point for the blockchain. This is a crucial step that sets the stage for adding subsequent blocks to the chain.
With the addBlock method, I have effectively handled the addition of new blocks to the chain. Moreover, I've managed the previousHash linkage adeptly, ensuring the integrity of the blockchain as it expands.
I encapsulated transactions in the Transaction class and implemented createTransaction and processTransactions methods to handle transactions before they're consolidated into a block. While basic, this provides a pathway for more robust validation and processing of transactions in the future.
In the MerkleTree class, I introduced a mechanism for hashing transactions and organizing them into a tree structure, aligning with the principles of a Merkle Tree. The buildTree and hash methods were well thought out to optimize transaction verification.
I incorporated isBlockValid and isChainValid methods for basic validation, ensuring the integrity and correctness of the data within the blockchain. This is fundamental for maintaining trust and authenticity in the blockchain data.
I provided a simple console-based interface through the main.js script for interacting with the blockchain. Although basic, it demonstrates the core functionalities of my blockchain implementation effectively.
I have organized my code in a modular fashion across different files and classes, which will facilitate maintenance and future expansions. However, I acknowledge that more commentary within the code could enhance its readability and understandability.
To summarize, my blockchain implementation lays a solid foundation with well-structured and modular code. The core functionality is implemented well and there is a clear path for expansion and improvement, especially in areas such as transaction processing, error handling, user interface and performance optimization.
4. Demonstration and Q&A (Individual or Team Task) (15 points):
- Effective demonstration of blockchain functionality, including the Merkle tree.
* Clear and confident responses to questions related to the program's
functionality and contributions to the VCS.
**Answer:**
## Execution Output
The output generated from running the `node main.js` command has been saved in the `output.txt` file. Refer to [output.txt](output.txt) for the detailed execution log.
| Objective: The objective of this programming assignment is to introduce students to the fundamental concepts of blockchain technology and provide hands-on experience in implementing a basic blockchain system with the inclusion of a Merkle tree. This assignment does not require knowledge of dApps, Solidity, or smart contracts. | assignment,blockchain,javascript,js,merkle-tree | 2023-09-22T07:40:54Z | 2023-09-23T00:37:22Z | null | 1 | 0 | 24 | 0 | 0 | 2 | null | null | JavaScript |
Akshay1299/Travel_Advisory | main | # Travel Advisor Web App
## Project Description
Travel Advisor Web App is a MERN stack-based web application designed to help users share and explore travel experiences and reviews. With its user-friendly interface and the power of Google Maps integration, it allows users to effortlessly add and discover new destinations. This project is built using HTML, CSS, JavaScript, and Node.js and utilizes RESTful APIs for data retrieval and storage.
## Features
- **User Registration and Authentication**: Users can sign up, log in, and manage their accounts to contribute their own travel experiences and reviews.
- **Add Travel Experiences**: Users can share their travel experiences by providing details such as location, date, description, and images.
- **Explore and Discover**: The app enables users to search and explore a wide range of travel experiences and reviews shared by other users.
- **Google Maps Integration**: The project incorporates the Google Maps API to convert addresses into locations on the map, making it easier for users to visualize travel destinations.
- **User Reviews and Ratings**: Users can rate and review travel experiences, providing valuable insights to fellow travelers.
## Technologies Used
- HTML
- CSS
- JavaScript
- Node.js
- Express.js
- MongoDB
- Google Maps API
## Installation
1. Clone the repository to your local machine.
```bash
git clone https://github.com/Akshay1299/Travel_Advisory
2. Change directory to the project folder.
```bash
cd travel-advisor-web-app
3. Install the required dependencies.
```bash
npm install
4. Start the server.
```bash
npm start
5. Access the web app in your browser at http://localhost:3000.
## Usage
1. Sign up or log in to your account.
2. Explore travel experiences and reviews.
3. Share your own travel experiences and reviews.
4. Use the Google Maps integration to view locations.
## Contributing
If you'd like to contribute to this project, please open an issue or submit a pull request on the project's GitHub repository.
| Travel Advisor Web App is a MERN stack-based web application that enables users to share and explore travel experiences and reviews. | expressjs,google-maps-api,javascript,mongodb,nodejs | 2023-09-19T11:33:08Z | 2023-10-26T16:45:51Z | null | 1 | 0 | 3 | 0 | 0 | 2 | null | null | JavaScript |
guest271314/offscreen-audio | main | # offscreen-audio
Offscreen audio, side panel controller, until we make audio in/from a ServiceWorker without a document happen

# References:
- [Expose AudioContext in Worker/ServiceWorker #2383](https://github.com/WebAudio/web-audio-api/issues/2383)
# Prior art/related work:
- [sw-extension-audio
](https://github.com/guest271314/sw-extension-audio)
- [AudioWorkletStream](https://github.com/guest271314/AudioWorkletStream)
# Installation:
Download and unzip, or use `git` to fetch the repository. Navigate to `chrome://extensions`, toggle `Developer mode` to on, click `Load unpacked`, select the `offscreen-audio` folder.
# TODO:
- Convert from MP3, Opus, AAC, FLAC, etc. to floats on the fly
- Include folder and file drag and drop capability in controller to implements playlists
- Implement an indefinite stream where peers can add to, share, and listen to the same stream
- Figure out a way to use Media Session with Web Audio API displayed in controlled from global media controls on the main window
- ...
We can already do most of the above. We just need to carefully incorporate such functionality into our controller panel.
# License
[WTFPLv2](http://www.wtfpl.net/about/)
| Offscreen audio, side panel controller, until we make audio in/from a ServiceWorker without a document happen | audio,audio-worklet,javascript,offscreen,service-worker,chrome-extension | 2023-09-24T23:39:37Z | 2024-02-04T14:14:06Z | null | 1 | 0 | 24 | 0 | 0 | 2 | null | WTFPL | JavaScript |
Topman-14/portfolio | main | # My Portfolio Website
This repository contains the source code for my personal portfolio website - https://topman.vercel.app
## Technologies Used
* React
* Next.js
* Tailwind
* CSS3
## Installation
1. Clone the repository to your local machine.
```bash
git clone https://github.com/Topman-14/portfolio.git
```
3. enter the portfolio directory and install required dependencies.
```bash
cd portfolio
npm install
```
5. Start the development server.
```bash
npm run dev
```
7. Open the website in your browser.
## Contributing
If you would like to contribute to this project, please feel free to open an issue or pull request.
## License
This project is under an MIT LICENCE
| My portfolio | javascript,nextjs,nodemailer,react,tailwindcss | 2023-10-01T00:42:50Z | 2024-01-31T11:40:32Z | null | 1 | 2 | 33 | 0 | 0 | 2 | null | MIT | JavaScript |
DexterX12/anime-scraper-bot | main | # Anime Scraping Bot
Bot that searches the web for anime content in order to watch it.
### How does it work?
It scrapes pages like AnimePahe and JKanime for english and spanish episodes respectively. It downloads episodes to the bot host machine and creates a dynamic URL that users can access to watch the requested episode.

### Before you begin
1. The bot relies on having a local web-server to serve the videos, so it's necessary public access in order for Discord to access them.
2. Discord only creates video embeds when the URL is being secured by SSL. The web-server needs a SSL certificate for Discord to be able to show the video.
### Setup
This quick-guide assumes you already have knowledge on how to create and set a basic Discord bot. If not, please check https://discordjs.guide/
1. Clone this repository
2. Put your bot token and client ID in `config.json`
3. Create the `public` directory (Where the videos will be stored)
4. Create the `ssl` directory (Where SSL certificates will be stored)
5. Both `app.js` and `./commands/watch.js` have a placeholder for the server's URL. Change it for whatever you'd want.
6. After putting your bot's token and client ID, run `register.js` once for registering the commands into your bot.
7. Start `app.js` and `bot.js`
8. Done.
### Possible issues
Webpages may protect themselves with services like Cloudflare. Although this bot uses some libraries to avoid being detected as non-human interaction, it's not perfect and may induce some errors. Please keep this in mind.
## Legal
⚠️ This project has been made for educational purposes only. You are responsible for any possible TOS breaking using this.
| Anime scraping bot for Discord | anime,educational-project,javascript,scraping-websites | 2023-10-05T03:28:22Z | 2023-11-23T20:33:27Z | null | 1 | 0 | 2 | 0 | 0 | 2 | null | null | JavaScript |
alexanderweigelt/ExportSassVarsToJS | main | # Exporting SCSS Variables to JavaScript with Webpack 5
In contemporary web development, maintaining a clear separation of concerns is a paramount practice. While Cascading
Style Sheets (CSS) handle styling, JavaScript (JS) takes charge of interactivity. However, there are instances where
bridging the gap between these two realms becomes essential, particularly when dealing with dynamic styles. I
will walk you through the process of exporting SCSS variables to JavaScript using Webpack 5, a prominent JavaScript
module bundler. Additionally, I'll explore how to enable interoperable CSS functions like `:import` and `:export`
directly in the `css-loader` using the `mode: "icss"` option, and provide a comprehensive example of configuring
your `webpack.config.js` file.
## Why Export SCSS Variables to JavaScript?
1. **Dynamic Theming:** Exporting SCSS variables to JavaScript empowers dynamic theming. This means you can seamlessly
alter the website's color scheme, typography, or other visual aspects on-the-fly, based on user preferences,
interactions, or other dynamic conditions.
2. **Conditional Styling:** It enables conditional styling, such as implementing a dark mode feature. By manipulating
SCSS variables in JavaScript, you can adjust styles in response to user choices and actions.
3. **Reusable Styles:** SCSS variables can store reusable styles, such as font sizes, spacing values, or breakpoints. By
exporting them to JavaScript, you can employ these values consistently across different components or modules.
## Enabling Interoperable CSS Functions with `css-loader`
To facilitate the export of SCSS variables to JavaScript, we can enable interoperable CSS functions directly within
the `css-loader`. Webpack 5's `css-loader` supports this functionality through the `mode: "icss"` option. Here's how to
configure your `webpack.config.js` to allow interoperable CSS functions using this approach:
```javascript
const path = require('path');
module.exports = {
// ...other webpack config options
module: {
rules: [
// ...other rules
{
test: /\.scss$/,
use: [
'style-loader',
{
loader: 'css-loader',
options: {
importLoaders: 1,
modules: {
mode: "icss", // Enable ICSS (Interoperable CSS)
},
},
},
'sass-loader',
],
},
],
},
};
```
In this configuration:
- We specify the `mode: "icss"` option within the `css-loader` configuration to enable Interoperable CSS (ICSS),
allowing the use of `:export` and `:import` within SCSS files.
## Exporting SCSS Variables
With the `mode: "icss"` option enabled in the `css-loader`, you can effortlessly export SCSS variables in your SCSS
files:
```scss
// variables.scss
$primary-color: #3498db;
$secondary-color: #e74c3c;
:export {
primaryColor: $primary-color;
secondaryColor: $secondary-color;
}
```
In this example, we define two SCSS variables (`$primary-color` and `$secondary-color`) and utilize the `:export`
function to make them available for JavaScript consumption as `primaryColor` and `secondaryColor`.
## Accessing SCSS Variables in JavaScript
Now that your SCSS variables are set up for export, you can access them within your JavaScript code:
```javascript
// app.js
import styleVars from './variables.scss';
console.log(styleVars.primaryColor); // #3498db
console.log(styleVars.secondaryColor); // #e74c3c
```
In this example, we import the SCSS file where the variables are exported and access them as properties of
the `styleVars` object.
## Conclusion
Exporting SCSS variables to JavaScript via Webpack 5's `css-loader` with the `mode: "icss"` option is a robust technique
that facilitates dynamic, user-centric web applications. By enabling interoperable CSS functions, you can seamlessly
integrate your styling and JavaScript logic. This approach enhances code maintainability, encourages reusability, and
empowers you to create captivating and responsive user experiences.
## Development
First install dependencies:
```
npm install
```
To create a production build:
```
npm run build
```
(bundles your application)
| Example and explanation of how to export SCSS variables to JavaScript with Webpack 5 | bundler,css,javascript,js,sass,webpack5 | 2023-09-29T12:12:47Z | 2023-09-29T14:45:55Z | null | 1 | 1 | 7 | 0 | 0 | 2 | null | null | JavaScript |
wolfpackthatcodes/typescript-http-client | main | <p align="center">
<a href="http://github.com/wolfpackthatcodes/vite-typescript-package-toolkit">
<img src="https://github.com/wolfpackthatcodes/typescript-http-client/blob/main/images/banner.png?raw=true" alt="banner" width="100%">
</a>
</p>
<h4 align="center">
An expressive, minimal wrapper around the Fetch() API.
</h4>
<p align="center">
<a href="#about">About</a> •
<a href="#disclaimer">Disclaimer</a> •
<a href="#getting-started">Getting Started</a> •
<a href="#how-to-use">How To Use</a>
</p>
<p align="center">
<a href="#changelog">Changelog</a> •
<a href="#contributing">Contributing</a> •
<a href="#security-vulnerabilities">Security Vulnerabilities</a> •
<a href="#sponsor">Sponsor</a> •
<a href="#license">License</a>
</p>
---
<p align="center">
<img src="https://sonarcloud.io/images/project_badges/sonarcloud-orange.svg" width="120px" alt="SonarCloud scan">
<img src="https://img.shields.io/npm/dt/%40wolfpackthatcodes%2Fhttp-client?style=for-the-badge" width="150px" alt="npm downloads">
</p>
## About
HTTP Client is an expressive, minimal wrapper around the [Fetch()](https://developer.mozilla.org/en-US/docs/Web/API/Fetch_API) API allowing you to quickly make HTTP requests. The HTTP Client utilizes the [Builder creational design pattern](https://refactoring.guru/design-patterns/builder) to provide descriptive methods to construct your Fetch API request.
## Disclaimer
Until HTTP Client reaches a 1.0.0 release, breaking changes will be released with a new minor version.
## Getting Started
You will need to make sure your system meets the following prerequisites:
- Node.js >= 18.0.0
#### Package installation
You can install HTTP Client from npm registry or GitHub Packages.
```shell
npm install @wolfpackthatcodes/http-client
```
To install HTTP Client from GitHub Packages, follow the steps in the GitHub documentation for [installing a package](https://docs.github.com/en/packages/working-with-a-github-packages-registry/working-with-the-npm-registry#installing-a-package).
## How To Use
This project is a work-in-progress. Code and documentation are currently under development and are subject to change.
Documentation on the available functionality has been outlined below for you to get started:
<details>
<summary><b>1. Making requests</b></summary>
Since the HTTP Client is a wrapper for Fetch() API, you can still make `HEAD`, `GET`, `POST`, `PUT`, `PATCH`, `DELETE` requests using the respectively helper methods provided.
All request helper methods return a promise that resolves with a [Response object](https://developer.mozilla.org/en-US/docs/Web/API/Response).
##### Send a HEAD request.
Let's see how to make a basic `HEAD` request to another URL:
```typescript
import { HttpClient } from '@wolfpackthatcodes/http-client';
const response = new HttpClient().head('https://api.example.local');
```
##### Send a OPTIONS request.
Let's see how to make a basic `OPTIONS` request to another URL:
```typescript
import { HttpClient } from '@wolfpackthatcodes/http-client';
const response = new HttpClient().options('https://api.example.local');
```
##### Send a GET request.
Let's see how to make a basic `GET` request to another URL:
```typescript
import { HttpClient } from '@wolfpackthatcodes/http-client';
const response = new HttpClient().get('https://api.example.local/users');
```
##### Send a GET request with query parameters
When making `GET` requests, you may either append a query string to the URL directly or pass an object of key / value pairs as the second argument to the `get` method:
```typescript
import { HttpClient } from '@wolfpackthatcodes/http-client';
const response = new HttpClient()
.get('https://api.example.local/users', { page: 1, limit: 10 });
```
Alternatively, the `withQueryParameters` method may be used:
```typescript
import { HttpClient } from '@wolfpackthatcodes/http-client';
const response = new HttpClient()
.withQueryParameters({ page: 1, limit: 10 })
.get('https://api.example.local/users');
```
</details>
<details>
<summary><b>2. Sending request with data</b></summary>
You can send additional data with your `POST`, `PUT`, and `PATCH` requests. These methods accept either a string or an object of data as their second argument.
```typescript
import { HttpClient } from '@wolfpackthatcodes/http-client';
const response = new HttpClient()
.post('https://api.example.local/users/1/notes', 'Example text.');
```
By default, data will be sent with a header of `Content-Type: text/plain`.
##### Send data as JSON
If you would like to send data using the `application/json` content type, you can use the `asJson` method before making your request:
```typescript
import { HttpClient } from '@wolfpackthatcodes/http-client';
const response = new HttpClient()
.asJson()
.patch('https://api.example.local/users/1', { first_name: 'Luis', last_name: 'Aveiro' });
```
##### Send data as URLSearchParams
If you would like to send data using the `application/x-www-form-urlencoded` content type, you can use the `asUrlEncoded` method before making your request:
```typescript
import { HttpClient } from '@wolfpackthatcodes/http-client';
const response = new HttpClient()
.asUrlEncoded()
.put('https://api.example.local/users/1', { first_name: 'Luis', last_name: 'Aveiro' });
```
##### Send data as FormData
If you would like to send data using the `multipart/form-data` content type, you can use the `asForm` method before making your request:
```typescript
import { HttpClient } from '@wolfpackthatcodes/http-client';
const response = new HttpClient()
.asForm()
.post('https://api.example.local/users', { first_name: 'Luis', last_name: 'Aveiro' });
```
</details>
<details>
<summary><b>3. Include headers</b></summary>
You can add multiple headers to the request by using the `withHeaders` method. The `withHeaders` method accepts an object of key / value pairs or Headers instance:
```typescript
import { HttpClient } from '@wolfpackthatcodes/http-client';
const headers = {
'X-Header': 'value',
'Y-Header': 'value',
};
const firstResponse = new HttpClient()
.withHeaders(headers)
.get('https://api.example.local/users');
const secondResponse = new HttpClient()
.withHeaders(new Headers(headers))
.get('https://api.example.local/posts');
```
Alternatively, use `withHeader` method to include an individual header.
```typescript
import { HttpClient } from '@wolfpackthatcodes/http-client';
const response = new HttpClient()
.withHeader('X-Header', 'value')
.get('https://api.example.local/users');
```
##### Replace headers
The `replaceHeaders` method allow you to replace multiple headers. The `replaceHeaders` method accepts an object of key / value pairs or Headers instance:
```typescript
import { HttpClient } from '@wolfpackthatcodes/http-client';
const httpClient = new HttpClient()
.withHeaders({ 'Content-Type': 'application/xml', Accept: 'application/html' });
const updatedHeaders = {
'Content-Type': 'application/json',
Accept: 'application/json'
};
const firstResponse = httpClient
.replaceHeaders(updatedHeaders)
.get('https://api.example.local/users');
const secondResponse = httpClient
.replaceHeaders(new Headers(updatedHeaders))
.get('https://api.example.local/users');
```
Alternatively, use `replaceHeader` method to replace individual header.
```typescript
import { HttpClient } from '@wolfpackthatcodes/http-client';
const httpClient = new HttpClient()
.withHeaders({ 'Content-Type': 'application/xml', Accept: 'application/html' });
const response = httpClient
.replaceHeader('Content-Type', 'application/json')
.get('https://api.example.local/users');
```
##### Define content type accepted
You may use the `accept` method to specify the content type that your application is expecting in response to your request:
```typescript
import { HttpClient } from '@wolfpackthatcodes/http-client';
const response = new HttpClient()
.accept('application/json')
.get('https://api.example.local/users');
```
You may use the `acceptJson` method to quickly specify that your application expects the `application/json` content type in response to your request:
```typescript
import { HttpClient } from '@wolfpackthatcodes/http-client';
const response = new HttpClient()
.acceptJson()
.get('https://api.example.local/users');
```
</details>
<details>
<summary><b>4. Include authentication</b></summary>
You may specify basic authentication credentials using the `withBasicAuth` and method.
```typescript
import { HttpClient } from '@wolfpackthatcodes/http-client';
const response = new HttpClient().withBasicAuth('luisaveiro', 'secret').get('https://api.example.local/settings');
```
##### Bearer Tokens
If you would like to quickly add a bearer token to the request's Authorization header, you may use the `withToken` method:
```typescript
import { HttpClient } from '@wolfpackthatcodes/http-client';
const response = new HttpClient().withToken('your-token').get('https://api.example.local/settings');
```
</details>
<details>
<summary><b>5. Include Fetch options</b></summary>
You may specify additional Fetch() API [Request options](https://developer.mozilla.org/en-US/docs/Web/API/fetch#options) using the `withOptions` method. The `withOptions` method accepts an object of key / value pairs:
```typescript
import { HttpClient } from '@wolfpackthatcodes/http-client';
const response = new HttpClient()
.withOptions({
credentials: 'same-origin',
mode: 'same-origin'
})
.get('https://api.example.local/users');
```
Alternatively, use `withOption` method to include an individual option.
```typescript
import { HttpClient } from '@wolfpackthatcodes/http-client';
const response = new HttpClient()
.withOption('credentials', 'same-origin')
.get('https://api.example.local/users');
```
</details>
<details>
<summary><b>6. Retry mechanism</b></summary>
The HTTP Clients offers a `retry` method to retry the request automatically if the request attempt fails.
The `retry` method specifies the maximum number of attempts, the interval in milliseconds between attempts, and an optional callback function to determine whether a retry should be attempted based on the response, the request and the error instance.
```typescript
import { HttpClient } from '@wolfpackthatcodes/http-client';
const response = new HttpClient()
.retry(3, 1000, (response, request, error) => {
return response !== undefined && response.status !== 404;
})
.get('https://api.example.local/test/');
```
</details>
<details>
<summary><b>7. Set request timeout</b></summary>
The HTTP Clients offers a `timeout` method to specify the maximum number of milliseconds to wait for a response.
The `timeout` method accepts the maximum number of milliseconds the request should wait for a response.
```typescript
import { HttpClient } from '@wolfpackthatcodes/http-client';
const response = new HttpClient()
.timeout(1000)
.get('https://api.example.local/test/');
```
</details>
<details>
<summary><b>8. Testing</b></summary>
The HTTP Client offers a `fake` method that allows you to instruct the HTTP Client to return mocked responses when requests are made. The `fake` method will prevent the HTTP Client to make a HTTP request.
```typescript
import { HttpClient } from '@wolfpackthatcodes/http-client';
interface User {
id: number;
name: string;
email: string;
}
function createUserArray(): User[] {
const users: User[] = [
{ id: 1, name: 'John Doe', email: 'john.doe@example.com' },
{ id: 2, name: 'Jane Smith', email: 'jane.smith@example.com' },
{ id: 3, name: 'Alice Johnson', email: 'alice.johnson@example.com' },
// Add more user objects as needed
];
return users;
}
const mockedResponse = new Response(
JSON.stringify(createUserArray()),
{ status: 200, headers: new Headers({ 'Content-Type': 'application/json' }) }
);
const response = new HttpClient()
.fake('https://api.example.local/users', mockedResponse)
.acceptJson()
.get('https://api.example.local/users');
```
</details>
## Changelog
Please see [CHANGELOG](https://github.com/wolfpackthatcodes/typescript-http-client/blob/main/CHANGELOG.md) for more information on what has changed recently.
## Contributing
We encourage you to contribute to **_HTTP Client_**! Contributions are what makes the open-source community such an amazing place to learn, inspire, and create. Any contributions you make are **greatly appreciated**.
Please check out the [contributing to HTTP Client guide](https://github.com/wolfpackthatcodes/typescript-http-client/blob/main/.github/CONTRIBUTING.md) for guidelines about how to proceed.
## Security Vulnerabilities
Trying to report a possible security vulnerability in **_HTTP Client_**? Please check out our [security policy](https://github.com/wolfpackthatcodes/typescript-http-client/blob/main/.github/SECURITY.md) for guidelines about how to proceed.
## Sponsor
Do you like this project? Support it by donating.
<a href="https://www.buymeacoffee.com/luisaveiro">
<img src="https://raw.githubusercontent.com/wolfpackthatcodes/typescript-http-client/e9631c6cd6a5a311d1670c7200d84b72cbb4246c/images/bmc-button.svg" alt="Code Review" width="144">
</a>
## License
The MIT License (MIT). Please see [License File](https://github.com/wolfpackthatcodes/typescript-http-client/blob/main/LICENSE) for more information.
| An expressive, minimal wrapper around the Fetch() API that allows you to quickly make HTTP requests. | http-client,typescript,fetch,javascript,promise,npm-package | 2023-09-19T17:00:04Z | 2024-05-20T17:18:21Z | 2024-02-13T11:52:49Z | 1 | 184 | 382 | 0 | 1 | 2 | null | MIT | TypeScript |
hi-Kartik2004/CodeFury-6.0 | master | # Cyber Sensei | Kartikeya Saini | Project for CodeFury-6.0
Hosted Project Link: https://digital-clinic.000webhostapp.com/?home=firstTime
Login credentials:
```
Email: temp@gmail.com
Password: temp1234
```
## Prompts or tasks included
1. Admin Panel
2. SEO
3. Toast
## Features
1. Fully secure Routing with Email Authentication, Forgot Password, Edit profile and Edit password.
2. Mental Health Assessment. (With rating and safe/danger status)
3. Social Media & Articles Summariser.
4. Articles on imporving mental health & digital Wellbeing.
5. Community Support
6. Community Articles, with edit and delete Functionality by the creator.
7. Community Offline / Online Counselling or meetup Sessions, with edit and delete Functionality by the creator, after the event date the old session information is automatically deleted from db.
8. Comments on Articles created by community Memebers.
9. Top performing community members will be shown on the home page.
10. Admin Panel - Gives Admin all the delete and observational rights.
11. Completely Responsive Web Application.
12. Track login History.
13. Users can subscribe to our newsLetter.
14. Conctact Us.
15. Posts with images and videos can be added & User Affiliate Link.
## How it solves the issue
Our platform boasts a plethora of features, each carefully crafted to contribute to the well-being of our users and the digital community at large.
1. Secure Routing and Profile Management: We've prioritized user security, offering secure routing with email authentication and profile management to ensure data privacy.
2. Mental Health Assessment: Users can gauge their mental health, receive ratings, and identify safe or dangerous conditions, thus empowering them to take charge of their well-being.
3. Social Media & Articles Summarizer: This feature addresses information overload by summarizing social media content and articles, providing users with the essentials without the stress.
4. Articles on Improving Mental Health: Access to a wealth of articles on mental health and digital well-being empowers users with knowledge to maintain a healthy mindset.
5. Community Support: Loneliness and isolation can have severe consequences for mental health. Our platform offers a supportive community where users can connect, share experiences, and seek help when needed.
6. Community Articles with Edit/Delete Functionality: We believe in user empowerment. Our community members can create, edit, and manage their content, fostering a sense of ownership.
7. Community Counseling & Meetup Sessions: Organized sessions provide professional guidance and support, ensuring that users have access to up-to-date resources for their well-being.
8. Comments on Articles: An engaging feature that encourages discussions and a sense of belonging. Users can share thoughts and insights on mental health topics.
9. Top-Performing Community Members: Recognition motivates active participation and contributions from community members.
10. Admin Panel: Admins can maintain a safe environment, swiftly addressing issues such as online harassment.
11. Responsive Design: Our platform is accessible across devices, promoting inclusivity.
12. Login History Tracking: This feature provides insights into digital usage habits, promoting self-awareness.
13. Newsletter Subscription: Stay informed about relevant updates and resources, promoting continuous engagement.
14. Contact Us: Users can seek help or provide feedback, ensuring trust and support.
15. Diverse Content Creation: Posts can include images, videos, and affiliate links, keeping the platform engaging and informative.
Our platform isn't just a website; it's a community, a sanctuary, and a resource hub. We're leveraging technology to make the digital world a safer and healthier place. We're fostering connections, providing knowledge, and empowering individuals to take control of their mental well-being.
Together, we're tackling the digital age's challenges, one feature at a time. We believe in a brighter, mentally healthier future, and we invite you to join us on this journey. Thank you.
## Screenshots


| Hackathon project - Community to improve mental health and digital well being. | css,html,javascript,mysql,php,phpmailer,phpmyadmin | 2023-09-23T14:55:36Z | 2023-11-10T18:24:02Z | null | 1 | 0 | 18 | 0 | 0 | 2 | null | null | PHP |
Leyofficial/LinguaSwap | main | LINGUASWAP: ENHANCING LANGUAGE LEARNING 📚
Ready for an incredible language-learning adventure? LinguaSwap is the innovative platform that will revolutionize your language journey. With cutting-edge technologies and a user-friendly interface, LinguaSwap will empower you to connect with fellow language enthusiasts, find experienced teachers, and access comprehensive language courses.
Key Features 🗝️:
1. Integrated Communication: Connect with learners and teachers using advanced tools to exchange ideas and overcome language barriers.
2. Teacher Search: Find skilled language tutors who will guide you on your learning path.
3. Course Enrollment: Choose from a variety of language courses tailored to your goals.
4. Time-bound Completion: Stay motivated and track your progress with designated time frames.
Join LinguaSwap and discover the joy of learning languages in an interactive and supportive online community. Expand your horizons, connect with different cultures, and master a new language.
<b>Stack : TypeScript, JavaScript, React, Vite, Web Sockets (Socket.IO), Axios, React Hooks, Redux, Thunk, React Icons, React Selector, Node.js, Express, Mongodb , MUI, AntD, SCSS, and Router (DOM) 🗂️ </b>
The project was carried out for a greater understanding of the above mentioned technologies and to use them on an ongoing basis!
Thank you for reading ! 😀
This template provides a minimal setup to get React working in Vite with HMR and some ESLint rules.
Currently, two official plugins are available:
- [@vitejs/plugin-react](https://github.com/vitejs/vite-plugin-react/blob/main/packages/plugin-react/README.md) uses [Babel](https://babeljs.io/) for Fast Refresh
- [@vitejs/plugin-react-swc](https://github.com/vitejs/vite-plugin-react-swc) uses [SWC](https://swc.rs/) for Fast Refresh
| null | javascript,mongodb,nodejs,react,redux,redux-thunk,router,typescript,versel | 2023-09-20T16:37:34Z | 2023-11-01T14:00:57Z | null | 4 | 2 | 544 | 0 | 0 | 2 | null | null | TypeScript |
6maple/ts-mono | dev | # zyi typescript monorepo
## Announcement
This project is inspired by:
- [element-plus](https://github.com/element-plus/element-plus)
- [prettier-vscode](https://github.com/prettier/prettier-vscode)
## License
This Project is open source software licensed as
[MIT](./LICENSE).
| null | javascript,monorepo,typescript | 2023-09-16T14:39:04Z | 2023-12-01T09:52:28Z | null | 1 | 11 | 16 | 0 | 0 | 2 | null | MIT | Vue |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.