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
n0IQ/CodeNitrix-Backend
main
null
An online coding assessment platform built using the MERN Stack.
expressjs,mongodb,mongoose,nodejs,online-assessments,reactjs,javascript
2023-04-20T20:11:06Z
2023-05-01T07:32:56Z
null
1
0
9
0
1
2
null
MIT
JavaScript
Su-u-un/plato-admin
main
# 短链系统 > A Vue.js project ## 功能 - 登录/注销 - 权限验证 - 页面权限 - 权限配置 - 表格 - 短链信息表格 - 访问记录表格 - 组件 - 列表拖拽 - 顶部导航栏 - ECharts图表 ## Build Setup ``` bash # install dependencies npm install # serve with hot reload at localhost:8080 npm run dev # build for production with minification npm run build # build for production and view the bundle analyzer report npm run build --report ``` ## 布局 el-container
短链系统
echarts,element-ui,html-css-javascript,javascript,vue
2023-04-16T05:55:46Z
2023-05-14T03:47:56Z
null
2
0
14
0
1
2
null
null
Vue
biancamartinelli/curso-kick-turmaF
main
# Kick! - Conectando jovens com o mercado de trabalho atráves da tecnologia! # Kick - Turma F! Uma jornada tecnológica e socioemocional totalmente sem custo para jovens de escolas públicas que querem viabilizar um possível primeiro emprego na área de tecnologia. ![Logo Kick!](https://user-images.githubusercontent.com/107266212/226764247-b7ad3e68-c79c-49fa-8b52-c43b1df53d07.jpg) ## 💡 Site Oficial [Você pode acessar o link curso aqui](https://soukick.com.br/). ### O que foi ensinado no curso: 📌 Introdução a Computação/ Engenharia de Software 📍Lógica de Programação 📍Programação Orientada Objeto em JavaScript 📍Estruturas de Dados 📍Repositório GIT 📍Testes 📌 Front-end 📍HTML 📍CSS 📍JavaScript 📍Figma 📍Wordpress 📍Bootstrap 📌 BackEnd 📍Python
Projetos do curso da Kick! - Turma F 2023
css,html,javascript,portugol,bootstrap,wordpress,python
2023-04-13T20:07:34Z
2023-09-05T22:34:15Z
null
1
0
93
0
0
2
null
null
Jupyter Notebook
sunga12/Capstone-project-1
master
<a name="readme-top"></a> <div align="center"> <img src="./images/School-logo-small.jpg" alt="logo" width="140" height="auto" /> <br/> <h3><b>CAPSTONE PROJECT 1</b></h3> </div> # 📗 Table of Contents - [📖 About the Project](#about-project) - [🛠 Built With](#built-with) - [Tech Stack](#tech-stack) - [Key Features](#key-features) - [🚀 Live Demo](#live-demo) - [💻 Getting Started](#getting-started) - [Setup](#setup) - [Prerequisites](#prerequisites) - [Install](#install) - [Usage](#usage) - [Run tests](#run-tests) - [Deployment](#triangular_flag_on_post-deployment) - [👥 Authors](#authors) - [🔭 Future Features](#future-features) - [🤝 Contributing](#contributing) - [⭐️ Show your support](#support) - [🙏 Acknowledgements](#acknowledgements) - [❓ FAQ (OPTIONAL)](#faq) - [📝 License](#license) # 📖 Capstone Project 1 <a name="about-project"></a> **Capstone Project 1** is a solo project done in week 5 of module 1. Built using the Cindy Chen design for Royal Primary & Secondary School ## 🛠 Built With <a name="built-with"></a> <details> <summary>Markup Language</summary> <ul> <li><a href="https://html.com/">HTML</a></li> </ul> </details> <details> <summary>Styling Language</summary> <ul> <li><a href="https://web.dev/learn/css/">CSS</a></li> </ul> </details> <details> <summary>Script Language</summary> <ul> <li><a href="https://www.javascript.com">Javascript</a></li> </ul> </details> ### Key Features <a name="key-features"></a> - **Built for both Mobile & Desktop** - **Displays the Home & About Page** - **Teachers section built dynamically using Javascript** <p align="right">(<a href="#readme-top">back to top</a>)</p> ## 🚀 Live Demo <a name="live-demo"></a> - [Live Demo Link](https://sunga12.github.io/Capstone-project-1/) - [Video Presentation](https://drive.google.com/file/d/10UmuBKbd77u0NkQ8UM0JKUWzYm9JQo3x/view?usp=sharing) <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: Clone Github Repo using SSH, HTTP, or via Github Desktop. ### Prerequisites In order to run this project you need: - Microsoft Visual Studio Code - A Github account - Internet Connection. ```sh cd your-project npm init -y npm install --save-dev hint@7.x npm install --save-dev stylelint@13.x stylelint-scss@3.x stylelint-config-standard@21.x stylelint-csstree-validator@1.x ``` ### Setup Clone this repository to your desired folder: ```sh cd your-folder git@github.com:sunga12/Capstone-project-1.git ``` ### Install Install this project with: ### Usage To run the project, execute the following command: ### Run tests To run tests, run the following command: ```sh npx hint . npx stylelint "**/*.{css,scss}" npx eslint . ``` ### Deployment You can deploy this project using: Github Pages <p align="right">(<a href="#readme-top">back to top</a>)</p> ## 👥 Authors <a name="authors"></a> 👤 **Sungabanja Thawethe** - GitHub: [@sunga12](https://github.com/sunga12) - Twitter: [@OfficialAseT](https://twitter.com/OfficialAseT) - LinkedIn: [Sungabanja Thawethe](https://www.linkedin.com/in/sungabanja-thawethe-b3419b142/) <p align="right">(<a href="#readme-top">back to top</a>)</p> ## 🔭 Future Features <a name="future-features"></a> - [ ] **Application Form Page** - [ ] **School News Page** - [ ] **Presentation** <p align="right">(<a href="#readme-top">back to top</a>)</p> ## ⭐️ Show your support <a name="support"></a> If you like this project follow me on GitHub! <p align="right">(<a href="#readme-top">back to top</a>)</p> ## 🙏 Acknowledgments <a name="acknowledgements"></a> I would like to thank Microverse for this opportunity to become a software developer. I would also like to thank Cindy Shin for the template on Behance: (https://www.behance.net/gallery/29845175/CC-Global-Summit-2015) <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 Capstone project - Website designed for The Royal Primary & Secondary School. Based on the design template by Cindy Shen. Project Built using HTML, CSS & JavaScript.
css,html5,javascript
2023-04-17T10:06:24Z
2023-04-18T12:41:07Z
null
1
1
14
1
0
2
null
MIT
CSS
arianacabral/natureza_selvagem
main
# 🐘 Natureza Selvagem > Front-end | <img src="https://user-images.githubusercontent.com/21102900/232540222-c4c40b87-3fc3-4756-8016-7ae2b291f672.png" width="100%;"/> | | :---: | --- ### Descrição 📄 <div align="justify"> Webpage **Natureza Selvagem** com curiosidades sobre os grandes da natureza </div> --- ### Funcionalidades implementadas 📖 + layout de página única + layout responsivo + layout com transição de temas - light mode / dark mode + imagens com efeito de zoom + botão estilizado --- ### Tecnologias e Linguagens 💻 **Front-end** <div style="display: inline_block"> <img align="center" alt="CSS" height="30" width="60" src="https://raw.githubusercontent.com/devicons/devicon/master/icons/css3/css3-original.svg"> <img align="center" alt="HTML" height="30" width="60" src="https://raw.githubusercontent.com/devicons/devicon/master/icons/html5/html5-original.svg"> <img align="center" alt="JS" height="30" width="60" src="https://raw.githubusercontent.com/devicons/devicon/master/icons/javascript/javascript-plain.svg"> </div><br> **Ambiente de Desenvolvimento** <div style="display: inline_block"> <img align="center" alt="VSCode" height="40" width="40" src="https://img.icons8.com/color/48/000000/visual-studio-code-2019.png"> </div><br> **Design** <a href="https://www.adobe.com/in/products/illustrator.html" target="_blank"> <img src="https://www.vectorlogo.zone/logos/adobe_illustrator/adobe_illustrator-icon.svg" alt="illustrator" width="30" height="30"/> </a> O arquivo fonte da logo está disponível [aqui](https://github.com/arianacabral/natureza_selvagem/blob/main/src/). --- ### Demo ✨ Acesse a [webpage](https://arianacabral.github.io/natureza_selvagem/). | <img src="https://user-images.githubusercontent.com/21102900/232538546-5faa5b2f-c7a1-4d86-a013-3c1a08530d12.gif" width="100%;"/> | | :---: | | <img src="https://user-images.githubusercontent.com/21102900/232537830-983546c6-f12b-447f-b388-1ce6d4c3f258.gif" width="100%;"/> <br/> <sub> Mobile </sub> | <img src="https://user-images.githubusercontent.com/21102900/232534154-3f3c02d1-333a-4ff1-bdd9-8eff3eb9d45a.png" width="95%;"/> <br/> <sub>iPhone</sub>| <img src="https://user-images.githubusercontent.com/21102900/232536653-9165e661-b996-45d7-97eb-3edf0551bdc2.png" width="100%;"/> <br/> <sub>Android</sub> | | :---: | :---: | :---: | --- ### Instalação ou Download do Projeto 🛠 Se você é um usuário do Git, pode clonar o projeto, usando ```bash # Clone o repositório git clone https://github.com/arianacabral/natureza_selvagem.git ``` ou, então, <a href = "https://github.com/arianacabral/natureza_selvagem/archive/refs/heads/main.zip">baixá-lo</a>. ---
🐘 Webpage com curiosidades sobre os grandes da natureza
css,html,javascript,webpage,website,front-end,frontend,frontend-web
2023-04-17T15:04:01Z
2023-04-17T16:27:18Z
null
1
0
3
0
0
2
null
MIT
CSS
redmarverick/First-Capstone-project
main
<a name="readme-top"></a> <h3><b>WWE International Rendezvous 2023</b></h3> </div> <!-- TABLE OF CONTENTS --> # 📗 Table of Contents - [📖 About the Project](#about-project) - [🛠 Built With](#built-with) - [Tech Stack](#tech-stack) - [🚀 Live Demo](#live-demo) - [💻 Getting Started](#getting-started) - [Setup](#setup) - [Prerequisites](#prerequisites) - [Install](#install) - [Usage](#usage) - [Run tests](#run-tests) - [Deployment](#triangular_flag_on_post-deployment) - [👥 Author](#authors) - [🔭 Future Features](#future-features) - [🤝 Contributing](#contributing) - [⭐️ Show your support](#support) - [🙏 Acknowledgements](#acknowledgements) - [📝 License](#license) <!-- PROJECT DESCRIPTION --> # 📖 WWE International Rendezvous 2023 <a name="about-project"></a> **WWE International Rendezvous 2023** is my first capstone project for microverse. ## 🛠 Built With <a name="built-with"></a> ### Tech Stack <a name="tech-stack"></a> - Major languages: HTML , CSS , JS - Frameworks: TailWind unpkg - Technologies used: Linters ( Webhint, Stylelint, Eslint) , Github , Visual Code <p align="right">(<a href="#readme-top">back to top</a>)</p> <!-- Features --> ### Key Features <a name="key-features"></a> - **[The program page will be built]** - **[Multiple language feature]** - **[Dark mode for those who drop a tear on white websites]** <p align="right">(<a href="#readme-top">back to top</a>)</p> <!-- LIVE DEMO --> ## 🚀 Live Demo <a name="live-demo"></a> - [Live Website](https://redmarverick.github.io/First-Capstone-project/) <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 with latest features, follow these simple example steps. Run git clone https://github.com/redmarverick/First-Capstone-project.git ### Prerequisites Basic Knowledge of HTML, CSS and JS ### Install install any editor VScode or Atom. ### Usage Just a simple html and css made for testing github functionalities. ### Run tests Open the HTML file on your browser. ### Deployment You can deploy this project using visual code or github itself on Settings > pages > Deploy from a Branch <p align="right">(<a href="#readme-top">back to top</a>)</p> ## 👥 Authors <a name="authors"></a> 👤 **Nylbert Victor** - GitHub: [@redmarverick](https://github.com/redmarverick) - Twitter: [@MarverickRed]("https://twitter.com/MarverickRed) - LinkedIn: [LinkedIn](https://www.linkedin.com/in/nylbert-victor-397951120/) <p align="right">(<a href="#readme-top">back to top</a>)</p> <!-- CONTRIBUTING --> ## 🤝 Contributing <a name="contributing"></a> Contributions, issues, and feature requests are welcome! Feel free to check the [issues page](../../issues/). <p align="right">(<a href="#readme-top">back to top</a>)</p> <!-- SUPPORT --> ## ⭐️ Show your support <a name="support"></a> Give a ⭐️ if you like this project! <p align="right">(<a href="#readme-top">back to top</a>)</p> <!-- ACKNOWLEDGEMENTS --> ## 🙏 Acknowledgments <a name="acknowledgements"></a> I would like to thank nodoby, as nobody believed i would finish this, even myself. Also, i want to include Cindy Chin for the design: - Original design idea by [Cindy Chin](https://www.behance.net/gallery/29845175/CC-Global-Summit-2015) in Behance. <p align="right">(<a href="#readme-top">back to top</a>)</p> <!-- LICENSE --> ## 📝 License <a name="license"></a> This project is [MIT](./LICENSE) licensed. <p align="right">(<a href="#readme-top">back to top</a>)</p>
In this capstone project I build an online website for a WWE conference. Following some design guidelines to create the website.
css,html,javascript
2023-04-18T02:18:08Z
2023-04-20T01:57:47Z
null
1
1
11
0
0
2
null
MIT
HTML
Rafa-KozAnd/Ignite_Node.js_Challenge_05
main
<p align="center"> <img src="http://img.shields.io/static/v1?label=STATUS&message=Concluded&color=blue&style=flat"/> <img alt="GitHub language count" src="https://img.shields.io/github/languages/count/Rafa-KozAnd/Ignite_Node.js_Challenge_05"> <img alt="GitHub language count" src="https://img.shields.io/github/languages/top/Rafa-KozAnd/Ignite_Node.js_Challenge_05"> <img alt="GitHub repo file count" src="https://img.shields.io/github/directory-file-count/Rafa-KozAnd/Ignite_Node.js_Challenge_05"> <img alt="GitHub repo size" src="https://img.shields.io/github/repo-size/Rafa-KozAnd/Ignite_Node.js_Challenge_05"> <img alt="GitHub language count" src="https://img.shields.io/github/license/Rafa-KozAnd/Ignite_Node.js_Challenge_05"> </p> # Ignite_Node.js_Challenge_05 Node JS challenge done with 'Rocketseat' Ignite course. ("Desafio 05 - Database Queries") ## 💻 Sobre o desafio Nesse desafio, você realizará consultas no banco de dados com o TypeORM de três maneiras: - Usando o ORM - Usando Query Builder - Usando Raw Query Isso irá te ajudar a entender e exercitar os diferentes tipos de consultas que podemos fazer. No template, você irá encontrar uma aplicação já estruturada (apenas as entidades e repositórios) onde você deverá completar o que falta nas consultas dos dois repositórios. A aplicação possui dois módulos: `users` e `games`. Um **usuário** pode ter vários jogos e um mesmo **jogo** pode estar associado a vários usuários.
Node JS challenge done with 'Rocketseat' Ignite course. ("Desafio 05 - Database Queries")
ignite,ignite-nodejs,ignite-rocketseat,javascript,nodejs,rocketseat,typescript
2023-04-20T13:32:57Z
2023-04-20T13:42:17Z
null
1
0
3
0
0
2
null
null
TypeScript
HyperMonkeyTERR/spongebob-squarepants
main
# Quarkly export project <p align="center"> <img src="http://uploads.quarkly.io/readme/cra/readme-quarkly-and-cra.png" width="480px" alt="Create-React-App project from Quarkly"> </p> <h1 align="center">spongebob-squarepants</h1> <h4 align="center">This Create-React-App project was created in <a href="https://quarkly.io/" target="_blank">Quarkly.io</a> – design tool for creating websites and web apps</h4> <p align="center"> <a href="https://reactjs.org/"> <img src="https://badgen.net/badge/React/16.13.0/cyan" alt="React version" /> </a> <a href="https://github.com/facebook/create-react-app"> <img src="https://badgen.net/badge/Create React App/3.4.0/blue" alt="Create React App version" /> </a> <a href="https://github.com/HyperMonkeyTERR/spongebob-squarepants/pulls"> <img src="https://badgen.net/github/prs/HyperMonkeyTERR/spongebob-squarepants" alt="Pull Request Amount"> </a> <img src="https://badgen.net/github/last-commit/HyperMonkeyTERR/spongebob-squarepants" alt="Last commit date" /> <a href="./LICENSE"> <img src="https://badgen.net/badge/license/MIT/blue" alt="License"> </a> </p> <p align="center"> <img src="http://uploads.quarkly.io/readme/cra/how-to-start-create-react-app.gif" width="460px" alt="How to start Create-React-App"> </p> # ✨ Install ## How to start ```bash # Install dependencies $ npm i # Start the app $ npm start ``` # 📦 What's inside? - [React](https://reactjs.org/) - [Create React App](https://github.com/facebook/create-react-app) - [Styled-components](https://styled-components.com/) - [React helmet](https://github.com/nfl/react-helmet) - [Atomize by Quarkly](https://atomize.quarkly.io/) # 💡 About [Quarkly](https://quarkly.io) <p> A unique tool for webmasters, designers and developers. <br> Here you can create websites and web apps quickly, conveniently and beautifully. </p> - [Documentation](https://quarkly.io/docs) - [Features](https://quarkly.io/features) - [Updates](https://quarkly.io/updates) - [GitHub](https://github.com/quarkly) - [Twitter](https://twitter.com/quarklyapp) - [Community](https://community.quarkly.io/) # 📝 License Licensed under the [MIT License](./LICENSE).
SpongeBob SquarePants-themed website created using Quarkly.io. React, JavaScript, and HTML were used to build the website.
javascript,javascript-library,react,reactjs,html
2023-04-21T01:35:45Z
2023-04-22T00:52:32Z
null
2
0
9
0
0
2
null
MIT
JavaScript
Pritz69/Portfolio_Website
master
# Portfolio_Website A Portfolio Website created using HTML,CSS and Javascript. Bootstrap framework was also used. The Site is deployed using Vercel App and can be viewed clicking the link below. ![h1](https://user-images.githubusercontent.com/98264659/233821605-abdefff5-9ffd-46b9-8f33-f31d144310d2.png) ![h2](https://user-images.githubusercontent.com/98264659/233821606-03d17635-5ed4-421e-89c3-9f67828f1ba4.png) ![h3](https://user-images.githubusercontent.com/98264659/233821608-5d9a55e4-ec81-4c46-acfe-6ea185ab4493.png) ![h4](https://user-images.githubusercontent.com/98264659/233821610-677ddd2c-5d8e-453b-af80-a739073b6159.png) ![h5](https://user-images.githubusercontent.com/98264659/233821612-61e30f0c-5c69-4bec-9a68-b9720c9477e6.png)
A Portfolio Website created using HTML,CSS and Javascript. Bootstrap framework was also used. The Site is deployed using Vercel App and can be viewed clicking the link below.
bootstrap,bootstrap5,css3,html-css-javascript,html5,javascript,portfolio,portfolio-page,portfolio-project,portfolio-site
2023-04-21T20:41:56Z
2024-02-11T15:04:02Z
null
1
0
24
0
0
2
null
null
HTML
manuelkalueka/gestaolab
master
# gestaolab ## Sistema de Gestão para o Laboratório de Informática do IMPU ## Instruções Básicas de uso ## npm install # Baixar a Base de Dados no Link abaixo e rodar na porta 3306: https://github.com/manuelkalueka/copiaDb # Logar no Sistema com # usuario: admin # senha: 1111
Sistema de Gestão para o Laboratório de Informática do IMPU
javascript,nodejs,sistemas,web
2023-04-11T14:01:31Z
2023-11-20T15:13:34Z
null
2
7
93
0
0
2
null
MIT
JavaScript
Vipul1432/Windows-Scientific-Calci-TypeScript
main
# Windows Scientific Calculator using TypeScript This is a Windows scientific calculator developed using TypeScript, HTML, and CSS. It includes a wide range of scientific functions such as trigonometry, logarithms, exponentials, and basic arithmetic operations. ***To Test Live [Click here...](https://vipulkr123.github.io/TypeScript-Calci-Practical/)*** |---------------------------| ## Installation To use this calculator, follow these steps: 1. Clone the repository to your local machine using `git clone https://github.com/Vipulkr123/TypeScript-Calci-Practical.git`. 2. Navigate to the project directory using `cd TypeScript-Calci-Practical`. 3. Install the required dependencies using `npm install -g typescript`. 4. Start the development server using `tsc -w`. ## Usage Once the development server is running, open your web browser and navigate to `http://localhost:3000`. The calculator should load in the browser window. To perform calculations, simply click on the buttons or use the keyboard to input the numbers and operations. The calculator includes a history feature that shows the previous calculations and results. ## Contributing **Contributions to this project are welcome. To contribute, follow these steps:** 1. Fork the repository to your own GitHub account. 2. Clone the repository to your local machine. 3. Create a new branch for your feature or bug fix using `git checkout -b <branch-name>`. 4. Make your changes and commit them using `git commit -m "<commit-message>"`. 5. Push your changes to your forked repository using `git push origin <branch-name>`. 6. Create a pull request to the original repository and wait for review. ## License This project is licensed under the MIT License - see the [LICENSE.md](LICENSE.md) file for details. ## Acknowledgements This project was inspired by the need for a powerful and easy-to-use scientific calculator that can run on Windows. It was developed using various libraries and frameworks such as TypeScript, React, Redux, and Webpack. Special thanks to the contributors who made this project possible. ## Screenshot of scientific calculator <br>![image](https://user-images.githubusercontent.com/125361611/229029710-8f14cfcc-1e6a-4fc6-ac4f-93d1597dac28.png)
This is a Windows Scientific Calculator using TypeScript
bootstrap5,calculator-application,css,html5,javascript,typescript
2023-04-20T02:34:06Z
2023-04-10T10:37:13Z
null
2
0
14
0
0
2
null
MIT
JavaScript
Phantom-fs/Web-Development
main
# Web-Development Web Development projects with HTML, CSS, JavaScript, PHP etc.
Web Development projects with HTML, CSS, JavaScript, PHP etc.
css,css3,html,html-css-bootstrap,html-css-javascript,javascript,php,bootstrap,html5,mysql-database
2023-04-19T19:23:03Z
2023-05-11T11:34:41Z
null
1
0
6
0
0
2
null
Unlicense
PHP
meet49/mycart.com
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)
null
css,css-flexbox,css-grid,javascript,reactjs
2023-04-11T09:31:11Z
2023-04-11T10:24:37Z
null
1
0
3
0
0
2
null
null
JavaScript
hamidyfine/ts-codemod
master
<p align="center"> <a href="https://www.npmjs.com/package/codemod" target="_blank" > <img src="https://badge.fury.io/js/codemod.svg" alt="npm version"> </a> </p> ## What is Codemod? `codemod` is a tool for helping migrate code. It uses [jscodeshift](https://github.com/facebook/jscodeshift) internally to transform the source code. ## Introduction This repository contains a codemod tool designed to help developers migrate JavaScript codebases to TypeScript. TypeScript is a popular programming language that adds optional static type checking to JavaScript, making it easier to catch errors and write more maintainable code. However, migrating an existing JavaScript codebase to TypeScript can be a time-consuming and error-prone task. This codemod tool automates much of the process by automatically updating JavaScript code to TypeScript syntax wherever possible, including adding type annotations and updating imports. By using this tool, developers can quickly and easily migrate their codebase to TypeScript, saving time and reducing the likelihood of errors. ## Installation `codemod` requires [Node.js](https://nodejs.org/) v14+ to run. To install globally: ```sh npm i -g codemod ``` Just run the below command to get started. ```sh codemod ``` ## How to use Read about how to use the command [here](https://github.com/binary-com/codemod/blob/master/HOW-TO-USE.md). ## List of codemods available - **Change extension** - It simply modifies the extension of the file. - **Convert proptypes to TS** - It converts React `propTypes` to Typescript type. - The things it does are: - Remove prop-types import from the import section. - Collects the component name and the list of properties and their type in propTypes. - Generates a TS type based on component name and collected list of properties and their type. - Inserts the generated type as a type annotation to the props param of the component. It also supports destructured props, props in React.memo and React.forwardRef. - Removes the propTypes. - It also supports multiple components in the same file. - React `propTypes` to TS type: - Converts all the primitive types such as boolean, string, number to respective TS type. - For `PropTypes.func`, it will insert an empty anonymous arrow fn type `() => void`. - For `PropTypes.object` or `PropTypes.array`, it maps unknown as respective TS type. - It also supports `PropTypes.oneOfTypes` which will map it to TS union types. - Sample conversion: ![image](https://user-images.githubusercontent.com/56330681/152483079-fff0639c-3f43-43fc-9510-9feb6f7e89a6.png) ## Local development Want to contribute? Great! Open your Terminal and run the below command. To install dependencies: ```sh npm install ``` To build: ```sh npm run build ``` Please check [jscodeshift](https://github.com/facebook/jscodeshift) docs before writing a codemod. _Forked from [Deriv-CodeMod](https://github.com/binary-com/deriv-codemod)_
codemod tool to helps developers migrate JavaScript code to TypeScript by automatically updating syntax, adding type annotations, and updating imports.
js,ts,codemod,javascript,migration,typescript
2023-04-11T16:12:47Z
2023-04-21T14:45:08Z
null
3
1
26
0
0
2
null
null
JavaScript
Redislabs-Solution-Architects/redis-pulsar
main
# Redis Pulsar Integration - Continuous Query Updates ## Contents 1. [Summary](#summary) 2. [Architecture](#architecture) 3. [Data Flow](#dataflow) 4. [Features](#features) 5. [Prerequisites](#prerequisites) 6. [Installation](#installation) 7. [Usage](#usage) 8. [Execution](#execution) ## Summary <a name="summary"></a> This implements a continous query update architecture by integrating Apache Pulsar, Redis Gears, Redis Search, and Redis Search. The data transfers and transforms simulate a stock trading desk domain. ## Architecture <a name="architecture"></a> ![architecture](https://docs.google.com/drawings/d/e/2PACX-1vQyBS3608xN_wTwZfVI2feoOQ4soHbe3No7Dkukfq0iJfYyXvhuyU1p0BwLpqOgDmE0w9AV1u6DoWN1/pub?w=663&h=380) ## Data Flow <a name="dataflow"></a> ![dataflow](https://docs.google.com/drawings/d/e/2PACX-1vQ9Tov-JyYsrlHsVrj5LPmznM2J7I2PiHgOmgGR3JyRrm-JAKsK08no-Wk4-SgZMYbDmr7QF-cDnjGS/pub?w=669&h=275) ## Features <a name="features"></a> - Java source to create a custom Apache Pulsar sink. That sink connects to Redis and writes to Redis JSON. - Java source to create a custom Apache Pulsar function. That function provides scaling/normalization of ingress metric data. - Nodejs source to implement an Apache Pulsar producer. - Nodejs source to implement a Redis Streams consumer. - Nodejs source to implement a Redis Gears 2.0 function that monitors for key space events and then performs aggregations that are subsequently written to a Redis Stream. - Docker compose file to start up a 1-node Redis cluster + Pulsar standalone instance. - Shell script to orchestrate cluster + db build on Redis, custom sink + function installation on Pulsar standalone, and Redis Gears 2.0 function build and deployment. ## Prerequisites <a name="prerequisites"></a> - Ubuntu 20.x or higher - Docker - Java - Nodejs ## Installation <a name="installation"></a> ```bash git clone https://github.com/Redislabs-Solution-Architects/redis-pulsar.git && cd redis-pulsar/util ``` ## Usage <a name="usage"></a> ### Compile Source ```bash ./build.sh ``` ### Pulsar + Redis start up ```bash ./start.sh ``` ### Redis Stream Consumer start up - separate terminal session ```bash cd ../consumer && npm start ``` ### Pulsar Producer start up - separate terminal session ```bash cd ../producer && npm start ``` ### Shut down ```bash ./stop.sh ``` ## Execution <a name="execution"></a> ### Producer ```bash > producer@1.0.0 start > node ./src/producer.js sending: {"key":"doc:AA:M2:0","path":"$","value":{"symbol":"AA","M2":561061.12}} sending: {"key":"doc:CC:M1:1","path":"$","value":{"symbol":"CC","M1":26.28}} sending: {"key":"doc:AA:M3:2","path":"$","value":{"symbol":"AA","M3":73}} sending: {"key":"doc:AA:M3:3","path":"$","value":{"symbol":"AA","M3":281}} sending: {"key":"doc:AA:M1:4","path":"$","value":{"symbol":"AA","M1":38.9}} sending: {"key":"doc:BB:M3:5","path":"$","value":{"symbol":"BB","M3":860}} sending: {"key":"doc:BB:M3:6","path":"$","value":{"symbol":"BB","M3":910}} sending: {"key":"doc:BB:M2:7","path":"$","value":{"symbol":"BB","M2":437042.42}} sending: {"key":"doc:CC:M2:8","path":"$","value":{"symbol":"CC","M2":707502.17}} sending: {"key":"doc:DD:M1:9","path":"$","value":{"symbol":"DD","M1":27.68}} ``` ### Consumer ```bash > consumer@1.0.0 start > node ./src/consumer.js stream client awaiting messages {"id":"1682458331763-0","message":{"m2_sum":"{ \"symbol\": \"AA\", \"m2_sum\": \"4218.5\" }"}} {"id":"1682458332718-0","message":{"m1_ave":"{ \"symbol\": \"CC\", \"m1_ave\": \"0.47\" }"}} {"id":"1682458333744-0","message":{"m3_p99":"{ \"symbol\": \"AA\", \"m3_p99\": \"73\" }"}} {"id":"1682458334754-0","message":{"m3_p99":"{ \"symbol\": \"AA\", \"m3_p99\": \"281\" }"}} {"id":"1682458335778-0","message":{"m1_ave":"{ \"symbol\": \"AA\", \"m1_ave\": \"0.1825\" }"}} {"id":"1682458336788-0","message":{"m3_p99":"{ \"symbol\": \"BB\", \"m3_p99\": \"860\" }"}} {"id":"1682458337800-0","message":{"m3_p99":"{ \"symbol\": \"BB\", \"m3_p99\": \"910\" }"}} {"id":"1682458338824-0","message":{"m2_sum":"{ \"symbol\": \"BB\", \"m2_sum\": \"3286.03\" }"}} {"id":"1682458339834-0","message":{"m2_sum":"{ \"symbol\": \"CC\", \"m2_sum\": \"5319.57\" }"}} {"id":"1682458340860-0","message":{"m1_ave":"{ \"symbol\": \"DD\", \"m1_ave\": \"0.49\" }"}} ```
Redis + Apache Pulsar integration
apache-pulsar,docker,java,jedis,redis,javascript,node-redis,nodejs,redis-gears,redis-json
2023-04-12T23:39:27Z
2023-04-28T17:31:58Z
null
3
3
8
0
0
2
null
NOASSERTION
Java
rivasbolinga/Afghan-Restaurant
dev
<a name="readme-top"></a> <div align="center"> <img src="./documentation/personal-branding/adarsh-logo.png" alt="logo" width="140" height="auto" /> <img src="./documentation/personal-branding/andrea-logo.png" alt="logo" width="140" height="auto" /> <br/> <h1><b>Afghan Restaurant</b></h1> </div> # App Mocks under construction ... <br> <!-- TABLE OF CONTENTS --> # 📗 Table of Contents - [📖 About the Project](#about-project) - [🛠 Built With](#built-with) - [Tech Stack](#tech-stack) - [Key Features](#key-features) - [🚀 Live Demo](#live-demo) - [💻 Getting Started](#getting-started) - [Setup](#setup) - [Prerequisites](#prerequisites) - [Install](#install) - [Usage](#usage) - [Run tests](#run-tests) - [Deployment](#triangular_flag_on_post-deployment) - [👥 Authors](#authors) - [🔭 Future Features](#future-features) - [🤝 Contributing](#contributing) - [⭐️ Show your support](#support) - [🙏 Acknowledgements](#acknowledgements) - [❓ FAQ (OPTIONAL)](#faq) - [📝 License](#license) <!-- PROJECT DESCRIPTION --> # 📖 Afghan Restaurant <a name="about-project"></a> Afghan Restaurant is landing page of the Restaurant where you can see menu specialties of the Restaurant and bunch of more things **Afghan Restaurant** is a react oriented website where we used various components and library ## 🛠 Built With <a name="built-with"></a> ### Tech Stack <a name="tech-stack"></a> This is project where we applied our relevant skill set to complete our projects <details> <summary>development</summary> <ul> <li><a href="https://reactjs.org/">React.js</a></li> </ul> </details> <details> <summary>documentation</summary> <ul> <li><a href="https://html.com">Html</a></li> </ul> </details> <details> <summary>styling</summary> <ul> <li><a href="">SCSS and Styled components</a></li> </ul> </details> <!-- Features --> ### Key Features <a name="key-features"></a> - **Menu page** - **Carousel** - **banner with animation** - **animation on scroll** <p align="right">(<a href="#readme-top">back to top</a>)</p> <!-- LIVE DEMO --> ## 🚀 Live Demo <a name="live-demo"></a> under construction ......... <p align="right">(<a href="#readme-top">back to top</a>)</p> <!-- GETTING STARTED --> ## 💻 Getting Started <a name="getting-started"></a> >For having local file and project you can fork this repo >And for making changes you you should follow prerequisites ### Prerequisites To edit this project you need: - Node.js installed - A Terminal - A web browser - An IDE - suggested IDE - visual studio code - atom - visual code ### Setup Clone this repository to your desired folder: - And run `npm i` in root dir <small>to install node modules</small> - Then run `npm run dev` or `npm start` - All this makes our project open in the browser ### Usage Execute the following thing: - Stocks and State is manipulated by API - details page with proper logo ### Run tests - To run all test cases you need to run `npm test` in the root dir - Linters for files run in the root dir - `npx eslint "**/*.{js,jsx}` for JS or JSX linting - `npx stylelint "**/*.{css,scss}"`for CSS or SCSS linting - `npx hint .` for HTML linting - `--fix` flag for instant fixable fix ### Deployment You can deploy this project using: - Fork our Repo and clone it or download `zip` and extract it - Edit some changes - Run `npm run build` to make our project production ready - deploy it using [GitHub](www.github.com) pages - or use Netlify or Render <p align="right">(<a href="#readme-top">back to top</a>)</p> <!-- AUTHORS --> ## 👥 Authors <a name="authors"></a> 👤 **Adarsh Pathak** - GitHub: [@PowerLevel9000](https://github.com/PowerLevel9000) - Twitter: [@PowerLevel9002](https://twitter.com/PowerLevel9002) - LinkedIn: [Adarsh Pathak](https://linkedin.com/in/powerlevel) 👤 **Author2** - GitHub: [@rivasbolinga](https://github.com/rivasbolinga) - Twitter: [@AndreaRivasPal](https://twitter.com/AndreaRivasPal) - LinkedIn: [andrea rivas palacios](https://www.linkedin.com/in/andrearivaspalacios/) <p align="right">(<a href="#readme-top">back to top</a>)</p> <!-- FUTURE FEATURES --> ## 🔭 Future Features <a name="future-features"></a> > Describe 1 - 3 features you will add to the project. - [ ] **payment gateway** - [ ] **Cart system** - [ ] **QR scanner for gifts** <p align="right">(<a href="#readme-top">back to top</a>)</p> <!-- CONTRIBUTING --> ## 🤝 Contributing <a name="contributing"></a> Contributions, issues, and feature requests are welcome! Feel free to check the [issues page](../../issues/). <p align="right">(<a href="#readme-top">back to top</a>)</p> <!-- SUPPORT --> ## ⭐️ Show your support <a name="support"></a> If you like this project please give it a star <p align="right">(<a href="#readme-top">back to top</a>)</p> <!-- ACKNOWLEDGEMENTS --> ## 🙏 Acknowledgments <a name="acknowledgements"></a> I will like to mention @rivasbolinga for her expertise in field we are learning a lot together <p align="right">(<a href="#readme-top">back to top</a>)</p> <!-- FAQ (optional) --> <!-- LICENSE --> ## 📝 License <a name="license"></a> This project is [MIT](./LICENSE) licensed. <p align="right">(<a href="#readme-top">back to top</a>)</p>
Afghan Restaurant is landing page of the Restaurant where you can see menu specialties of the Restaurant and bunch of more things Afghan Restaurant is a react oriented website where we used various components and library
sass,html,react,freelance,javascript
2023-04-15T09:13:42Z
2023-04-21T13:16:29Z
null
2
6
44
8
0
2
null
MIT
JavaScript
0xabdulkhalid/intro-component-with-sign-up-form
main
<div align="center"> <img src="https://www.frontendmentor.io/static/images/logo-mobile.svg" alt="frontendmentor" width="80"> <h2 align="center">Intro Component with Sign up form Solution</h2> <p align="center"> <a href="https://www.frontendmentor.io/challenges/intro-component-with-signup-form-5cf91bd49edda32581d28fd1" target="_blank"><strong>Frontend Mentor Challenge</strong></a> <br /> <br /> <a href="https://0xabdulkhalid.github.io/intro-component-with-sign-up-form/" target="_blank">View Demo</a> &nbsp;·&nbsp; <a href="https://github.com/0xabdulkhalid/intro-component-with-sign-up-form/issues" target="_blank">Report Bug</a> &nbsp;·&nbsp; <a href="https://github.com/0xabdulkhalid/intro-component-with-sign-up-form/issues" target="_blank">Request Feature</a> </p> </div> <!-- Badges --> <div align="center"> <!-- Profiles --> <a href="https://www.frontendmentor.io/profile/0xabdulkhalid" target="_blank"> <img src="https://img.shields.io/badge/Profile-0xAbdulKhalid-eee?style=for-the-badge&logo=frontendmentor" alt="Abdul Khalid's Profile"> </a> &nbsp;&nbsp;&nbsp; <!-- Status --> <a href="#"> <img src="https://img.shields.io/badge/Status-Completed-4ADE80?style=for-the-badge" alt="Status Completed"> </a> &nbsp;&nbsp;&nbsp; <!-- Difficulty --> <a href="https://www.frontendmentor.io/challenges?difficulties=1" target="_blank"> <img src="https://img.shields.io/badge/Difficulty-Newbie-61BECD?style=for-the-badge&logo=frontendmentor" alt="Challenge Difficulty - Newbie"> </a> </div> <br /> <br /> ## **Preview** <div align='center'> <img src='./design/desktop-preview.jpg' alt='FAQ Accordion Card solution desktop preview image'> </div> <br> ## **Links** - ||| | :----- | :----- | | Solution URL: | [Intro Component with Signup Form 🎯 [ BEM - VANILLA CSS3 - JS REGEXP ]](https://www.frontendmentor.io/solutions/intro-component-with-signup-form-bem-vanilla-css3-js-regexp--yCKrQ9rw7) | | Live Site URL: | [https://0xabdulkhalid.github.io/intro-component-with-sign-up-form/](https://0xabdulkhalid.github.io/intro-component-with-sign-up-form/) | ||| <br> ## Pagespeed Insights Score: - | Scored 99.25% on Pagespeed Insights | | :-----: | | <img src='./images/score.webp' alt='99.25% scored on pagespeed insights'> | | | | Check out [**Pagespeed Insights**](https://pagespeed.web.dev/analysis/https-0xabdulkhalid-github-io-intro-component-with-sign-up-form/opfplx6sxw?form_factor=desktop) to get live score | ||| <br> ## The challenge The challenge is to build out this FAQ accordion card and get it looking as close to the design as possible. The users should be able to: - View the optimal layout for the component depending on their device's screen size - See hover states for all interactive elements on the page - Receive an error message when the `form` is submitted if: - Any `input` field is empty. The message for this error should say *"[Field Name] cannot be empty"* - The email address is not formatted correctly (i.e. a correct email address should have this structure: `name@host.tld`). The message for this error should say *"Looks like this is not an email"* <br> ## **Built With** - ![HTML5](https://img.shields.io/badge/html5-%23E34F26.svg?style=for-the-badge&logo=html5&logoColor=white) - ![CSS3](https://img.shields.io/badge/css3-%231572B6.svg?style=for-the-badge&logo=css3&logoColor=white) - ![JavaScript](https://img.shields.io/badge/javascript-%23323330.svg?style=for-the-badge&logo=javascript&logoColor=%23F7DF1E) <br> ## **Tools Used** - ![Google](https://img.shields.io/badge/google-DA4437?style=for-the-badge&logo=google&logoColor=white) - ![GitHub](https://img.shields.io/badge/github-0D1117.svg?style=for-the-badge&logo=github&logoColor=white) - ![Arch](https://img.shields.io/badge/Arch%20Linux-1793D1?logo=arch-linux&logoColor=fff&style=for-the-badge) - ![Visual Studio Code](https://img.shields.io/badge/Visual%20Studio%20Code-0078d7.svg?style=for-the-badge&logo=visual-studio-code&logoColor=white) <br> ## **Acknowledgment** * Challenge was provided by [Frontend Mentor](https://www.frontendmentor.io) <br> ## **Let's Connect 👋** <div align=center> <a href="https://linkedin.com/in/0xabdulkhalid" target="_blank"> <img src="https://img.shields.io/badge/linkedin%20Profile-%2300acee.svg?color=405DE6&style=for-the-badge&logo=linkedin&logoColor=white" alt="Linkedin Profile"> </a>&nbsp;&nbsp;&nbsp; <a href="https://www.frontendmentor.io/profile/0xabdulkhalid" target="_blank"> <img src="https://img.shields.io/badge/FEM%20Profile-f8f9f8?style=for-the-badge&logo=Frontend-Mentor&logoColor=black" alt="Frontend-Mentor Profile"> </a> &nbsp;&nbsp;&nbsp; <a href="https://www.github.com/0xabdulkhalid/" target="_blank"> <img src="https://img.shields.io/badge/Github%20Profile-131313?style=for-the-badge&logo=github&logoColor=white" alt="Github Profile"> </a> </div> <br>
Solution for "Intro Component with Signup Form" Challenge on Frontend Mentor
frontend-mentor,frontend-mentor-challenge,javascript,woff,css3,html5
2023-04-10T14:48:36Z
2023-04-11T15:30:45Z
null
1
0
3
0
0
2
null
null
CSS
CrystalHollows/ValorantBattlePassCalculator
main
# Valorant Battle Pass Calculator [Click Here to Use!](https://crystalhollows.github.io/ValorantBattlePassCalculator/) **THIS IS NOT MY CREATION! I MADE SOME CHANGES, BUT IT WAS MADE BY Frank L. Franco! ALL CREDIT GOES TO HIM!** This is a calculator that tells you all the things you will need to know about your progress on the Valorant Battlepass. These calculations take your current tier, your teir, goal, and the time you have left to find statistics to reach your goal. The statistics it gives you are your remaining games, your remaining time, the games you need to play per day, and the hours you need to play per day (based off game length average). It gives you all of these for 3 gamemodes: Normal (Unrated and Competitive), Spike Rush, and Deathmatch. You can even set it to know your XP boost from Premium BP and Game Pass, set future dates, and tick daily challenges, day completed, and weekly challenges on and off. Puede configurar el idioma a español en la parte inferior de la página. !! This is a fanpage and is in no way affiliated with Valorant or Riot Games. !!
A calculator that tells you all the things you will need to know about your progress on the Valorant Battlepass.
css,html,javascript,valorant
2023-04-11T15:03:28Z
2023-04-26T00:48:56Z
null
1
0
31
0
0
2
null
null
HTML
lucasinmanuel/Challenge-Oracle-ONE-Text-Decoder
main
# Challenge Oracle ONE | Text Decoder <img alt="Project status" title="Project status" src="https://badgen.net/badge/status/complete/green?icon=github"> !['Text decoder program 1'](./images/text-decoder-program-1.JPG 'Text decoder program 1') !['Text decoder program 2'](./images/text-decoder-program-2.JPG 'Text decoder program 2') Project created for the challenge of ONE Oracle Next Education in partnership with Alura. This program decodes texts. ## Mechanics - Responsive website - Decoder button - Encoder button - Copy Button - Text copy alert ## Technologies used <span> <img alt="Java" title="Java" src="https://img.shields.io/badge/html5-%23E34F26.svg?style=for-the-badge&logo=html5&logoColor=white"> </span> <span> <img alt="Java Swing" title="Java Swing" src="https://img.shields.io/badge/css3-%231572B6.svg?style=for-the-badge&logo=css3&logoColor=white"> <span> <img alt="Gson" title="Gson" src="https://img.shields.io/badge/javascript-%23323330.svg?style=for-the-badge&logo=javascript&logoColor=%23F7DF1E"> </span>
Project created for the challenge of ONE Oracle Next Education in partnership with Alura. This program decodes texts.
challengeonedecodificador5,alura,oracle,css,html,javascript
2023-04-12T18:54:27Z
2023-07-18T18:08:58Z
null
1
0
6
0
0
2
null
null
CSS
king-fisher-crypto/actinia-shop
main
null
Car Booking Website using OpenCart & Journal theme
css,html,javascript,journal,jquery,mysql,opencart-3x
2023-04-09T23:33:45Z
2023-04-09T23:38:52Z
null
1
0
1
0
0
2
null
null
PHP
mahabubx7/calculator-js
dev
<a name="readme-top"></a> <div align="center"> <h2><b>Calculator App</b></h2> </div> <!-- TABLE OF CONTENTS --> # 📗 Table of Contents - [📖 About the Project](#about-project) - [🛠 Built With](#built-with) - [Tech Stack](#tech-stack) - [Key Features](#key-features) - [💻 Getting Started](#getting-started) - [Setup](#setup) - [Prerequisites](#prerequisites) - [Install](#install) - [Usage](#usage) - [Run tests](#run-tests) - [Deployment](#triangular_flag_on_post-deployment) - [👥 Authors](#authors) - [🤝 Contributing](#contributing) - [⭐️ Show your support](#support) - [🙏 Acknowledgements](#acknowledgements) - [❓ FAQ (OPTIONAL)](#faq) - [📝 License](#license) <!-- PROJECT DESCRIPTION --> # 📖 [Todo List] <a name="about-project"></a> This is a web application as Calculator. It will do some math-based operations through web-UI. It's build with JavaScript. ## 🛠 Built With <a name="built-with">`HTML/CSS`,`Nodejs/JavaScript`, and `Vite`</a> ### Tech Stack <a name="tech-stack">`HTML/CSS` with `JavaScript` & `Vite`</a> <details> <summary>Client</summary> <ul> <li><a href="https://www.w3.org/standards/webdesign/htmlcss">HTML-CSS</a></li> </ul> <ul> <li><a href="https://nodejs.org/">Nodejs</a></li> </ul> <ul> <li><a href="https://vitejs.dev/">Vite</a></li> </ul> </details> <!-- Features --> ### Key Features <a name="key-features"></a> - **[Clean and Simple Static Webpages]** - **[Only Raw HTML & CSS with Js]** - **[Nodejs for development]** - **[Vite for static bundler]** <p align="right">(<a href="#readme-top">back to top</a>)</p> <!-- GETTING STARTED --> ## 💻 Getting Started <a name="getting-started"></a> To get a local copy up and running, follow these steps. ### Prerequisites In order to run this project you need: Check Git is already installed and working: ```sh git --version node --version ``` It should not show you any error. And should return the version info. ### Setup Clone this repository to your desired folder: Execute this: ```sh git clone git@github.com:mahabubx7/calculator-js.git ``` ### Install Install this project with: Install Dependencies: ```sh cd your-project-folder npm install ``` ### Usage To run the project, execute the following command: Execute this: ```sh npm run dev ``` ### Run tests To run tests, run the following command: Testing with Lint-checks: ```sh npm test ``` ### Deployment Deployed in `Github Pages`. [Live Preview](https://calculator-js-mx7.netlify.app/) <p align="right">(<a href="#readme-top">back to top</a>)</p> <!-- AUTHORS --> ## 👥 Authors <a name="authors"></a> 👤 **Mahabub** - GitHub: [@mahabubx7](https://github.com/mahabubx7) - Twitter: [@mahabub\_\_7](https://twitter.com/mahabub__7) - LinkedIn: [in/mahabubx7](https://linkedin.com/in/mahabubx7) <p align="right">(<a href="#readme-top">back to top</a>)</p> <!-- CONTRIBUTING --> ## 🤝 Contributing <a name="contributing"></a> Contributions, issues, and feature requests are welcome! Feel free to check the [issues page](../../issues/). <p align="right">(<a href="#readme-top">back to top</a>)</p> <!-- SUPPORT --> ## ⭐️ Show your support <a name="support"></a> If you like this project... please give it a star. <p align="right">(<a href="#readme-top">back to top</a>)</p> <!-- ACKNOWLEDGEMENTS --> ## 🙏 Acknowledgments <a name="acknowledgements"></a> I would like to thank the collaborators who helped to built vite. <p align="right">(<a href="#readme-top">back to top</a>)</p> <!-- FAQ (optional) --> ## ❓ FAQ (OPTIONAL) <a name="faq"></a> - **[Why Vite?]** - [It is a static bundler. It helps us to bundle a big and massy web-pages project into a bundled and gives us optimized performance. ] <p align="right">(<a href="#readme-top">back to top</a>)</p> <!-- LICENSE --> ## 📝 License <a name="license"></a> This project is [MIT](./LICENSE) licensed. <p align="right">(<a href="#readme-top">back to top</a>)</p>
This is a web application as Calculator. It will do some math-based operations through web-UI. It's build with JavaScript.
css,es6,html,javascript,object-oriented-programming,tdd-jest,vite
2023-04-09T12:57:02Z
2024-01-16T05:43:54Z
null
1
4
27
0
0
2
null
MIT
JavaScript
abbishekprabhu/abbishekprabhu.github.io
main
# Techfolio🧑🏻‍💻 ## Abbishek's Portfolio 😎 ### I have designed and developed this portfolio on my own. The Techfolio is a meticulously researched, thoughtfully designed, and developer-friendly portfolio. It is reusable and tailored for developers proficient in Figma. The portfolio can be accessed here. ![portfolio](https://user-images.githubusercontent.com/98374007/235634772-96782b29-35bf-46be-b870-eb0b0dac333d.png) #### I have mentioned the one asset below which you can download and use it with figma or you can do it by your own by searching your own asset and edit it using figma. ![laptop](https://user-images.githubusercontent.com/98374007/235636235-b5d90a23-b0f5-4064-9f2f-d9f17beec51a.svg) ##### Do give me credits for my works if you used mine. I would appreciate that. Thanks! <img width="1339" alt="gtmetrics" src="https://user-images.githubusercontent.com/98374007/235640237-fb3da03f-8e0f-448f-9db2-6d5c69f12abf.png"> ###### The above screenshot is the GTmetrics results.
Abbishek's Portfolio (Techfolio)
css,html,githubpages,javascript
2023-04-21T18:51:23Z
2023-12-09T03:22:37Z
null
1
0
80
0
0
2
null
MIT
HTML
harshith-chowdary/Airline-Ticket-Booking-System
master
# Airline Ticket Booking System with COWIN Certificate Verification ## Project Setup 1. After extracting the project file, create `./server/config.js` and paste the following code: ```javascript export default { JWT_SECRET : <--jwt_key-->, ATLAS_URI: <--your_mongodb_atlas_connect_url-->, SMTP_HOST : <--smtp-->, // ex : "smtp.gmail.com" SMTP_PORT : "465", SMTP_USERNAME : <--smtp_username-->, SMTP_PASSWORD : <--smtp_passwd-->, STRIPE_PRIVATE_KEY : <--stripe_key--> } ``` ## Starting the Server 2. Navigate to the server directory: ```bash cd ./server ``` Run the server: ```bash npm run start ``` ## Starting the React App 3. Navigate to the client directory: ```bash cd ./client ``` Start the React app: ```bash npm start ``` ## Starting HTTP Server (for Booking Requests) 4. Navigate to the flight-booking directory: ```bash cd ./src/flight-booking ``` Start the HTTP server: ```bash http-server -p 3055 ``` And that's it! Your project is now set up and running. ```markdown Please note: Replace placeholders like `<--jwt_key-->`, `<--your_mongodb_atlas_connect_url-->`, `<--smtp-->`, `<--smtp_username-->`, `<--smtp_passwd-->`, and `<--stripe_key-->` with your actual values.
MERN Stack - Airline Ticket Booking System with COVID Certificate Verification
javascript,mern-stack
2023-04-11T09:37:09Z
2024-03-07T15:00:48Z
null
1
0
6
0
0
2
null
null
JavaScript
Ssaava/40-JavaScript-Projects
main
# 40-JavaScript-Projects In this repository, I do add new projects for JavaScript and the end goal is 40 projects
In this repository, I do add new projects for JavaScript and the end goal is 40 projects View live site here 👉
javascript,projects
2023-04-15T14:31:40Z
2024-03-31T18:13:17Z
null
3
3
94
0
0
2
null
null
CSS
dhanushtheijas08/edt-tech-webpage
main
# EDT Tech - Web Project Welcome to the EDT Tech project! This modern web development project was created using HTML, CSS (Tailwind CSS), and JavaScript, showcasing the latest web development techniques and technologies. This project aimed to design and develop a responsive and user-friendly website that provides information about EDT Tech and its services. [Live Preview](https://skill-smooth.netlify.app/) ## Project Overview This project consists of a single web page that provides information about EDT Tech, its mission, and its services. The website's design is clean and modern, focusing on readability and usability. The website is fully responsive, with a mobile-first approach, which ensures that it looks great on all devices, including desktops, tablets, and mobile phones. ### The projects in this collection cover a wide range of topics, including: - Basic HTML and CSS layouts and styling - Responsive design for different screen sizes ### Technologies Used: - HTML - CSS - Tailwind CSS - JavaScript The responsive design is achieved using modern CSS techniques, including Flexbox and Grid, which make the website adaptable to different screen sizes. The use of JavaScript enhances the user experience by providing interactive features such as smooth scrolling and animated transitions. ## Live Demo You can view a live demo of the EDT Tech project by following this link: [Live Webpage](https://skill-smooth.netlify.app/) ## Demo Video You can also watch a demo video of the project by following this link: [Demo Video](https://www.linkedin.com/posts/dhanush-theijas_webdevelopment-javascript-css-activity-7053691085197352960-LF7G?utm_source=share&utm_medium=member_desktop) ## Installation ### To install the EDT Tech project on your local machine, follow these steps: 1. Clone the repository using the following command: ```bash git clone https://github.com/username/edt-tech-project.git ``` 2. Navigate to the project directory using the following command: ```bash cd edt-tech-project ``` 3. Open the index.html file in your web browser to view the website. #### ---- or ---- 3. Open the index.html file in your code editor. 4. Click on the "Open with Live Server" option to launch the project in your default browser.
For EDT Tech, I have creating this website! This project is created using HTML, CSS (Tailwind CSS), and JavaScript and aim to showcase the latest web development techniques and technologies.
html,css,css3,edtech,html5,javascript,responsive,responsive-design,tailwindcss,webpage
2023-04-16T06:43:56Z
2023-07-27T05:16:42Z
null
1
0
21
0
1
2
null
MIT
HTML
Sabyasachi-Seal/HastaLaVista-2K23
master
null
The official site for Hasta La Vista by CSE - TMSL
mern,node,react,express,farewell,javascript,mongo,website
2023-04-13T15:47:54Z
2023-05-08T05:25:30Z
null
2
18
97
0
1
2
null
MIT
JavaScript
SHAIK-MUNEERUDDIN/Portfolio-Website
main
# Portfolio-Website This is My Portfolio website built using HTML5, CSS3, JavaScript and jQuery.
This is My Portfolio website built using HTML5, CSS3, JavaScript and jQuery.
html5,portfolio,portfolio-website,css3,javascript,webdevelopment,html-css-javascript,website
2023-04-10T10:01:00Z
2023-12-18T12:10:47Z
null
1
0
73
0
0
2
null
null
HTML
gkhays/jwt-decoder
main
# JWT Decoder Quick JWT decoder implemented in JavaScript using jQuery. ![Screen Shot](doc/jwt-decoder.png) To get started, click on the `ghpages` link: https://gkhays.github.io/jwt-decoder/. ## Acknowledgements Inspired by [jwt.io](https://jwt.io).
Quick JWT decoder
bootstrap,javascript,jquery,jwt
2023-04-21T23:46:50Z
2023-10-14T04:54:38Z
null
1
0
15
0
0
2
null
MIT
JavaScript
divyaGrvgithub/FSOC-Facebook-Incubator
project/facebookclone
## Facebook Incubator This project was bootstrapped with [Create React App](https://github.com/facebookincubator/create-react-app). Below you will find some information on how to perform common tasks.<br> You can find the most recent version of this guide [here](https://github.com/facebookincubator/create-react-app/blob/master/packages/react-scripts/template/README.md). ## Table of Contents - [Updating to New Releases](#updating-to-new-releases) - [Sending Feedback](#sending-feedback) - [Folder Structure](#folder-structure) - [Available Scripts](#available-scripts) - [npm start](#npm-start) - [npm test](#npm-test) - [npm run build](#npm-run-build) - [npm run eject](#npm-run-eject) - [Supported Browsers](#supported-browsers) - [Supported Language Features and Polyfills](#supported-language-features-and-polyfills) - [Syntax Highlighting in the Editor](#syntax-highlighting-in-the-editor) - [Displaying Lint Output in the Editor](#displaying-lint-output-in-the-editor) - [Debugging in the Editor](#debugging-in-the-editor) - [Formatting Code Automatically](#formatting-code-automatically) - [Changing the Page `<title>`](#changing-the-page-title) - [Installing a Dependency](#installing-a-dependency) - [Importing a Component](#importing-a-component) - [Code Splitting](#code-splitting) - [Adding a Stylesheet](#adding-a-stylesheet) - [Post-Processing CSS](#post-processing-css) - [Adding a CSS Preprocessor (Sass, Less etc.)](#adding-a-css-preprocessor-sass-less-etc) - [Adding Images, Fonts, and Files](#adding-images-fonts-and-files) - [Using the `public` Folder](#using-the-public-folder) - [Changing the HTML](#changing-the-html) - [Adding Assets Outside of the Module System](#adding-assets-outside-of-the-module-system) - [When to Use the `public` Folder](#when-to-use-the-public-folder) - [Using Global Variables](#using-global-variables) - [Adding Bootstrap](#adding-bootstrap) - [Using a Custom Theme](#using-a-custom-theme) - [Adding Flow](#adding-flow) - [Adding a Router](#adding-a-router) - [Adding Custom Environment Variables](#adding-custom-environment-variables) - [Referencing Environment Variables in the HTML](#referencing-environment-variables-in-the-html) - [Adding Temporary Environment Variables In Your Shell](#adding-temporary-environment-variables-in-your-shell) - [Adding Development Environment Variables In `.env`](#adding-development-environment-variables-in-env) - [Can I Use Decorators?](#can-i-use-decorators) - [Fetching Data with AJAX Requests](#fetching-data-with-ajax-requests) - [Integrating with an API Backend](#integrating-with-an-api-backend) - [Node](#node) - [Ruby on Rails](#ruby-on-rails) - [Proxying API Requests in Development](#proxying-api-requests-in-development) - ["Invalid Host Header" Errors After Configuring Proxy](#invalid-host-header-errors-after-configuring-proxy) - [Configuring the Proxy Manually](#configuring-the-proxy-manually) - [Configuring a WebSocket Proxy](#configuring-a-websocket-proxy) - [Using HTTPS in Development](#using-https-in-development) - [Generating Dynamic `<meta>` Tags on the Server](#generating-dynamic-meta-tags-on-the-server) - [Pre-Rendering into Static HTML Files](#pre-rendering-into-static-html-files) - [Injecting Data from the Server into the Page](#injecting-data-from-the-server-into-the-page) - [Running Tests](#running-tests) - [Filename Conventions](#filename-conventions) - [Command Line Interface](#command-line-interface) - [Version Control Integration](#version-control-integration) - [Writing Tests](#writing-tests) - [Testing Components](#testing-components) - [Using Third Party Assertion Libraries](#using-third-party-assertion-libraries) - [Initializing Test Environment](#initializing-test-environment) - [Focusing and Excluding Tests](#focusing-and-excluding-tests) - [Coverage Reporting](#coverage-reporting) - [Continuous Integration](#continuous-integration) - [Disabling jsdom](#disabling-jsdom) - [Snapshot Testing](#snapshot-testing) - [Editor Integration](#editor-integration) - [Debugging Tests](#debugging-tests) - [Debugging Tests in Chrome](#debugging-tests-in-chrome) - [Debugging Tests in Visual Studio Code](#debugging-tests-in-visual-studio-code) - [Developing Components in Isolation](#developing-components-in-isolation) - [Getting Started with Storybook](#getting-started-with-storybook) - [Getting Started with Styleguidist](#getting-started-with-styleguidist) - [Publishing Components to npm](#publishing-components-to-npm) - [Making a Progressive Web App](#making-a-progressive-web-app) - [Opting Out of Caching](#opting-out-of-caching) - [Offline-First Considerations](#offline-first-considerations) - [Progressive Web App Metadata](#progressive-web-app-metadata) - [Analyzing the Bundle Size](#analyzing-the-bundle-size) - [Deployment](#deployment) - [Static Server](#static-server) - [Other Solutions](#other-solutions) - [Serving Apps with Client-Side Routing](#serving-apps-with-client-side-routing) - [Building for Relative Paths](#building-for-relative-paths) - [Azure](#azure) - [Firebase](#firebase) - [GitHub Pages](#github-pages) - [Heroku](#heroku) - [Netlify](#netlify) - [Now](#now) - [S3 and CloudFront](#s3-and-cloudfront) - [Surge](#surge) - [Advanced Configuration](#advanced-configuration) - [Troubleshooting](#troubleshooting) - [`npm start` doesn’t detect changes](#npm-start-doesnt-detect-changes) - [`npm test` hangs on macOS Sierra](#npm-test-hangs-on-macos-sierra) - [`npm run build` exits too early](#npm-run-build-exits-too-early) - [`npm run build` fails on Heroku](#npm-run-build-fails-on-heroku) - [`npm run build` fails to minify](#npm-run-build-fails-to-minify) - [Moment.js locales are missing](#momentjs-locales-are-missing) - [Alternatives to Ejecting](#alternatives-to-ejecting) - [Something Missing?](#something-missing) ## Updating to New Releases Create React App is divided into two packages: * `create-react-app` is a global command-line utility that you use to create new projects. * `react-scripts` is a development dependency in the generated projects (including this one). You almost never need to update `create-react-app` itself: it delegates all the setup to `react-scripts`. When you run `create-react-app`, it always creates the project with the latest version of `react-scripts` so you’ll get all the new features and improvements in newly created apps automatically. To update an existing project to a new version of `react-scripts`, [open the changelog](https://github.com/facebookincubator/create-react-app/blob/master/CHANGELOG.md), find the version you’re currently on (check `package.json` in this folder if you’re not sure), and apply the migration instructions for the newer versions. In most cases bumping the `react-scripts` version in `package.json` and running `npm install` in this folder should be enough, but it’s good to consult the [changelog](https://github.com/facebookincubator/create-react-app/blob/master/CHANGELOG.md) for potential breaking changes. We commit to keeping the breaking changes minimal so you can upgrade `react-scripts` painlessly. ## Sending Feedback We are always open to [your feedback](https://github.com/facebookincubator/create-react-app/issues). ## Folder Structure After creation, your project should look like this: ``` my-app/ README.md node_modules/ package.json public/ index.html favicon.ico src/ App.css App.js App.test.js index.css index.js logo.svg ``` For the project to build, **these files must exist with exact filenames**: * `public/index.html` is the page template; * `src/index.js` is the JavaScript entry point. You can delete or rename the other files. You may create subdirectories inside `src`. For faster rebuilds, only files inside `src` are processed by Webpack.<br> You need to **put any JS and CSS files inside `src`**, otherwise Webpack won’t see them. Only files inside `public` can be used from `public/index.html`.<br> Read instructions below for using assets from JavaScript and HTML. You can, however, create more top-level directories.<br> They will not be included in the production build so you can use them for things like documentation. ## Available Scripts In the project directory, you can run: ### `npm start` Runs the app in the development mode.<br> Open [http://localhost:3000](http://localhost:3000) to view it in the browser. The page will reload if you make edits.<br> You will also see any lint errors in the console. ### `npm test` Launches the test runner in the interactive watch mode.<br> See the section about [running tests](#running-tests) for more information. ### `npm run build` Builds the app for production to the `build` folder.<br> 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.<br> Your app is ready to be deployed! See the section about [deployment](#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. ## Supported Browsers By default, the generated project uses the latest version of React. You can refer [to the React documentation](https://reactjs.org/docs/react-dom.html#browser-support) for more information about supported browsers. ## Supported Language Features and Polyfills This project supports a superset of the latest JavaScript standard.<br> In addition to [ES6](https://github.com/lukehoban/es6features) syntax features, it also supports: * [Exponentiation Operator](https://github.com/rwaldron/exponentiation-operator) (ES2016). * [Async/await](https://github.com/tc39/ecmascript-asyncawait) (ES2017). * [Object Rest/Spread Properties](https://github.com/sebmarkbage/ecmascript-rest-spread) (stage 3 proposal). * [Dynamic import()](https://github.com/tc39/proposal-dynamic-import) (stage 3 proposal) * [Class Fields and Static Properties](https://github.com/tc39/proposal-class-public-fields) (part of stage 3 proposal). * [JSX](https://facebook.github.io/react/docs/introducing-jsx.html) and [Flow](https://flowtype.org/) syntax. Learn more about [different proposal stages](https://babeljs.io/docs/plugins/#presets-stage-x-experimental-presets-). While we recommend using experimental proposals with some caution, Facebook heavily uses these features in the product code, so we intend to provide [codemods](https://medium.com/@cpojer/effective-javascript-codemods-5a6686bb46fb) if any of these proposals change in the future. Note that **the project only includes a few ES6 [polyfills](https://en.wikipedia.org/wiki/Polyfill)**: * [`Object.assign()`](https://developer.mozilla.org/en/docs/Web/JavaScript/Reference/Global_Objects/Object/assign) via [`object-assign`](https://github.com/sindresorhus/object-assign). * [`Promise`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise) via [`promise`](https://github.com/then/promise). * [`fetch()`](https://developer.mozilla.org/en/docs/Web/API/Fetch_API) via [`whatwg-fetch`](https://github.com/github/fetch). If you use any other ES6+ features that need **runtime support** (such as `Array.from()` or `Symbol`), make sure you are including the appropriate polyfills manually, or that the browsers you are targeting already support them. Also note that using some newer syntax features like `for...of` or `[...nonArrayValue]` causes Babel to emit code that depends on ES6 runtime features and might not work without a polyfill. When in doubt, use [Babel REPL](https://babeljs.io/repl/) to see what any specific syntax compiles down to. ## Syntax Highlighting in the Editor To configure the syntax highlighting in your favorite text editor, head to the [relevant Babel documentation page](https://babeljs.io/docs/editors) and follow the instructions. Some of the most popular editors are covered. ## Displaying Lint Output in the Editor >Note: this feature is available with `react-scripts@0.2.0` and higher.<br> >It also only works with npm 3 or higher. Some editors, including Sublime Text, Atom, and Visual Studio Code, provide plugins for ESLint. They are not required for linting. You should see the linter output right in your terminal as well as the browser console. However, if you prefer the lint results to appear right in your editor, there are some extra steps you can do. You would need to install an ESLint plugin for your editor first. Then, add a file called `.eslintrc` to the project root: ```js { "extends": "react-app" } ``` Now your editor should report the linting warnings. Note that even if you edit your `.eslintrc` file further, these changes will **only affect the editor integration**. They won’t affect the terminal and in-browser lint output. This is because Create React App intentionally provides a minimal set of rules that find common mistakes. If you want to enforce a coding style for your project, consider using [Prettier](https://github.com/jlongster/prettier) instead of ESLint style rules. ## Debugging in the Editor **This feature is currently only supported by [Visual Studio Code](https://code.visualstudio.com) and [WebStorm](https://www.jetbrains.com/webstorm/).** Visual Studio Code and WebStorm support debugging out of the box with Create React App. This enables you as a developer to write and debug your React code without leaving the editor, and most importantly it enables you to have a continuous development workflow, where context switching is minimal, as you don’t have to switch between tools. ### Visual Studio Code You would need to have the latest version of [VS Code](https://code.visualstudio.com) and VS Code [Chrome Debugger Extension](https://marketplace.visualstudio.com/items?itemName=msjsdiag.debugger-for-chrome) installed. Then add the block below to your `launch.json` file and put it inside the `.vscode` folder in your app’s root directory. ```json { "version": "0.2.0", "configurations": [{ "name": "Chrome", "type": "chrome", "request": "launch", "url": "http://localhost:3000", "webRoot": "${workspaceRoot}/src", "sourceMapPathOverrides": { "webpack:///src/*": "${webRoot}/*" } }] } ``` >Note: the URL may be different if you've made adjustments via the [HOST or PORT environment variables](#advanced-configuration). Start your app by running `npm start`, and start debugging in VS Code by pressing `F5` or by clicking the green debug icon. You can now write code, set breakpoints, make changes to the code, and debug your newly modified code—all from your editor. Having problems with VS Code Debugging? Please see their [troubleshooting guide](https://github.com/Microsoft/vscode-chrome-debug/blob/master/README.md#troubleshooting). ### WebStorm You would need to have [WebStorm](https://www.jetbrains.com/webstorm/) and [JetBrains IDE Support](https://chrome.google.com/webstore/detail/jetbrains-ide-support/hmhgeddbohgjknpmjagkdomcpobmllji) Chrome extension installed. In the WebStorm menu `Run` select `Edit Configurations...`. Then click `+` and select `JavaScript Debug`. Paste `http://localhost:3000` into the URL field and save the configuration. >Note: the URL may be different if you've made adjustments via the [HOST or PORT environment variables](#advanced-configuration). Start your app by running `npm start`, then press `^D` on macOS or `F9` on Windows and Linux or click the green debug icon to start debugging in WebStorm. The same way you can debug your application in IntelliJ IDEA Ultimate, PhpStorm, PyCharm Pro, and RubyMine. ## Formatting Code Automatically Prettier is an opinionated code formatter with support for JavaScript, CSS and JSON. With Prettier you can format the code you write automatically to ensure a code style within your project. See the [Prettier's GitHub page](https://github.com/prettier/prettier) for more information, and look at this [page to see it in action](https://prettier.github.io/prettier/). To format our code whenever we make a commit in git, we need to install the following dependencies: ```sh npm install --save husky lint-staged prettier ``` Alternatively you may use `yarn`: ```sh yarn add husky lint-staged prettier ``` * `husky` makes it easy to use githooks as if they are npm scripts. * `lint-staged` allows us to run scripts on staged files in git. See this [blog post about lint-staged to learn more about it](https://medium.com/@okonetchnikov/make-linting-great-again-f3890e1ad6b8). * `prettier` is the JavaScript formatter we will run before commits. Now we can make sure every file is formatted correctly by adding a few lines to the `package.json` in the project root. Add the following line to `scripts` section: ```diff "scripts": { + "precommit": "lint-staged", "start": "react-scripts start", "build": "react-scripts build", ``` Next we add a 'lint-staged' field to the `package.json`, for example: ```diff "dependencies": { // ... }, + "lint-staged": { + "src/**/*.{js,jsx,json,css}": [ + "prettier --single-quote --write", + "git add" + ] + }, "scripts": { ``` Now, whenever you make a commit, Prettier will format the changed files automatically. You can also run `./node_modules/.bin/prettier --single-quote --write "src/**/*.{js,jsx,json,css}"` to format your entire project for the first time. Next you might want to integrate Prettier in your favorite editor. Read the section on [Editor Integration](https://prettier.io/docs/en/editors.html) on the Prettier GitHub page. ## Changing the Page `<title>` You can find the source HTML file in the `public` folder of the generated project. You may edit the `<title>` tag in it to change the title from “React App” to anything else. Note that normally you wouldn’t edit files in the `public` folder very often. For example, [adding a stylesheet](#adding-a-stylesheet) is done without touching the HTML. If you need to dynamically update the page title based on the content, you can use the browser [`document.title`](https://developer.mozilla.org/en-US/docs/Web/API/Document/title) API. For more complex scenarios when you want to change the title from React components, you can use [React Helmet](https://github.com/nfl/react-helmet), a third party library. If you use a custom server for your app in production and want to modify the title before it gets sent to the browser, you can follow advice in [this section](#generating-dynamic-meta-tags-on-the-server). Alternatively, you can pre-build each page as a static HTML file which then loads the JavaScript bundle, which is covered [here](#pre-rendering-into-static-html-files). ## Installing a Dependency The generated project includes React and ReactDOM as dependencies. It also includes a set of scripts used by Create React App as a development dependency. You may install other dependencies (for example, React Router) with `npm`: ```sh npm install --save react-router ``` Alternatively you may use `yarn`: ```sh yarn add react-router ``` This works for any library, not just `react-router`. ## Importing a Component This project setup supports ES6 modules thanks to Babel.<br> While you can still use `require()` and `module.exports`, we encourage you to use [`import` and `export`](http://exploringjs.com/es6/ch_modules.html) instead. For example: ### `Button.js` ```js import React, { Component } from 'react'; class Button extends Component { render() { // ... } } export default Button; // Don’t forget to use export default! ``` ### `DangerButton.js` ```js import React, { Component } from 'react'; import Button from './Button'; // Import a component from another file class DangerButton extends Component { render() { return <Button color="red" />; } } export default DangerButton; ``` Be aware of the [difference between default and named exports](http://stackoverflow.com/questions/36795819/react-native-es-6-when-should-i-use-curly-braces-for-import/36796281#36796281). It is a common source of mistakes. We suggest that you stick to using default imports and exports when a module only exports a single thing (for example, a component). That’s what you get when you use `export default Button` and `import Button from './Button'`. Named exports are useful for utility modules that export several functions. A module may have at most one default export and as many named exports as you like. Learn more about ES6 modules: * [When to use the curly braces?](http://stackoverflow.com/questions/36795819/react-native-es-6-when-should-i-use-curly-braces-for-import/36796281#36796281) * [Exploring ES6: Modules](http://exploringjs.com/es6/ch_modules.html) * [Understanding ES6: Modules](https://leanpub.com/understandinges6/read#leanpub-auto-encapsulating-code-with-modules) ## Code Splitting Instead of downloading the entire app before users can use it, code splitting allows you to split your code into small chunks which you can then load on demand. This project setup supports code splitting via [dynamic `import()`](http://2ality.com/2017/01/import-operator.html#loading-code-on-demand). Its [proposal](https://github.com/tc39/proposal-dynamic-import) is in stage 3. The `import()` function-like form takes the module name as an argument and returns a [`Promise`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise) which always resolves to the namespace object of the module. Here is an example: ### `moduleA.js` ```js const moduleA = 'Hello'; export { moduleA }; ``` ### `App.js` ```js import React, { Component } from 'react'; class App extends Component { handleClick = () => { import('./moduleA') .then(({ moduleA }) => { // Use moduleA }) .catch(err => { // Handle failure }); }; render() { return ( <div> <button onClick={this.handleClick}>Load</button> </div> ); } } export default App; ``` This will make `moduleA.js` and all its unique dependencies as a separate chunk that only loads after the user clicks the 'Load' button. You can also use it with `async` / `await` syntax if you prefer it. ### With React Router If you are using React Router check out [this tutorial](http://serverless-stack.com/chapters/code-splitting-in-create-react-app.html) on how to use code splitting with it. You can find the companion GitHub repository [here](https://github.com/AnomalyInnovations/serverless-stack-demo-client/tree/code-splitting-in-create-react-app). Also check out the [Code Splitting](https://reactjs.org/docs/code-splitting.html) section in React documentation. ## Adding a Stylesheet This project setup uses [Webpack](https://webpack.js.org/) for handling all assets. Webpack offers a custom way of “extending” the concept of `import` beyond JavaScript. To express that a JavaScript file depends on a CSS file, you need to **import the CSS from the JavaScript file**: ### `Button.css` ```css .Button { padding: 20px; } ``` ### `Button.js` ```js import React, { Component } from 'react'; import './Button.css'; // Tell Webpack that Button.js uses these styles class Button extends Component { render() { // You can use them as regular CSS styles return <div className="Button" />; } } ``` **This is not required for React** but many people find this feature convenient. You can read about the benefits of this approach [here](https://medium.com/seek-blog/block-element-modifying-your-javascript-components-d7f99fcab52b). However you should be aware that this makes your code less portable to other build tools and environments than Webpack. In development, expressing dependencies this way allows your styles to be reloaded on the fly as you edit them. In production, all CSS files will be concatenated into a single minified `.css` file in the build output. If you are concerned about using Webpack-specific semantics, you can put all your CSS right into `src/index.css`. It would still be imported from `src/index.js`, but you could always remove that import if you later migrate to a different build tool. ## Post-Processing CSS This project setup minifies your CSS and adds vendor prefixes to it automatically through [Autoprefixer](https://github.com/postcss/autoprefixer) so you don’t need to worry about it. For example, this: ```css .App { display: flex; flex-direction: row; align-items: center; } ``` becomes this: ```css .App { display: -webkit-box; display: -ms-flexbox; display: flex; -webkit-box-orient: horizontal; -webkit-box-direction: normal; -ms-flex-direction: row; flex-direction: row; -webkit-box-align: center; -ms-flex-align: center; align-items: center; } ``` If you need to disable autoprefixing for some reason, [follow this section](https://github.com/postcss/autoprefixer#disabling). ## Adding a CSS Preprocessor (Sass, Less etc.) Generally, we recommend that you don’t reuse the same CSS classes across different components. For example, instead of using a `.Button` CSS class in `<AcceptButton>` and `<RejectButton>` components, we recommend creating a `<Button>` component with its own `.Button` styles, that both `<AcceptButton>` and `<RejectButton>` can render (but [not inherit](https://facebook.github.io/react/docs/composition-vs-inheritance.html)). Following this rule often makes CSS preprocessors less useful, as features like mixins and nesting are replaced by component composition. You can, however, integrate a CSS preprocessor if you find it valuable. In this walkthrough, we will be using Sass, but you can also use Less, or another alternative. First, let’s install the command-line interface for Sass: ```sh npm install --save node-sass-chokidar ``` Alternatively you may use `yarn`: ```sh yarn add node-sass-chokidar ``` Then in `package.json`, add the following lines to `scripts`: ```diff "scripts": { + "build-css": "node-sass-chokidar src/ -o src/", + "watch-css": "npm run build-css && node-sass-chokidar src/ -o src/ --watch --recursive", "start": "react-scripts start", "build": "react-scripts build", "test": "react-scripts test --env=jsdom", ``` >Note: To use a different preprocessor, replace `build-css` and `watch-css` commands according to your preprocessor’s documentation. Now you can rename `src/App.css` to `src/App.scss` and run `npm run watch-css`. The watcher will find every Sass file in `src` subdirectories, and create a corresponding CSS file next to it, in our case overwriting `src/App.css`. Since `src/App.js` still imports `src/App.css`, the styles become a part of your application. You can now edit `src/App.scss`, and `src/App.css` will be regenerated. To share variables between Sass files, you can use Sass imports. For example, `src/App.scss` and other component style files could include `@import "./shared.scss";` with variable definitions. To enable importing files without using relative paths, you can add the `--include-path` option to the command in `package.json`. ``` "build-css": "node-sass-chokidar --include-path ./src --include-path ./node_modules src/ -o src/", "watch-css": "npm run build-css && node-sass-chokidar --include-path ./src --include-path ./node_modules src/ -o src/ --watch --recursive", ``` This will allow you to do imports like ```scss @import 'styles/_colors.scss'; // assuming a styles directory under src/ @import 'nprogress/nprogress'; // importing a css file from the nprogress node module ``` At this point you might want to remove all CSS files from the source control, and add `src/**/*.css` to your `.gitignore` file. It is generally a good practice to keep the build products outside of the source control. As a final step, you may find it convenient to run `watch-css` automatically with `npm start`, and run `build-css` as a part of `npm run build`. You can use the `&&` operator to execute two scripts sequentially. However, there is no cross-platform way to run two scripts in parallel, so we will install a package for this: ```sh npm install --save npm-run-all ``` Alternatively you may use `yarn`: ```sh yarn add npm-run-all ``` Then we can change `start` and `build` scripts to include the CSS preprocessor commands: ```diff "scripts": { "build-css": "node-sass-chokidar src/ -o src/", "watch-css": "npm run build-css && node-sass-chokidar src/ -o src/ --watch --recursive", - "start": "react-scripts start", - "build": "react-scripts build", + "start-js": "react-scripts start", + "start": "npm-run-all -p watch-css start-js", + "build-js": "react-scripts build", + "build": "npm-run-all build-css build-js", "test": "react-scripts test --env=jsdom", "eject": "react-scripts eject" } ``` Now running `npm start` and `npm run build` also builds Sass files. **Why `node-sass-chokidar`?** `node-sass` has been reported as having the following issues: - `node-sass --watch` has been reported to have *performance issues* in certain conditions when used in a virtual machine or with docker. - Infinite styles compiling [#1939](https://github.com/facebookincubator/create-react-app/issues/1939) - `node-sass` has been reported as having issues with detecting new files in a directory [#1891](https://github.com/sass/node-sass/issues/1891) `node-sass-chokidar` is used here as it addresses these issues. ## Adding Images, Fonts, and Files With Webpack, using static assets like images and fonts works similarly to CSS. You can **`import` a file right in a JavaScript module**. This tells Webpack to include that file in the bundle. Unlike CSS imports, importing a file gives you a string value. This value is the final path you can reference in your code, e.g. as the `src` attribute of an image or the `href` of a link to a PDF. To reduce the number of requests to the server, importing images that are less than 10,000 bytes returns a [data URI](https://developer.mozilla.org/en-US/docs/Web/HTTP/Basics_of_HTTP/Data_URIs) instead of a path. This applies to the following file extensions: bmp, gif, jpg, jpeg, and png. SVG files are excluded due to [#1153](https://github.com/facebookincubator/create-react-app/issues/1153). Here is an example: ```js import React from 'react'; import logo from './logo.png'; // Tell Webpack this JS file uses this image console.log(logo); // /logo.84287d09.png function Header() { // Import result is the URL of your image return <img src={logo} alt="Logo" />; } export default Header; ``` This ensures that when the project is built, Webpack will correctly move the images into the build folder, and provide us with correct paths. This works in CSS too: ```css .Logo { background-image: url(./logo.png); } ``` Webpack finds all relative module references in CSS (they start with `./`) and replaces them with the final paths from the compiled bundle. If you make a typo or accidentally delete an important file, you will see a compilation error, just like when you import a non-existent JavaScript module. The final filenames in the compiled bundle are generated by Webpack from content hashes. If the file content changes in the future, Webpack will give it a different name in production so you don’t need to worry about long-term caching of assets. Please be advised that this is also a custom feature of Webpack. **It is not required for React** but many people enjoy it (and React Native uses a similar mechanism for images).<br> An alternative way of handling static assets is described in the next section. ## Using the `public` Folder >Note: this feature is available with `react-scripts@0.5.0` and higher. ### Changing the HTML The `public` folder contains the HTML file so you can tweak it, for example, to [set the page title](#changing-the-page-title). The `<script>` tag with the compiled code will be added to it automatically during the build process. ### Adding Assets Outside of the Module System You can also add other assets to the `public` folder. Note that we normally encourage you to `import` assets in JavaScript files instead. For example, see the sections on [adding a stylesheet](#adding-a-stylesheet) and [adding images and fonts](#adding-images-fonts-and-files). This mechanism provides a number of benefits: * Scripts and stylesheets get minified and bundled together to avoid extra network requests. * Missing files cause compilation errors instead of 404 errors for your users. * Result filenames include content hashes so you don’t need to worry about browsers caching their old versions. However there is an **escape hatch** that you can use to add an asset outside of the module system. If you put a file into the `public` folder, it will **not** be processed by Webpack. Instead it will be copied into the build folder untouched. To reference assets in the `public` folder, you need to use a special variable called `PUBLIC_URL`. Inside `index.html`, you can use it like this: ```html <link rel="shortcut icon" href="%PUBLIC_URL%/favicon.ico"> ``` Only files inside the `public` folder will be accessible by `%PUBLIC_URL%` prefix. If you need to use a file from `src` or `node_modules`, you’ll have to copy it there to explicitly specify your intention to make this file a part of the build. When you run `npm run build`, Create React App will substitute `%PUBLIC_URL%` with a correct absolute path so your project works even if you use client-side routing or host it at a non-root URL. In JavaScript code, you can use `process.env.PUBLIC_URL` for similar purposes: ```js render() { // Note: this is an escape hatch and should be used sparingly! // Normally we recommend using `import` for getting asset URLs // as described in “Adding Images and Fonts” above this section. return <img src={process.env.PUBLIC_URL + '/img/logo.png'} />; } ``` Keep in mind the downsides of this approach: * None of the files in `public` folder get post-processed or minified. * Missing files will not be called at compilation time, and will cause 404 errors for your users. * Result filenames won’t include content hashes so you’ll need to add query arguments or rename them every time they change. ### When to Use the `public` Folder Normally we recommend importing [stylesheets](#adding-a-stylesheet), [images, and fonts](#adding-images-fonts-and-files) from JavaScript. The `public` folder is useful as a workaround for a number of less common cases: * You need a file with a specific name in the build output, such as [`manifest.webmanifest`](https://developer.mozilla.org/en-US/docs/Web/Manifest). * You have thousands of images and need to dynamically reference their paths. * You want to include a small script like [`pace.js`](http://github.hubspot.com/pace/docs/welcome/) outside of the bundled code. * Some library may be incompatible with Webpack and you have no other option but to include it as a `<script>` tag. Note that if you add a `<script>` that declares global variables, you also need to read the next section on using them. ## Using Global Variables When you include a script in the HTML file that defines global variables and try to use one of these variables in the code, the linter will complain because it cannot see the definition of the variable. You can avoid this by reading the global variable explicitly from the `window` object, for example: ```js const $ = window.$; ``` This makes it obvious you are using a global variable intentionally rather than because of a typo. Alternatively, you can force the linter to ignore any line by adding `// eslint-disable-line` after it. ## Adding Bootstrap You don’t have to use [React Bootstrap](https://react-bootstrap.github.io) together with React but it is a popular library for integrating Bootstrap with React apps. If you need it, you can integrate it with Create React App by following these steps: Install React Bootstrap and Bootstrap from npm. React Bootstrap does not include Bootstrap CSS so this needs to be installed as well: ```sh npm install --save react-bootstrap bootstrap@3 ``` Alternatively you may use `yarn`: ```sh yarn add react-bootstrap bootstrap@3 ``` Import Bootstrap CSS and optionally Bootstrap theme CSS in the beginning of your ```src/index.js``` file: ```js import 'bootstrap/dist/css/bootstrap.css'; import 'bootstrap/dist/css/bootstrap-theme.css'; // Put any other imports below so that CSS from your // components takes precedence over default styles. ``` Import required React Bootstrap components within ```src/App.js``` file or your custom component files: ```js import { Navbar, Jumbotron, Button } from 'react-bootstrap'; ``` Now you are ready to use the imported React Bootstrap components within your component hierarchy defined in the render method. Here is an example [`App.js`](https://gist.githubusercontent.com/gaearon/85d8c067f6af1e56277c82d19fd4da7b/raw/6158dd991b67284e9fc8d70b9d973efe87659d72/App.js) redone using React Bootstrap. ### Using a Custom Theme Sometimes you might need to tweak the visual styles of Bootstrap (or equivalent package).<br> We suggest the following approach: * Create a new package that depends on the package you wish to customize, e.g. Bootstrap. * Add the necessary build steps to tweak the theme, and publish your package on npm. * Install your own theme npm package as a dependency of your app. Here is an example of adding a [customized Bootstrap](https://medium.com/@tacomanator/customizing-create-react-app-aa9ffb88165) that follows these steps. ## Adding Flow Flow is a static type checker that helps you write code with fewer bugs. Check out this [introduction to using static types in JavaScript](https://medium.com/@preethikasireddy/why-use-static-types-in-javascript-part-1-8382da1e0adb) if you are new to this concept. Recent versions of [Flow](http://flowtype.org/) work with Create React App projects out of the box. To add Flow to a Create React App project, follow these steps: 1. Run `npm install --save flow-bin` (or `yarn add flow-bin`). 2. Add `"flow": "flow"` to the `scripts` section of your `package.json`. 3. Run `npm run flow init` (or `yarn flow init`) to create a [`.flowconfig` file](https://flowtype.org/docs/advanced-configuration.html) in the root directory. 4. Add `// @flow` to any files you want to type check (for example, to `src/App.js`). Now you can run `npm run flow` (or `yarn flow`) to check the files for type errors. You can optionally use an IDE like [Nuclide](https://nuclide.io/docs/languages/flow/) for a better integrated experience. In the future we plan to integrate it into Create React App even more closely. To learn more about Flow, check out [its documentation](https://flowtype.org/). ## Adding a Router Create React App doesn't prescribe a specific routing solution, but [React Router](https://reacttraining.com/react-router/) is the most popular one. To add it, run: ```sh npm install --save react-router-dom ``` Alternatively you may use `yarn`: ```sh yarn add react-router-dom ``` To try it, delete all the code in `src/App.js` and replace it with any of the examples on its website. The [Basic Example](https://reacttraining.com/react-router/web/example/basic) is a good place to get started. Note that [you may need to configure your production server to support client-side routing](#serving-apps-with-client-side-routing) before deploying your app. ## Adding Custom Environment Variables >Note: this feature is available with `react-scripts@0.2.3` and higher. Your project can consume variables declared in your environment as if they were declared locally in your JS files. By default you will have `NODE_ENV` defined for you, and any other environment variables starting with `REACT_APP_`. **The environment variables are embedded during the build time**. Since Create React App produces a static HTML/CSS/JS bundle, it can’t possibly read them at runtime. To read them at runtime, you would need to load HTML into memory on the server and replace placeholders in runtime, just like [described here](#injecting-data-from-the-server-into-the-page). Alternatively you can rebuild the app on the server anytime you change them. >Note: You must create custom environment variables beginning with `REACT_APP_`. Any other variables except `NODE_ENV` will be ignored to avoid accidentally [exposing a private key on the machine that could have the same name](https://github.com/facebookincubator/create-react-app/issues/865#issuecomment-252199527). Changing any environment variables will require you to restart the development server if it is running. These environment variables will be defined for you on `process.env`. For example, having an environment variable named `REACT_APP_SECRET_CODE` will be exposed in your JS as `process.env.REACT_APP_SECRET_CODE`. There is also a special built-in environment variable called `NODE_ENV`. You can read it from `process.env.NODE_ENV`. When you run `npm start`, it is always equal to `'development'`, when you run `npm test` it is always equal to `'test'`, and when you run `npm run build` to make a production bundle, it is always equal to `'production'`. **You cannot override `NODE_ENV` manually.** This prevents developers from accidentally deploying a slow development build to production. These environment variables can be useful for displaying information conditionally based on where the project is deployed or consuming sensitive data that lives outside of version control. First, you need to have environment variables defined. For example, let’s say you wanted to consume a secret defined in the environment inside a `<form>`: ```jsx render() { return ( <div> <small>You are running this application in <b>{process.env.NODE_ENV}</b> mode.</small> <form> <input type="hidden" defaultValue={process.env.REACT_APP_SECRET_CODE} /> </form> </div> ); } ``` During the build, `process.env.REACT_APP_SECRET_CODE` will be replaced with the current value of the `REACT_APP_SECRET_CODE` environment variable. Remember that the `NODE_ENV` variable will be set for you automatically. When you load the app in the browser and inspect the `<input>`, you will see its value set to `abcdef`, and the bold text will show the environment provided when using `npm start`: ```html <div> <small>You are running this application in <b>development</b> mode.</small> <form> <input type="hidden" value="abcdef" /> </form> </div> ``` The above form is looking for a variable called `REACT_APP_SECRET_CODE` from the environment. In order to consume this value, we need to have it defined in the environment. This can be done using two ways: either in your shell or in a `.env` file. Both of these ways are described in the next few sections. Having access to the `NODE_ENV` is also useful for performing actions conditionally: ```js if (process.env.NODE_ENV !== 'production') { analytics.disable(); } ``` When you compile the app with `npm run build`, the minification step will strip out this condition, and the resulting bundle will be smaller. ### Referencing Environment Variables in the HTML >Note: this feature is available with `react-scripts@0.9.0` and higher. You can also access the environment variables starting with `REACT_APP_` in the `public/index.html`. For example: ```html <title>%REACT_APP_WEBSITE_NAME%</title> ``` Note that the caveats from the above section apply: * Apart from a few built-in variables (`NODE_ENV` and `PUBLIC_URL`), variable names must start with `REACT_APP_` to work. * The environment variables are injected at build time. If you need to inject them at runtime, [follow this approach instead](#generating-dynamic-meta-tags-on-the-server). ### Adding Temporary Environment Variables In Your Shell Defining environment variables can vary between OSes. It’s also important to know that this manner is temporary for the life of the shell session. #### Windows (cmd.exe) ```cmd set "REACT_APP_SECRET_CODE=abcdef" && npm start ``` (Note: Quotes around the variable assignment are required to avoid a trailing whitespace.) #### Windows (Powershell) ```Powershell ($env:REACT_APP_SECRET_CODE = "abcdef") -and (npm start) ``` #### Linux, macOS (Bash) ```bash REACT_APP_SECRET_CODE=abcdef npm start ``` ### Adding Development Environment Variables In `.env` >Note: this feature is available with `react-scripts@0.5.0` and higher. To define permanent environment variables, create a file called `.env` in the root of your project: ``` REACT_APP_SECRET_CODE=abcdef ``` >Note: You must create custom environment variables beginning with `REACT_APP_`. Any other variables except `NODE_ENV` will be ignored to avoid [accidentally exposing a private key on the machine that could have the same name](https://github.com/facebookincubator/create-react-app/issues/865#issuecomment-252199527). Changing any environment variables will require you to restart the development server if it is running. `.env` files **should be** checked into source control (with the exclusion of `.env*.local`). #### What other `.env` files can be used? >Note: this feature is **available with `react-scripts@1.0.0` and higher**. * `.env`: Default. * `.env.local`: Local overrides. **This file is loaded for all environments except test.** * `.env.development`, `.env.test`, `.env.production`: Environment-specific settings. * `.env.development.local`, `.env.test.local`, `.env.production.local`: Local overrides of environment-specific settings. Files on the left have more priority than files on the right: * `npm start`: `.env.development.local`, `.env.development`, `.env.local`, `.env` * `npm run build`: `.env.production.local`, `.env.production`, `.env.local`, `.env` * `npm test`: `.env.test.local`, `.env.test`, `.env` (note `.env.local` is missing) These variables will act as the defaults if the machine does not explicitly set them.<br> Please refer to the [dotenv documentation](https://github.com/motdotla/dotenv) for more details. >Note: If you are defining environment variables for development, your CI and/or hosting platform will most likely need these defined as well. Consult their documentation how to do this. For example, see the documentation for [Travis CI](https://docs.travis-ci.com/user/environment-variables/) or [Heroku](https://devcenter.heroku.com/articles/config-vars). #### Expanding Environment Variables In `.env` >Note: this feature is available with `react-scripts@1.1.0` and higher. Expand variables already on your machine for use in your `.env` file (using [dotenv-expand](https://github.com/motdotla/dotenv-expand)). For example, to get the environment variable `npm_package_version`: ``` REACT_APP_VERSION=$npm_package_version # also works: # REACT_APP_VERSION=${npm_package_version} ``` Or expand variables local to the current `.env` file: ``` DOMAIN=www.example.com REACT_APP_FOO=$DOMAIN/foo REACT_APP_BAR=$DOMAIN/bar ``` ## Can I Use Decorators? Many popular libraries use [decorators](https://medium.com/google-developers/exploring-es7-decorators-76ecb65fb841) in their documentation.<br> Create React App doesn’t support decorator syntax at the moment because: * It is an experimental proposal and is subject to change. * The current specification version is not officially supported by Babel. * If the specification changes, we won’t be able to write a codemod because we don’t use them internally at Facebook. However in many cases you can rewrite decorator-based code without decorators just as fine.<br> Please refer to these two threads for reference: * [#214](https://github.com/facebookincubator/create-react-app/issues/214) * [#411](https://github.com/facebookincubator/create-react-app/issues/411) Create React App will add decorator support when the specification advances to a stable stage. ## Fetching Data with AJAX Requests React doesn't prescribe a specific approach to data fetching, but people commonly use either a library like [axios](https://github.com/axios/axios) or the [`fetch()` API](https://developer.mozilla.org/en-US/docs/Web/API/Fetch_API) provided by the browser. Conveniently, Create React App includes a polyfill for `fetch()` so you can use it without worrying about the browser support. The global `fetch` function allows to easily makes AJAX requests. It takes in a URL as an input and returns a `Promise` that resolves to a `Response` object. You can find more information about `fetch` [here](https://developer.mozilla.org/en-US/docs/Web/API/Fetch_API/Using_Fetch). This project also includes a [Promise polyfill](https://github.com/then/promise) which provides a full implementation of Promises/A+. A Promise represents the eventual result of an asynchronous operation, you can find more information about Promises [here](https://www.promisejs.org/) and [here](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise). Both axios and `fetch()` use Promises under the hood. You can also use the [`async / await`](https://davidwalsh.name/async-await) syntax to reduce the callback nesting. You can learn more about making AJAX requests from React components in [the FAQ entry on the React website](https://reactjs.org/docs/faq-ajax.html). ## Integrating with an API Backend These tutorials will help you to integrate your app with an API backend running on another port, using `fetch()` to access it. ### Node Check out [this tutorial](https://www.fullstackreact.com/articles/using-create-react-app-with-a-server/). You can find the companion GitHub repository [here](https://github.com/fullstackreact/food-lookup-demo). ### Ruby on Rails Check out [this tutorial](https://www.fullstackreact.com/articles/how-to-get-create-react-app-to-work-with-your-rails-api/). You can find the companion GitHub repository [here](https://github.com/fullstackreact/food-lookup-demo-rails). ## Proxying API Requests in Development >Note: this feature is available with `react-scripts@0.2.3` and higher. People often serve the front-end React app from the same host and port as their backend implementation.<br> For example, a production setup might look like this after the app is deployed: ``` / - static server returns index.html with React app /todos - static server returns index.html with React app /api/todos - server handles any /api/* requests using the backend implementation ``` Such setup is **not** required. However, if you **do** have a setup like this, it is convenient to write requests like `fetch('/api/todos')` without worrying about redirecting them to another host or port during development. To tell the development server to proxy any unknown requests to your API server in development, add a `proxy` field to your `package.json`, for example: ```js "proxy": "http://localhost:4000", ``` This way, when you `fetch('/api/todos')` in development, the development server will recognize that it’s not a static asset, and will proxy your request to `http://localhost:4000/api/todos` as a fallback. The development server will **only** attempt to send requests without `text/html` in its `Accept` header to the proxy. Conveniently, this avoids [CORS issues](http://stackoverflow.com/questions/21854516/understanding-ajax-cors-and-security-considerations) and error messages like this in development: ``` Fetch API cannot load http://localhost:4000/api/todos. No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'http://localhost:3000' is therefore not allowed access. If an opaque response serves your needs, set the request's mode to 'no-cors' to fetch the resource with CORS disabled. ``` Keep in mind that `proxy` only has effect in development (with `npm start`), and it is up to you to ensure that URLs like `/api/todos` point to the right thing in production. You don’t have to use the `/api` prefix. Any unrecognized request without a `text/html` accept header will be redirected to the specified `proxy`. The `proxy` option supports HTTP, HTTPS and WebSocket connections.<br> If the `proxy` option is **not** flexible enough for you, alternatively you can: * [Configure the proxy yourself](#configuring-the-proxy-manually) * Enable CORS on your server ([here’s how to do it for Express](http://enable-cors.org/server_expressjs.html)). * Use [environment variables](#adding-custom-environment-variables) to inject the right server host and port into your app. ### "Invalid Host Header" Errors After Configuring Proxy When you enable the `proxy` option, you opt into a more strict set of host checks. This is necessary because leaving the backend open to remote hosts makes your computer vulnerable to DNS rebinding attacks. The issue is explained in [this article](https://medium.com/webpack/webpack-dev-server-middleware-security-issues-1489d950874a) and [this issue](https://github.com/webpack/webpack-dev-server/issues/887). This shouldn’t affect you when developing on `localhost`, but if you develop remotely like [described here](https://github.com/facebookincubator/create-react-app/issues/2271), you will see this error in the browser after enabling the `proxy` option: >Invalid Host header To work around it, you can specify your public development host in a file called `.env.development` in the root of your project: ``` HOST=mypublicdevhost.com ``` If you restart the development server now and load the app from the specified host, it should work. If you are still having issues or if you’re using a more exotic environment like a cloud editor, you can bypass the host check completely by adding a line to `.env.development.local`. **Note that this is dangerous and exposes your machine to remote code execution from malicious websites:** ``` # NOTE: THIS IS DANGEROUS! # It exposes your machine to attacks from the websites you visit. DANGEROUSLY_DISABLE_HOST_CHECK=true ``` We don’t recommend this approach. ### Configuring the Proxy Manually >Note: this feature is available with `react-scripts@1.0.0` and higher. If the `proxy` option is **not** flexible enough for you, you can specify an object in the following form (in `package.json`).<br> You may also specify any configuration value [`http-proxy-middleware`](https://github.com/chimurai/http-proxy-middleware#options) or [`http-proxy`](https://github.com/nodejitsu/node-http-proxy#options) supports. ```js { // ... "proxy": { "/api": { "target": "<url>", "ws": true // ... } } // ... } ``` All requests matching this path will be proxies, no exceptions. This includes requests for `text/html`, which the standard `proxy` option does not proxy. If you need to specify multiple proxies, you may do so by specifying additional entries. Matches are regular expressions, so that you can use a regexp to match multiple paths. ```js { // ... "proxy": { // Matches any request starting with /api "/api": { "target": "<url_1>", "ws": true // ... }, // Matches any request starting with /foo "/foo": { "target": "<url_2>", "ssl": true, "pathRewrite": { "^/foo": "/foo/beta" } // ... }, // Matches /bar/abc.html but not /bar/sub/def.html "/bar/[^/]*[.]html": { "target": "<url_3>", // ... }, // Matches /baz/abc.html and /baz/sub/def.html "/baz/.*/.*[.]html": { "target": "<url_4>" // ... } } // ... } ``` ### Configuring a WebSocket Proxy When setting up a WebSocket proxy, there are a some extra considerations to be aware of. If you’re using a WebSocket engine like [Socket.io](https://socket.io/), you must have a Socket.io server running that you can use as the proxy target. Socket.io will not work with a standard WebSocket server. Specifically, don't expect Socket.io to work with [the websocket.org echo test](http://websocket.org/echo.html). There’s some good documentation available for [setting up a Socket.io server](https://socket.io/docs/). Standard WebSockets **will** work with a standard WebSocket server as well as the websocket.org echo test. You can use libraries like [ws](https://github.com/websockets/ws) for the server, with [native WebSockets in the browser](https://developer.mozilla.org/en-US/docs/Web/API/WebSocket). Either way, you can proxy WebSocket requests manually in `package.json`: ```js { // ... "proxy": { "/socket": { // Your compatible WebSocket server "target": "ws://<socket_url>", // Tell http-proxy-middleware that this is a WebSocket proxy. // Also allows you to proxy WebSocket requests without an additional HTTP request // https://github.com/chimurai/http-proxy-middleware#external-websocket-upgrade "ws": true // ... } } // ... } ``` ## Using HTTPS in Development >Note: this feature is available with `react-scripts@0.4.0` and higher. You may require the dev server to serve pages over HTTPS. One particular case where this could be useful is when using [the "proxy" feature](#proxying-api-requests-in-development) to proxy requests to an API server when that API server is itself serving HTTPS. To do this, set the `HTTPS` environment variable to `true`, then start the dev server as usual with `npm start`: #### Windows (cmd.exe) ```cmd set HTTPS=true&&npm start ``` #### Windows (Powershell) ```Powershell ($env:HTTPS = $true) -and (npm start) ``` (Note: the lack of whitespace is intentional.) #### Linux, macOS (Bash) ```bash HTTPS=true npm start ``` Note that the server will use a self-signed certificate, so your web browser will almost definitely display a warning upon accessing the page. ## Generating Dynamic `<meta>` Tags on the Server Since Create React App doesn’t support server rendering, you might be wondering how to make `<meta>` tags dynamic and reflect the current URL. To solve this, we recommend to add placeholders into the HTML, like this: ```html <!doctype html> <html lang="en"> <head> <meta property="og:title" content="__OG_TITLE__"> <meta property="og:description" content="__OG_DESCRIPTION__"> ``` Then, on the server, regardless of the backend you use, you can read `index.html` into memory and replace `__OG_TITLE__`, `__OG_DESCRIPTION__`, and any other placeholders with values depending on the current URL. Just make sure to sanitize and escape the interpolated values so that they are safe to embed into HTML! If you use a Node server, you can even share the route matching logic between the client and the server. However duplicating it also works fine in simple cases. ## Pre-Rendering into Static HTML Files If you’re hosting your `build` with a static hosting provider you can use [react-snapshot](https://www.npmjs.com/package/react-snapshot) or [react-snap](https://github.com/stereobooster/react-snap) to generate HTML pages for each route, or relative link, in your application. These pages will then seamlessly become active, or “hydrated”, when the JavaScript bundle has loaded. There are also opportunities to use this outside of static hosting, to take the pressure off the server when generating and caching routes. The primary benefit of pre-rendering is that you get the core content of each page _with_ the HTML payload—regardless of whether or not your JavaScript bundle successfully downloads. It also increases the likelihood that each route of your application will be picked up by search engines. You can read more about [zero-configuration pre-rendering (also called snapshotting) here](https://medium.com/superhighfives/an-almost-static-stack-6df0a2791319). ## Injecting Data from the Server into the Page Similarly to the previous section, you can leave some placeholders in the HTML that inject global variables, for example: ```js <!doctype html> <html lang="en"> <head> <script> window.SERVER_DATA = __SERVER_DATA__; </script> ``` Then, on the server, you can replace `__SERVER_DATA__` with a JSON of real data right before sending the response. The client code can then read `window.SERVER_DATA` to use it. **Make sure to [sanitize the JSON before sending it to the client](https://medium.com/node-security/the-most-common-xss-vulnerability-in-react-js-applications-2bdffbcc1fa0) as it makes your app vulnerable to XSS attacks.** ## Running Tests >Note: this feature is available with `react-scripts@0.3.0` and higher.<br> >[Read the migration guide to learn how to enable it in older projects!](https://github.com/facebookincubator/create-react-app/blob/master/CHANGELOG.md#migrating-from-023-to-030) Create React App uses [Jest](https://facebook.github.io/jest/) as its test runner. To prepare for this integration, we did a [major revamp](https://facebook.github.io/jest/blog/2016/09/01/jest-15.html) of Jest so if you heard bad things about it years ago, give it another try. Jest is a Node-based runner. This means that the tests always run in a Node environment and not in a real browser. This lets us enable fast iteration speed and prevent flakiness. While Jest provides browser globals such as `window` thanks to [jsdom](https://github.com/tmpvar/jsdom), they are only approximations of the real browser behavior. Jest is intended to be used for unit tests of your logic and your components rather than the DOM quirks. We recommend that you use a separate tool for browser end-to-end tests if you need them. They are beyond the scope of Create React App. ### Filename Conventions Jest will look for test files with any of the following popular naming conventions: * Files with `.js` suffix in `__tests__` folders. * Files with `.test.js` suffix. * Files with `.spec.js` suffix. The `.test.js` / `.spec.js` files (or the `__tests__` folders) can be located at any depth under the `src` top level folder. We recommend to put the test files (or `__tests__` folders) next to the code they are testing so that relative imports appear shorter. For example, if `App.test.js` and `App.js` are in the same folder, the test just needs to `import App from './App'` instead of a long relative path. Colocation also helps find tests more quickly in larger projects. ### Command Line Interface When you run `npm test`, Jest will launch in the watch mode. Every time you save a file, it will re-run the tests, just like `npm start` recompiles the code. The watcher includes an interactive command-line interface with the ability to run all tests, or focus on a search pattern. It is designed this way so that you can keep it open and enjoy fast re-runs. You can learn the commands from the “Watch Usage” note that the watcher prints after every run: ![Jest watch mode](http://facebook.github.io/jest/img/blog/15-watch.gif) ### Version Control Integration By default, when you run `npm test`, Jest will only run the tests related to files changed since the last commit. This is an optimization designed to make your tests run fast regardless of how many tests you have. However it assumes that you don’t often commit the code that doesn’t pass the tests. Jest will always explicitly mention that it only ran tests related to the files changed since the last commit. You can also press `a` in the watch mode to force Jest to run all tests. Jest will always run all tests on a [continuous integration](#continuous-integration) server or if the project is not inside a Git or Mercurial repository. ### Writing Tests To create tests, add `it()` (or `test()`) blocks with the name of the test and its code. You may optionally wrap them in `describe()` blocks for logical grouping but this is neither required nor recommended. Jest provides a built-in `expect()` global function for making assertions. A basic test could look like this: ```js import sum from './sum'; it('sums numbers', () => { expect(sum(1, 2)).toEqual(3); expect(sum(2, 2)).toEqual(4); }); ``` All `expect()` matchers supported by Jest are [extensively documented here](https://facebook.github.io/jest/docs/en/expect.html#content).<br> You can also use [`jest.fn()` and `expect(fn).toBeCalled()`](https://facebook.github.io/jest/docs/en/expect.html#tohavebeencalled) to create “spies” or mock functions. ### Testing Components There is a broad spectrum of component testing techniques. They range from a “smoke test” verifying that a component renders without throwing, to shallow rendering and testing some of the output, to full rendering and testing component lifecycle and state changes. Different projects choose different testing tradeoffs based on how often components change, and how much logic they contain. If you haven’t decided on a testing strategy yet, we recommend that you start with creating simple smoke tests for your components: ```js import React from 'react'; import ReactDOM from 'react-dom'; import App from './App'; it('renders without crashing', () => { const div = document.createElement('div'); ReactDOM.render(<App />, div); }); ``` This test mounts a component and makes sure that it didn’t throw during rendering. Tests like this provide a lot of value with very little effort so they are great as a starting point, and this is the test you will find in `src/App.test.js`. When you encounter bugs caused by changing components, you will gain a deeper insight into which parts of them are worth testing in your application. This might be a good time to introduce more specific tests asserting specific expected output or behavior. If you’d like to test components in isolation from the child components they render, we recommend using [`shallow()` rendering API](http://airbnb.io/enzyme/docs/api/shallow.html) from [Enzyme](http://airbnb.io/enzyme/). To install it, run: ```sh npm install --save enzyme enzyme-adapter-react-16 react-test-renderer ``` Alternatively you may use `yarn`: ```sh yarn add enzyme enzyme-adapter-react-16 react-test-renderer ``` As of Enzyme 3, you will need to install Enzyme along with an Adapter corresponding to the version of React you are using. (The examples above use the adapter for React 16.) The adapter will also need to be configured in your [global setup file](#initializing-test-environment): #### `src/setupTests.js` ```js import { configure } from 'enzyme'; import Adapter from 'enzyme-adapter-react-16'; configure({ adapter: new Adapter() }); ``` >Note: Keep in mind that if you decide to "eject" before creating `src/setupTests.js`, the resulting `package.json` file won't contain any reference to it. [Read here](#initializing-test-environment) to learn how to add this after ejecting. Now you can write a smoke test with it: ```js import React from 'react'; import { shallow } from 'enzyme'; import App from './App'; it('renders without crashing', () => { shallow(<App />); }); ``` Unlike the previous smoke test using `ReactDOM.render()`, this test only renders `<App>` and doesn’t go deeper. For example, even if `<App>` itself renders a `<Button>` that throws, this test will pass. Shallow rendering is great for isolated unit tests, but you may still want to create some full rendering tests to ensure the components integrate correctly. Enzyme supports [full rendering with `mount()`](http://airbnb.io/enzyme/docs/api/mount.html), and you can also use it for testing state changes and component lifecycle. You can read the [Enzyme documentation](http://airbnb.io/enzyme/) for more testing techniques. Enzyme documentation uses Chai and Sinon for assertions but you don’t have to use them because Jest provides built-in `expect()` and `jest.fn()` for spies. Here is an example from Enzyme documentation that asserts specific output, rewritten to use Jest matchers: ```js import React from 'react'; import { shallow } from 'enzyme'; import App from './App'; it('renders welcome message', () => { const wrapper = shallow(<App />); const welcome = <h2>Welcome to React</h2>; // expect(wrapper.contains(welcome)).to.equal(true); expect(wrapper.contains(welcome)).toEqual(true); }); ``` All Jest matchers are [extensively documented here](http://facebook.github.io/jest/docs/en/expect.html).<br> Nevertheless you can use a third-party assertion library like [Chai](http://chaijs.com/) if you want to, as described below. Additionally, you might find [jest-enzyme](https://github.com/blainekasten/enzyme-matchers) helpful to simplify your tests with readable matchers. The above `contains` code can be written more simply with jest-enzyme. ```js expect(wrapper).toContainReact(welcome) ``` To enable this, install `jest-enzyme`: ```sh npm install --save jest-enzyme ``` Alternatively you may use `yarn`: ```sh yarn add jest-enzyme ``` Import it in [`src/setupTests.js`](#initializing-test-environment) to make its matchers available in every test: ```js import 'jest-enzyme'; ``` #### Use `react-testing-library` As an alternative or companion to `enzyme`, you may consider using `react-testing-library`. [`react-testing-library`](https://github.com/kentcdodds/react-testing-library) is a library for testing React components in a way that resembles the way the components are used by end users. It is well suited for unit, integration, and end-to-end testing of React components and applications. It works more directly with DOM nodes, and therefore it's recommended to use with [`jest-dom`](https://github.com/gnapse/jest-dom) for improved assertions. To install `react-testing-library` and `jest-dom`, you can run: ```sh npm install --save react-testing-library jest-dom ``` Alternatively you may use `yarn`: ```sh yarn add react-testing-library jest-dom ``` Similar to `enzyme` you can create a `src/setupTests.js` file to avoid boilerplate in your test files: ```js // react-testing-library renders your components to document.body, // this will ensure they're removed after each test. import 'react-testing-library/cleanup-after-each'; // this adds jest-dom's custom assertions import 'jest-dom/extend-expect'; ``` Here's an example of using `react-testing-library` and `jest-dom` for testing that the `<App />` component renders "Welcome to React". ```js import React from 'react'; import { render } from 'react-testing-library'; import App from './App'; it('renders welcome message', () => { const { getByText } = render(<App />); expect(getByText('Welcome to React')).toBeInTheDOM(); }); ``` Learn more about the utilities provided by `react-testing-library` to facilitate testing asynchronous interactions as well as selecting form elements from [the `react-testing-library` documentation](https://github.com/kentcdodds/react-testing-library) and [examples](https://codesandbox.io/s/github/kentcdodds/react-testing-library-examples). ### Using Third Party Assertion Libraries We recommend that you use `expect()` for assertions and `jest.fn()` for spies. If you are having issues with them please [file those against Jest](https://github.com/facebook/jest/issues/new), and we’ll fix them. We intend to keep making them better for React, supporting, for example, [pretty-printing React elements as JSX](https://github.com/facebook/jest/pull/1566). However, if you are used to other libraries, such as [Chai](http://chaijs.com/) and [Sinon](http://sinonjs.org/), or if you have existing code using them that you’d like to port over, you can import them normally like this: ```js import sinon from 'sinon'; import { expect } from 'chai'; ``` and then use them in your tests like you normally do. ### Initializing Test Environment >Note: this feature is available with `react-scripts@0.4.0` and higher. If your app uses a browser API that you need to mock in your tests or if you just need a global setup before running your tests, add a `src/setupTests.js` to your project. It will be automatically executed before running your tests. For example: #### `src/setupTests.js` ```js const localStorageMock = { getItem: jest.fn(), setItem: jest.fn(), clear: jest.fn() }; global.localStorage = localStorageMock ``` >Note: Keep in mind that if you decide to "eject" before creating `src/setupTests.js`, the resulting `package.json` file won't contain any reference to it, so you should manually create the property `setupTestFrameworkScriptFile` in the configuration for Jest, something like the following: >```js >"jest": { > // ... > "setupTestFrameworkScriptFile": "<rootDir>/src/setupTests.js" > } > ``` ### Focusing and Excluding Tests You can replace `it()` with `xit()` to temporarily exclude a test from being executed.<br> Similarly, `fit()` lets you focus on a specific test without running any other tests. ### Coverage Reporting Jest has an integrated coverage reporter that works well with ES6 and requires no configuration.<br> Run `npm test -- --coverage` (note extra `--` in the middle) to include a coverage report like this: ![coverage report](http://i.imgur.com/5bFhnTS.png) Note that tests run much slower with coverage so it is recommended to run it separately from your normal workflow. #### Configuration The default Jest coverage configuration can be overriden by adding any of the following supported keys to a Jest config in your package.json. Supported overrides: - [`collectCoverageFrom`](https://facebook.github.io/jest/docs/en/configuration.html#collectcoveragefrom-array) - [`coverageReporters`](https://facebook.github.io/jest/docs/en/configuration.html#coveragereporters-array-string) - [`coverageThreshold`](https://facebook.github.io/jest/docs/en/configuration.html#coveragethreshold-object) - [`snapshotSerializers`](https://facebook.github.io/jest/docs/en/configuration.html#snapshotserializers-array-string) Example package.json: ```json { "name": "your-package", "jest": { "collectCoverageFrom" : [ "src/**/*.{js,jsx}", "!<rootDir>/node_modules/", "!<rootDir>/path/to/dir/" ], "coverageThreshold": { "global": { "branches": 90, "functions": 90, "lines": 90, "statements": 90 } }, "coverageReporters": ["text"], "snapshotSerializers": ["my-serializer-module"] } } ``` ### Continuous Integration By default `npm test` runs the watcher with interactive CLI. However, you can force it to run tests once and finish the process by setting an environment variable called `CI`. When creating a build of your application with `npm run build` linter warnings are not checked by default. Like `npm test`, you can force the build to perform a linter warning check by setting the environment variable `CI`. If any warnings are encountered then the build fails. Popular CI servers already set the environment variable `CI` by default but you can do this yourself too: ### On CI servers #### Travis CI 1. Following the [Travis Getting started](https://docs.travis-ci.com/user/getting-started/) guide for syncing your GitHub repository with Travis. You may need to initialize some settings manually in your [profile](https://travis-ci.org/profile) page. 1. Add a `.travis.yml` file to your git repository. ``` language: node_js node_js: - 6 cache: directories: - node_modules script: - npm run build - npm test ``` 1. Trigger your first build with a git push. 1. [Customize your Travis CI Build](https://docs.travis-ci.com/user/customizing-the-build/) if needed. #### CircleCI Follow [this article](https://medium.com/@knowbody/circleci-and-zeits-now-sh-c9b7eebcd3c1) to set up CircleCI with a Create React App project. ### On your own environment ##### Windows (cmd.exe) ```cmd set CI=true&&npm test ``` ```cmd set CI=true&&npm run build ``` (Note: the lack of whitespace is intentional.) ##### Windows (Powershell) ```Powershell ($env:CI = $true) -and (npm test) ``` ```Powershell ($env:CI = $true) -and (npm run build) ``` ##### Linux, macOS (Bash) ```bash CI=true npm test ``` ```bash CI=true npm run build ``` The test command will force Jest to run tests once instead of launching the watcher. > If you find yourself doing this often in development, please [file an issue](https://github.com/facebookincubator/create-react-app/issues/new) to tell us about your use case because we want to make watcher the best experience and are open to changing how it works to accommodate more workflows. The build command will check for linter warnings and fail if any are found. ### Disabling jsdom By default, the `package.json` of the generated project looks like this: ```js "scripts": { "start": "react-scripts start", "build": "react-scripts build", "test": "react-scripts test --env=jsdom" ``` If you know that none of your tests depend on [jsdom](https://github.com/tmpvar/jsdom), you can safely remove `--env=jsdom`, and your tests will run faster: ```diff "scripts": { "start": "react-scripts start", "build": "react-scripts build", - "test": "react-scripts test --env=jsdom" + "test": "react-scripts test" ``` To help you make up your mind, here is a list of APIs that **need jsdom**: * Any browser globals like `window` and `document` * [`ReactDOM.render()`](https://facebook.github.io/react/docs/top-level-api.html#reactdom.render) * [`TestUtils.renderIntoDocument()`](https://facebook.github.io/react/docs/test-utils.html#renderintodocument) ([a shortcut](https://github.com/facebook/react/blob/34761cf9a252964abfaab6faf74d473ad95d1f21/src/test/ReactTestUtils.js#L83-L91) for the above) * [`mount()`](http://airbnb.io/enzyme/docs/api/mount.html) in [Enzyme](http://airbnb.io/enzyme/index.html) In contrast, **jsdom is not needed** for the following APIs: * [`TestUtils.createRenderer()`](https://facebook.github.io/react/docs/test-utils.html#shallow-rendering) (shallow rendering) * [`shallow()`](http://airbnb.io/enzyme/docs/api/shallow.html) in [Enzyme](http://airbnb.io/enzyme/index.html) Finally, jsdom is also not needed for [snapshot testing](http://facebook.github.io/jest/blog/2016/07/27/jest-14.html). ### Snapshot Testing Snapshot testing is a feature of Jest that automatically generates text snapshots of your components and saves them on the disk so if the UI output changes, you get notified without manually writing any assertions on the component output. [Read more about snapshot testing.](http://facebook.github.io/jest/blog/2016/07/27/jest-14.html) ### Editor Integration If you use [Visual Studio Code](https://code.visualstudio.com), there is a [Jest extension](https://github.com/orta/vscode-jest) which works with Create React App out of the box. This provides a lot of IDE-like features while using a text editor: showing the status of a test run with potential fail messages inline, starting and stopping the watcher automatically, and offering one-click snapshot updates. ![VS Code Jest Preview](https://cloud.githubusercontent.com/assets/49038/20795349/a032308a-b7c8-11e6-9b34-7eeac781003f.png) ## Debugging Tests There are various ways to setup a debugger for your Jest tests. We cover debugging in Chrome and [Visual Studio Code](https://code.visualstudio.com/). >Note: debugging tests requires Node 8 or higher. ### Debugging Tests in Chrome Add the following to the `scripts` section in your project's `package.json` ```json "scripts": { "test:debug": "react-scripts --inspect-brk test --runInBand --env=jsdom" } ``` Place `debugger;` statements in any test and run: ```bash $ npm run test:debug ``` This will start running your Jest tests, but pause before executing to allow a debugger to attach to the process. Open the following in Chrome ``` about:inspect ``` After opening that link, the Chrome Developer Tools will be displayed. Select `inspect` on your process and a breakpoint will be set at the first line of the react script (this is done simply to give you time to open the developer tools and to prevent Jest from executing before you have time to do so). Click the button that looks like a "play" button in the upper right hand side of the screen to continue execution. When Jest executes the test that contains the debugger statement, execution will pause and you can examine the current scope and call stack. >Note: the --runInBand cli option makes sure Jest runs test in the same process rather than spawning processes for individual tests. Normally Jest parallelizes test runs across processes but it is hard to debug many processes at the same time. ### Debugging Tests in Visual Studio Code Debugging Jest tests is supported out of the box for [Visual Studio Code](https://code.visualstudio.com). Use the following [`launch.json`](https://code.visualstudio.com/docs/editor/debugging#_launch-configurations) configuration file: ``` { "version": "0.2.0", "configurations": [ { "name": "Debug CRA Tests", "type": "node", "request": "launch", "runtimeExecutable": "${workspaceRoot}/node_modules/.bin/react-scripts", "args": [ "test", "--runInBand", "--no-cache", "--env=jsdom" ], "cwd": "${workspaceRoot}", "protocol": "inspector", "console": "integratedTerminal", "internalConsoleOptions": "neverOpen" } ] } ``` ## Developing Components in Isolation Usually, in an app, you have a lot of UI components, and each of them has many different states. For an example, a simple button component could have following states: * In a regular state, with a text label. * In the disabled mode. * In a loading state. Usually, it’s hard to see these states without running a sample app or some examples. Create React App doesn’t include any tools for this by default, but you can easily add [Storybook for React](https://storybook.js.org) ([source](https://github.com/storybooks/storybook)) or [React Styleguidist](https://react-styleguidist.js.org/) ([source](https://github.com/styleguidist/react-styleguidist)) to your project. **These are third-party tools that let you develop components and see all their states in isolation from your app**. ![Storybook for React Demo](http://i.imgur.com/7CIAWpB.gif) You can also deploy your Storybook or style guide as a static app. This way, everyone in your team can view and review different states of UI components without starting a backend server or creating an account in your app. ### Getting Started with Storybook Storybook is a development environment for React UI components. It allows you to browse a component library, view the different states of each component, and interactively develop and test components. First, install the following npm package globally: ```sh npm install -g @storybook/cli ``` Then, run the following command inside your app’s directory: ```sh getstorybook ``` After that, follow the instructions on the screen. Learn more about React Storybook: * Screencast: [Getting Started with React Storybook](https://egghead.io/lessons/react-getting-started-with-react-storybook) * [GitHub Repo](https://github.com/storybooks/storybook) * [Documentation](https://storybook.js.org/basics/introduction/) * [Snapshot Testing UI](https://github.com/storybooks/storybook/tree/master/addons/storyshots) with Storybook + addon/storyshot ### Getting Started with Styleguidist Styleguidist combines a style guide, where all your components are presented on a single page with their props documentation and usage examples, with an environment for developing components in isolation, similar to Storybook. In Styleguidist you write examples in Markdown, where each code snippet is rendered as a live editable playground. First, install Styleguidist: ```sh npm install --save react-styleguidist ``` Alternatively you may use `yarn`: ```sh yarn add react-styleguidist ``` Then, add these scripts to your `package.json`: ```diff "scripts": { + "styleguide": "styleguidist server", + "styleguide:build": "styleguidist build", "start": "react-scripts start", ``` Then, run the following command inside your app’s directory: ```sh npm run styleguide ``` After that, follow the instructions on the screen. Learn more about React Styleguidist: * [GitHub Repo](https://github.com/styleguidist/react-styleguidist) * [Documentation](https://react-styleguidist.js.org/docs/getting-started.html) ## Publishing Components to npm Create React App doesn't provide any built-in functionality to publish a component to npm. If you're ready to extract a component from your project so other people can use it, we recommend moving it to a separate directory outside of your project and then using a tool like [nwb](https://github.com/insin/nwb#react-components-and-libraries) to prepare it for publishing. ## Making a Progressive Web App By default, the production build is a fully functional, offline-first [Progressive Web App](https://developers.google.com/web/progressive-web-apps/). Progressive Web Apps are faster and more reliable than traditional web pages, and provide an engaging mobile experience: * All static site assets are cached so that your page loads fast on subsequent visits, regardless of network connectivity (such as 2G or 3G). Updates are downloaded in the background. * Your app will work regardless of network state, even if offline. This means your users will be able to use your app at 10,000 feet and on the subway. * On mobile devices, your app can be added directly to the user's home screen, app icon and all. You can also re-engage users using web **push notifications**. This eliminates the need for the app store. The [`sw-precache-webpack-plugin`](https://github.com/goldhand/sw-precache-webpack-plugin) is integrated into production configuration, and it will take care of generating a service worker file that will automatically precache all of your local assets and keep them up to date as you deploy updates. The service worker will use a [cache-first strategy](https://developers.google.com/web/fundamentals/instant-and-offline/offline-cookbook/#cache-falling-back-to-network) for handling all requests for local assets, including the initial HTML, ensuring that your web app is reliably fast, even on a slow or unreliable network. ### Opting Out of Caching If you would prefer not to enable service workers prior to your initial production deployment, then remove the call to `registerServiceWorker()` from [`src/index.js`](src/index.js). If you had previously enabled service workers in your production deployment and have decided that you would like to disable them for all your existing users, you can swap out the call to `registerServiceWorker()` in [`src/index.js`](src/index.js) first by modifying the service worker import: ```javascript import { unregister } from './registerServiceWorker'; ``` and then call `unregister()` instead. After the user visits a page that has `unregister()`, the service worker will be uninstalled. Note that depending on how `/service-worker.js` is served, it may take up to 24 hours for the cache to be invalidated. ### Offline-First Considerations 1. Service workers [require HTTPS](https://developers.google.com/web/fundamentals/getting-started/primers/service-workers#you_need_https), although to facilitate local testing, that policy [does not apply to `localhost`](http://stackoverflow.com/questions/34160509/options-for-testing-service-workers-via-http/34161385#34161385). If your production web server does not support HTTPS, then the service worker registration will fail, but the rest of your web app will remain functional. 1. Service workers are [not currently supported](https://jakearchibald.github.io/isserviceworkerready/) in all web browsers. Service worker registration [won't be attempted](src/registerServiceWorker.js) on browsers that lack support. 1. The service worker is only enabled in the [production environment](#deployment), e.g. the output of `npm run build`. It's recommended that you do not enable an offline-first service worker in a development environment, as it can lead to frustration when previously cached assets are used and do not include the latest changes you've made locally. 1. If you *need* to test your offline-first service worker locally, build the application (using `npm run build`) and run a simple http server from your build directory. After running the build script, `create-react-app` will give instructions for one way to test your production build locally and the [deployment instructions](#deployment) have instructions for using other methods. *Be sure to always use an incognito window to avoid complications with your browser cache.* 1. If possible, configure your production environment to serve the generated `service-worker.js` [with HTTP caching disabled](http://stackoverflow.com/questions/38843970/service-worker-javascript-update-frequency-every-24-hours). If that's not possible—[GitHub Pages](#github-pages), for instance, does not allow you to change the default 10 minute HTTP cache lifetime—then be aware that if you visit your production site, and then revisit again before `service-worker.js` has expired from your HTTP cache, you'll continue to get the previously cached assets from the service worker. If you have an immediate need to view your updated production deployment, performing a shift-refresh will temporarily disable the service worker and retrieve all assets from the network. 1. Users aren't always familiar with offline-first web apps. It can be useful to [let the user know](https://developers.google.com/web/fundamentals/instant-and-offline/offline-ux#inform_the_user_when_the_app_is_ready_for_offline_consumption) when the service worker has finished populating your caches (showing a "This web app works offline!" message) and also let them know when the service worker has fetched the latest updates that will be available the next time they load the page (showing a "New content is available; please refresh." message). Showing this messages is currently left as an exercise to the developer, but as a starting point, you can make use of the logic included in [`src/registerServiceWorker.js`](src/registerServiceWorker.js), which demonstrates which service worker lifecycle events to listen for to detect each scenario, and which as a default, just logs appropriate messages to the JavaScript console. 1. By default, the generated service worker file will not intercept or cache any cross-origin traffic, like HTTP [API requests](#integrating-with-an-api-backend), images, or embeds loaded from a different domain. If you would like to use a runtime caching strategy for those requests, you can [`eject`](#npm-run-eject) and then configure the [`runtimeCaching`](https://github.com/GoogleChrome/sw-precache#runtimecaching-arrayobject) option in the `SWPrecacheWebpackPlugin` section of [`webpack.config.prod.js`](../config/webpack.config.prod.js). ### Progressive Web App Metadata The default configuration includes a web app manifest located at [`public/manifest.json`](public/manifest.json), that you can customize with details specific to your web application. When a user adds a web app to their homescreen using Chrome or Firefox on Android, the metadata in [`manifest.json`](public/manifest.json) determines what icons, names, and branding colors to use when the web app is displayed. [The Web App Manifest guide](https://developers.google.com/web/fundamentals/engage-and-retain/web-app-manifest/) provides more context about what each field means, and how your customizations will affect your users' experience. ## Analyzing the Bundle Size [Source map explorer](https://www.npmjs.com/package/source-map-explorer) analyzes JavaScript bundles using the source maps. This helps you understand where code bloat is coming from. To add Source map explorer to a Create React App project, follow these steps: ```sh npm install --save source-map-explorer ``` Alternatively you may use `yarn`: ```sh yarn add source-map-explorer ``` Then in `package.json`, add the following line to `scripts`: ```diff "scripts": { + "analyze": "source-map-explorer build/static/js/main.*", "start": "react-scripts start", "build": "react-scripts build", "test": "react-scripts test --env=jsdom", ``` Then to analyze the bundle run the production build then run the analyze script. ``` npm run build npm run analyze ``` ## Deployment `npm run build` creates a `build` directory with a production build of your app. Set up your favorite HTTP server so that a visitor to your site is served `index.html`, and requests to static paths like `/static/js/main.<hash>.js` are served with the contents of the `/static/js/main.<hash>.js` file. ### Static Server For environments using [Node](https://nodejs.org/), the easiest way to handle this would be to install [serve](https://github.com/zeit/serve) and let it handle the rest: ```sh npm install -g serve serve -s build ``` The last command shown above will serve your static site on the port **5000**. Like many of [serve](https://github.com/zeit/serve)’s internal settings, the port can be adjusted using the `-p` or `--port` flags. Run this command to get a full list of the options available: ```sh serve -h ``` ### Other Solutions You don’t necessarily need a static server in order to run a Create React App project in production. It works just as fine integrated into an existing dynamic one. Here’s a programmatic example using [Node](https://nodejs.org/) and [Express](http://expressjs.com/): ```javascript const express = require('express'); const path = require('path'); const app = express(); app.use(express.static(path.join(__dirname, 'build'))); app.get('/', function (req, res) { res.sendFile(path.join(__dirname, 'build', 'index.html')); }); app.listen(9000); ``` The choice of your server software isn’t important either. Since Create React App is completely platform-agnostic, there’s no need to explicitly use Node. The `build` folder with static assets is the only output produced by Create React App. However this is not quite enough if you use client-side routing. Read the next section if you want to support URLs like `/todos/42` in your single-page app. ### Serving Apps with Client-Side Routing If you use routers that use the HTML5 [`pushState` history API](https://developer.mozilla.org/en-US/docs/Web/API/History_API#Adding_and_modifying_history_entries) under the hood (for example, [React Router](https://github.com/ReactTraining/react-router) with `browserHistory`), many static file servers will fail. For example, if you used React Router with a route for `/todos/42`, the development server will respond to `localhost:3000/todos/42` properly, but an Express serving a production build as above will not. This is because when there is a fresh page load for a `/todos/42`, the server looks for the file `build/todos/42` and does not find it. The server needs to be configured to respond to a request to `/todos/42` by serving `index.html`. For example, we can amend our Express example above to serve `index.html` for any unknown paths: ```diff app.use(express.static(path.join(__dirname, 'build'))); -app.get('/', function (req, res) { +app.get('/*', function (req, res) { res.sendFile(path.join(__dirname, 'build', 'index.html')); }); ``` If you’re using [Apache HTTP Server](https://httpd.apache.org/), you need to create a `.htaccess` file in the `public` folder that looks like this: ``` Options -MultiViews RewriteEngine On RewriteCond %{REQUEST_FILENAME} !-f RewriteRule ^ index.html [QSA,L] ``` It will get copied to the `build` folder when you run `npm run build`. If you’re using [Apache Tomcat](http://tomcat.apache.org/), you need to follow [this Stack Overflow answer](https://stackoverflow.com/a/41249464/4878474). Now requests to `/todos/42` will be handled correctly both in development and in production. On a production build, and in a browser that supports [service workers](https://developers.google.com/web/fundamentals/getting-started/primers/service-workers), the service worker will automatically handle all navigation requests, like for `/todos/42`, by serving the cached copy of your `index.html`. This service worker navigation routing can be configured or disabled by [`eject`ing](#npm-run-eject) and then modifying the [`navigateFallback`](https://github.com/GoogleChrome/sw-precache#navigatefallback-string) and [`navigateFallbackWhitelist`](https://github.com/GoogleChrome/sw-precache#navigatefallbackwhitelist-arrayregexp) options of the `SWPreachePlugin` [configuration](../config/webpack.config.prod.js). When users install your app to the homescreen of their device the default configuration will make a shortcut to `/index.html`. This may not work for client-side routers which expect the app to be served from `/`. Edit the web app manifest at [`public/manifest.json`](public/manifest.json) and change `start_url` to match the required URL scheme, for example: ```js "start_url": ".", ``` ### Building for Relative Paths By default, Create React App produces a build assuming your app is hosted at the server root.<br> To override this, specify the `homepage` in your `package.json`, for example: ```js "homepage": "http://mywebsite.com/relativepath", ``` This will let Create React App correctly infer the root path to use in the generated HTML file. **Note**: If you are using `react-router@^4`, you can root `<Link>`s using the `basename` prop on any `<Router>`.<br> More information [here](https://reacttraining.com/react-router/web/api/BrowserRouter/basename-string).<br> <br> For example: ```js <BrowserRouter basename="/calendar"/> <Link to="/today"/> // renders <a href="/calendar/today"> ``` #### Serving the Same Build from Different Paths >Note: this feature is available with `react-scripts@0.9.0` and higher. If you are not using the HTML5 `pushState` history API or not using client-side routing at all, it is unnecessary to specify the URL from which your app will be served. Instead, you can put this in your `package.json`: ```js "homepage": ".", ``` This will make sure that all the asset paths are relative to `index.html`. You will then be able to move your app from `http://mywebsite.com` to `http://mywebsite.com/relativepath` or even `http://mywebsite.com/relative/path` without having to rebuild it. ### [Azure](https://azure.microsoft.com/) See [this](https://medium.com/@to_pe/deploying-create-react-app-on-microsoft-azure-c0f6686a4321) blog post on how to deploy your React app to Microsoft Azure. See [this](https://medium.com/@strid/host-create-react-app-on-azure-986bc40d5bf2#.pycfnafbg) blog post or [this](https://github.com/ulrikaugustsson/azure-appservice-static) repo for a way to use automatic deployment to Azure App Service. ### [Firebase](https://firebase.google.com/) Install the Firebase CLI if you haven’t already by running `npm install -g firebase-tools`. Sign up for a [Firebase account](https://console.firebase.google.com/) and create a new project. Run `firebase login` and login with your previous created Firebase account. Then run the `firebase init` command from your project’s root. You need to choose the **Hosting: Configure and deploy Firebase Hosting sites** and choose the Firebase project you created in the previous step. You will need to agree with `database.rules.json` being created, choose `build` as the public directory, and also agree to **Configure as a single-page app** by replying with `y`. ```sh === Project Setup First, let's associate this project directory with a Firebase project. You can create multiple project aliases by running firebase use --add, but for now we'll just set up a default project. ? What Firebase project do you want to associate as default? Example app (example-app-fd690) === Database Setup Firebase Realtime Database Rules allow you to define how your data should be structured and when your data can be read from and written to. ? What file should be used for Database Rules? database.rules.json ✔ Database Rules for example-app-fd690 have been downloaded to database.rules.json. Future modifications to database.rules.json will update Database Rules when you run firebase deploy. === Hosting Setup Your public directory is the folder (relative to your project directory) that will contain Hosting assets to uploaded with firebase deploy. If you have a build process for your assets, use your build's output directory. ? What do you want to use as your public directory? build ? Configure as a single-page app (rewrite all urls to /index.html)? Yes ✔ Wrote build/index.html i Writing configuration info to firebase.json... i Writing project information to .firebaserc... ✔ Firebase initialization complete! ``` IMPORTANT: you need to set proper HTTP caching headers for `service-worker.js` file in `firebase.json` file or you will not be able to see changes after first deployment ([issue #2440](https://github.com/facebookincubator/create-react-app/issues/2440)). It should be added inside `"hosting"` key like next: ``` { "hosting": { ... "headers": [ {"source": "/service-worker.js", "headers": [{"key": "Cache-Control", "value": "no-cache"}]} ] ... ``` Now, after you create a production build with `npm run build`, you can deploy it by running `firebase deploy`. ```sh === Deploying to 'example-app-fd690'... i deploying database, hosting ✔ database: rules ready to deploy. i hosting: preparing build directory for upload... Uploading: [============================== ] 75%✔ hosting: build folder uploaded successfully ✔ hosting: 8 files uploaded successfully i starting release process (may take several minutes)... ✔ Deploy complete! Project Console: https://console.firebase.google.com/project/example-app-fd690/overview Hosting URL: https://example-app-fd690.firebaseapp.com ``` For more information see [Add Firebase to your JavaScript Project](https://firebase.google.com/docs/web/setup). ### [GitHub Pages](https://pages.github.com/) >Note: this feature is available with `react-scripts@0.2.0` and higher. #### Step 1: Add `homepage` to `package.json` **The step below is important!**<br> **If you skip it, your app will not deploy correctly.** Open your `package.json` and add a `homepage` field for your project: ```json "homepage": "https://myusername.github.io/my-app", ``` or for a GitHub user page: ```json "homepage": "https://myusername.github.io", ``` Create React App uses the `homepage` field to determine the root URL in the built HTML file. #### Step 2: Install `gh-pages` and add `deploy` to `scripts` in `package.json` Now, whenever you run `npm run build`, you will see a cheat sheet with instructions on how to deploy to GitHub Pages. To publish it at [https://myusername.github.io/my-app](https://myusername.github.io/my-app), run: ```sh npm install --save gh-pages ``` Alternatively you may use `yarn`: ```sh yarn add gh-pages ``` Add the following scripts in your `package.json`: ```diff "scripts": { + "predeploy": "npm run build", + "deploy": "gh-pages -d build", "start": "react-scripts start", "build": "react-scripts build", ``` The `predeploy` script will run automatically before `deploy` is run. If you are deploying to a GitHub user page instead of a project page you'll need to make two additional modifications: 1. First, change your repository's source branch to be any branch other than **master**. 1. Additionally, tweak your `package.json` scripts to push deployments to **master**: ```diff "scripts": { "predeploy": "npm run build", - "deploy": "gh-pages -d build", + "deploy": "gh-pages -b master -d build", ``` #### Step 3: Deploy the site by running `npm run deploy` Then run: ```sh npm run deploy ``` #### Step 4: Ensure your project’s settings use `gh-pages` Finally, make sure **GitHub Pages** option in your GitHub project settings is set to use the `gh-pages` branch: <img src="http://i.imgur.com/HUjEr9l.png" width="500" alt="gh-pages branch setting"> #### Step 5: Optionally, configure the domain You can configure a custom domain with GitHub Pages by adding a `CNAME` file to the `public/` folder. #### Notes on client-side routing GitHub Pages doesn’t support routers that use the HTML5 `pushState` history API under the hood (for example, React Router using `browserHistory`). This is because when there is a fresh page load for a url like `http://user.github.io/todomvc/todos/42`, where `/todos/42` is a frontend route, the GitHub Pages server returns 404 because it knows nothing of `/todos/42`. If you want to add a router to a project hosted on GitHub Pages, here are a couple of solutions: * You could switch from using HTML5 history API to routing with hashes. If you use React Router, you can switch to `hashHistory` for this effect, but the URL will be longer and more verbose (for example, `http://user.github.io/todomvc/#/todos/42?_k=yknaj`). [Read more](https://reacttraining.com/react-router/web/api/Router) about different history implementations in React Router. * Alternatively, you can use a trick to teach GitHub Pages to handle 404 by redirecting to your `index.html` page with a special redirect parameter. You would need to add a `404.html` file with the redirection code to the `build` folder before deploying your project, and you’ll need to add code handling the redirect parameter to `index.html`. You can find a detailed explanation of this technique [in this guide](https://github.com/rafrex/spa-github-pages). #### Troubleshooting ##### "/dev/tty: No such a device or address" If, when deploying, you get `/dev/tty: No such a device or address` or a similar error, try the follwing: 1. Create a new [Personal Access Token](https://github.com/settings/tokens) 2. `git remote set-url origin https://<user>:<token>@github.com/<user>/<repo>` . 3. Try `npm run deploy again` ### [Heroku](https://www.heroku.com/) Use the [Heroku Buildpack for Create React App](https://github.com/mars/create-react-app-buildpack).<br> You can find instructions in [Deploying React with Zero Configuration](https://blog.heroku.com/deploying-react-with-zero-configuration). #### Resolving Heroku Deployment Errors Sometimes `npm run build` works locally but fails during deploy via Heroku. Following are the most common cases. ##### "Module not found: Error: Cannot resolve 'file' or 'directory'" If you get something like this: ``` remote: Failed to create a production build. Reason: remote: Module not found: Error: Cannot resolve 'file' or 'directory' MyDirectory in /tmp/build_1234/src ``` It means you need to ensure that the lettercase of the file or directory you `import` matches the one you see on your filesystem or on GitHub. This is important because Linux (the operating system used by Heroku) is case sensitive. So `MyDirectory` and `mydirectory` are two distinct directories and thus, even though the project builds locally, the difference in case breaks the `import` statements on Heroku remotes. ##### "Could not find a required file." If you exclude or ignore necessary files from the package you will see a error similar this one: ``` remote: Could not find a required file. remote: Name: `index.html` remote: Searched in: /tmp/build_a2875fc163b209225122d68916f1d4df/public remote: remote: npm ERR! Linux 3.13.0-105-generic remote: npm ERR! argv "/tmp/build_a2875fc163b209225122d68916f1d4df/.heroku/node/bin/node" "/tmp/build_a2875fc163b209225122d68916f1d4df/.heroku/node/bin/npm" "run" "build" ``` In this case, ensure that the file is there with the proper lettercase and that’s not ignored on your local `.gitignore` or `~/.gitignore_global`. ### [Netlify](https://www.netlify.com/) **To do a manual deploy to Netlify’s CDN:** ```sh npm install netlify-cli -g netlify deploy ``` Choose `build` as the path to deploy. **To setup continuous delivery:** With this setup Netlify will build and deploy when you push to git or open a pull request: 1. [Start a new netlify project](https://app.netlify.com/signup) 2. Pick your Git hosting service and select your repository 3. Set `yarn build` as the build command and `build` as the publish directory 4. Click `Deploy site` **Support for client-side routing:** To support `pushState`, make sure to create a `public/_redirects` file with the following rewrite rules: ``` /* /index.html 200 ``` When you build the project, Create React App will place the `public` folder contents into the build output. ### [Now](https://zeit.co/now) Now offers a zero-configuration single-command deployment. You can use `now` to deploy your app for free. 1. Install the `now` command-line tool either via the recommended [desktop tool](https://zeit.co/download) or via node with `npm install -g now`. 2. Build your app by running `npm run build`. 3. Move into the build directory by running `cd build`. 4. Run `now --name your-project-name` from within the build directory. You will see a **now.sh** URL in your output like this: ``` > Ready! https://your-project-name-tpspyhtdtk.now.sh (copied to clipboard) ``` Paste that URL into your browser when the build is complete, and you will see your deployed app. Details are available in [this article.](https://zeit.co/blog/unlimited-static) ### [S3](https://aws.amazon.com/s3) and [CloudFront](https://aws.amazon.com/cloudfront/) See this [blog post](https://medium.com/@omgwtfmarc/deploying-create-react-app-to-s3-or-cloudfront-48dae4ce0af) on how to deploy your React app to Amazon Web Services S3 and CloudFront. ### [Surge](https://surge.sh/) Install the Surge CLI if you haven’t already by running `npm install -g surge`. Run the `surge` command and log in you or create a new account. When asked about the project path, make sure to specify the `build` folder, for example: ```sh project path: /path/to/project/build ``` Note that in order to support routers that use HTML5 `pushState` API, you may want to rename the `index.html` in your build folder to `200.html` before deploying to Surge. This [ensures that every URL falls back to that file](https://surge.sh/help/adding-a-200-page-for-client-side-routing). ## Advanced Configuration You can adjust various development and production settings by setting environment variables in your shell or with [.env](#adding-development-environment-variables-in-env). Variable | Development | Production | Usage :--- | :---: | :---: | :--- BROWSER | :white_check_mark: | :x: | By default, Create React App will open the default system browser, favoring Chrome on macOS. Specify a [browser](https://github.com/sindresorhus/opn#app) to override this behavior, or set it to `none` to disable it completely. If you need to customize the way the browser is launched, you can specify a node script instead. Any arguments passed to `npm start` will also be passed to this script, and the url where your app is served will be the last argument. Your script's file name must have the `.js` extension. HOST | :white_check_mark: | :x: | By default, the development web server binds to `localhost`. You may use this variable to specify a different host. PORT | :white_check_mark: | :x: | By default, the development web server will attempt to listen on port 3000 or prompt you to attempt the next available port. You may use this variable to specify a different port. HTTPS | :white_check_mark: | :x: | When set to `true`, Create React App will run the development server in `https` mode. PUBLIC_URL | :x: | :white_check_mark: | Create React App assumes your application is hosted at the serving web server's root or a subpath as specified in [`package.json` (`homepage`)](#building-for-relative-paths). Normally, Create React App ignores the hostname. You may use this variable to force assets to be referenced verbatim to the url you provide (hostname included). This may be particularly useful when using a CDN to host your application. CI | :large_orange_diamond: | :white_check_mark: | When set to `true`, Create React App treats warnings as failures in the build. It also makes the test runner non-watching. Most CIs set this flag by default. REACT_EDITOR | :white_check_mark: | :x: | When an app crashes in development, you will see an error overlay with clickable stack trace. When you click on it, Create React App will try to determine the editor you are using based on currently running processes, and open the relevant source file. You can [send a pull request to detect your editor of choice](https://github.com/facebookincubator/create-react-app/issues/2636). Setting this environment variable overrides the automatic detection. If you do it, make sure your systems [PATH](https://en.wikipedia.org/wiki/PATH_(variable)) environment variable points to your editor’s bin folder. You can also set it to `none` to disable it completely. CHOKIDAR_USEPOLLING | :white_check_mark: | :x: | When set to `true`, the watcher runs in polling mode, as necessary inside a VM. Use this option if `npm start` isn't detecting changes. GENERATE_SOURCEMAP | :x: | :white_check_mark: | When set to `false`, source maps are not generated for a production build. This solves OOM issues on some smaller machines. NODE_PATH | :white_check_mark: | :white_check_mark: | Same as [`NODE_PATH` in Node.js](https://nodejs.org/api/modules.html#modules_loading_from_the_global_folders), but only relative folders are allowed. Can be handy for emulating a monorepo setup by setting `NODE_PATH=src`. ## Troubleshooting ### `npm start` doesn’t detect changes When you save a file while `npm start` is running, the browser should refresh with the updated code.<br> If this doesn’t happen, try one of the following workarounds: * If your project is in a Dropbox folder, try moving it out. * If the watcher doesn’t see a file called `index.js` and you’re referencing it by the folder name, you [need to restart the watcher](https://github.com/facebookincubator/create-react-app/issues/1164) due to a Webpack bug. * Some editors like Vim and IntelliJ have a “safe write” feature that currently breaks the watcher. You will need to disable it. Follow the instructions in [“Adjusting Your Text Editor”](https://webpack.js.org/guides/development/#adjusting-your-text-editor). * If your project path contains parentheses, try moving the project to a path without them. This is caused by a [Webpack watcher bug](https://github.com/webpack/watchpack/issues/42). * On Linux and macOS, you might need to [tweak system settings](https://github.com/webpack/docs/wiki/troubleshooting#not-enough-watchers) to allow more watchers. * If the project runs inside a virtual machine such as (a Vagrant provisioned) VirtualBox, create an `.env` file in your project directory if it doesn’t exist, and add `CHOKIDAR_USEPOLLING=true` to it. This ensures that the next time you run `npm start`, the watcher uses the polling mode, as necessary inside a VM. If none of these solutions help please leave a comment [in this thread](https://github.com/facebookincubator/create-react-app/issues/659). ### `npm test` hangs on macOS Sierra If you run `npm test` and the console gets stuck after printing `react-scripts test --env=jsdom` to the console there might be a problem with your [Watchman](https://facebook.github.io/watchman/) installation as described in [facebookincubator/create-react-app#713](https://github.com/facebookincubator/create-react-app/issues/713). We recommend deleting `node_modules` in your project and running `npm install` (or `yarn` if you use it) first. If it doesn't help, you can try one of the numerous workarounds mentioned in these issues: * [facebook/jest#1767](https://github.com/facebook/jest/issues/1767) * [facebook/watchman#358](https://github.com/facebook/watchman/issues/358) * [ember-cli/ember-cli#6259](https://github.com/ember-cli/ember-cli/issues/6259) It is reported that installing Watchman 4.7.0 or newer fixes the issue. If you use [Homebrew](http://brew.sh/), you can run these commands to update it: ``` watchman shutdown-server brew update brew reinstall watchman ``` You can find [other installation methods](https://facebook.github.io/watchman/docs/install.html#build-install) on the Watchman documentation page. If this still doesn’t help, try running `launchctl unload -F ~/Library/LaunchAgents/com.github.facebook.watchman.plist`. There are also reports that *uninstalling* Watchman fixes the issue. So if nothing else helps, remove it from your system and try again. ### `npm run build` exits too early It is reported that `npm run build` can fail on machines with limited memory and no swap space, which is common in cloud environments. Even with small projects this command can increase RAM usage in your system by hundreds of megabytes, so if you have less than 1 GB of available memory your build is likely to fail with the following message: > 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. If you are completely sure that you didn't terminate the process, consider [adding some swap space](https://www.digitalocean.com/community/tutorials/how-to-add-swap-on-ubuntu-14-04) to the machine you’re building on, or build the project locally. ### `npm run build` fails on Heroku This may be a problem with case sensitive filenames. Please refer to [this section](#resolving-heroku-deployment-errors). ### Moment.js locales are missing If you use a [Moment.js](https://momentjs.com/), you might notice that only the English locale is available by default. This is because the locale files are large, and you probably only need a subset of [all the locales provided by Moment.js](https://momentjs.com/#multiple-locale-support). To add a specific Moment.js locale to your bundle, you need to import it explicitly.<br> For example: ```js import moment from 'moment'; import 'moment/locale/fr'; ``` If import multiple locales this way, you can later switch between them by calling `moment.locale()` with the locale name: ```js import moment from 'moment'; import 'moment/locale/fr'; import 'moment/locale/es'; // ... moment.locale('fr'); ``` This will only work for locales that have been explicitly imported before. ### `npm run build` fails to minify Some third-party packages don't compile their code to ES5 before publishing to npm. This often causes problems in the ecosystem because neither browsers (except for most modern versions) nor some tools currently support all ES6 features. We recommend to publish code on npm as ES5 at least for a few more years. <br> To resolve this: 1. Open an issue on the dependency's issue tracker and ask that the package be published pre-compiled. * Note: Create React App can consume both CommonJS and ES modules. For Node.js compatibility, it is recommended that the main entry point is CommonJS. However, they can optionally provide an ES module entry point with the `module` field in `package.json`. Note that **even if a library provides an ES Modules version, it should still precompile other ES6 features to ES5 if it intends to support older browsers**. 2. Fork the package and publish a corrected version yourself. 3. If the dependency is small enough, copy it to your `src/` folder and treat it as application code. In the future, we might start automatically compiling incompatible third-party modules, but it is not currently supported. This approach would also slow down the production builds. ## Alternatives to Ejecting [Ejecting](#npm-run-eject) lets you customize anything, but from that point on you have to maintain the configuration and scripts yourself. This can be daunting if you have many similar projects. In such cases instead of ejecting we recommend to *fork* `react-scripts` and any other packages you need. [This article](https://auth0.com/blog/how-to-configure-create-react-app/) dives into how to do it in depth. You can find more discussion in [this issue](https://github.com/facebookincubator/create-react-app/issues/682). ## Something Missing? If you have ideas for more “How To” recipes that should be on this page, [let us know](https://github.com/facebookincubator/create-react-app/issues) or [contribute some!](https://github.com/facebookincubator/create-react-app/edit/master/packages/react-scripts/template/README.md)
Facebook Incubator is just for Facebook’s own projects. But, everyone can take the advantage of open projects being pushed here. It will not only provide repos, but also a new way of thinking while working with open source projects.
facebook,javascript,mongodb,nodejs,reactjs,authentication,authorization,expressjs,github-config,jwt
2023-04-14T14:09:15Z
2023-06-14T15:23:17Z
null
2
0
7
0
1
2
null
MIT
JavaScript
Premjeet-yadav/memory_game
main
# memory_game
This GitHub repository hosts an interactive and fun Memory Game where players can test and enhance their memory skills. The game presents a grid of face-down cards, and the objective is to find matching pairs of cards by flipping them over two at a time. Feel free to contribute
card-game,css,game,html,javascript,memory-game
2023-04-21T15:12:21Z
2023-04-21T15:59:42Z
null
1
0
2
0
0
2
null
null
JavaScript
igorskyflyer/npm-duoscribi
main
# DúöScríbî ✒ DúöScríbî allows you to convert letters with diacritics to regular letters. 🤓 <br> <div align="center"> <h3>💖 Support further development</h3> <a href="https://ko-fi.com/igorskyflyer" target="_blank"><img src="https://raw.githubusercontent.com/igorskyflyer/igorskyflyer/main/assets/ko-fi.png" alt="Donate to igorskyflyer" width="108"></a> </div> <br> <br> <br> ## 🕵🏼‍♂️ Usage Install it by executing: ```shell npm i "@igor.dvlpr/duoscribi" ``` <br> ## 🤹🏼‍♂️ API ```ts function duoscribi(input: string): string ``` Converts letters with diacritics to regular, ASCII letters. `input: string` - The string to convert. Returns the converted string or an empty string otherwise. <br> > ℹ To see the extensive list of `508` supported characters with diacritics, see the [SUPPORTED_CHARS.md](https://github.com/igorskyflyer/npm-duoscribi/blob/main/SUPPORTED_CHARS.md) file.
✒ DúöScríbî allows you to convert letters with diacritics to regular, ASCII letters. 🤓
accent,back-end,diacritics-removal,diacritization,igorskyflyer,javascript,js,language,node,npm
2023-04-09T17:01:49Z
2023-05-03T22:42:13Z
null
1
0
25
0
0
2
null
MIT
TypeScript
emanoelcampos/jogo-adivinhacao
master
# Jogo de adivinhação desenvolvido para praticar lógica de programação ## Consolidando meu conhecimento Este projeto consiste em criar um jogo de adivinhação onde o jogador deve tentar adivinhar um número aleatório gerado pelo computador dentro de um intervalo definido de 1 a 100. O jogo é desenvolvido em Javascript e pode ser executado a partir de um navegador. Durante a formação do curso de JavaScript e HTML da [Alura](https://cursos.alura.com.br/user/emanoelcampos), foi proposto um desafio aos participantes: desenvolver um jogo que possibilitasse a prática da lógica de programação por meio do Programa ONE da Oracle. O jogo foi criado ao longo das aulas, com atividades e exemplos de aprendizagem, e foi aperfeiçoado gradativamente à medida que novos conhecimentos foram sendo apresentados. Assim, durante todo o curso, o jogo foi sendo construído e melhorado, consolidando o aprendizado e oferecendo uma experiência prática e desafiadora para os estudantes. <h1 align="center"><a href="https://emanoelcampos.github.io/jogo-adivinhacao/" target= "_blank">JOGUE AGORA!</a></h1> ### Desafios: 1 - Criar uma função `sorteia` que recebe um número `n` e sorteia um número entre 0 a `n`, retornando esse valor. Dessa forma, em vez de escrever `let numeroPensado = Math.round(Math.random() * n);`, você escreveria `let numeroPensado = sorteia(n);`. Faça essa modificação, criando a nova função e utilize-a. 2 - Fazer com que seu jogo mostre, quando o usuário errar a tentativa, se o número que ele chutou era maior ou menor ao número pensado pelo programa. ### Página do jogo: ![Página do jogo](https://raw.githubusercontent.com/emanoelcampos/jogo-adivinhacao/master/site-images/front-page.png) ### Funcionalidades do Jogo: - Ao abrir o programa no navegador, o usuário será questionado a adivinhar o número sorteado pela máquina - O jogador terá 10 tentativas para adivinhar o número correto - A cada tentativa, o jogo informará ao jogador se o número escolhido está acima ou abaixo do número correto - O jogo termina quando o jogador acertar o número ou quando suas tentativas se esgotarem - Caso o jogador esgote as 10 tentativas sem acertar o número correto, o jogo informará que ele perdeu e qual era o número que ele deveria ter acertado - Ao final do jogo, o jogador terá a opção de jogar novamente ### Jogue agora e descubra se você é bom em adivinhação: [JOGO DE ADIVINHAÇÃO](https://emanoelcampos.github.io/jogo-adivinhacao/)
Jogo desenvolvido no primeiro curso de lógica de programação na Alura oferecido pelo programa ONE - Oracle Next Education
aluno-one,alura,css,css3,desafio,html,html5,javascript,logica-de-programacao,one-next-education
2023-04-11T19:50:27Z
2023-04-11T23:47:18Z
null
1
0
39
0
0
2
null
null
JavaScript
hyunwoomemo/Nextjs-Devlog
main
# Nextjs-Devlog ### nextjs와 notion API로 만든 나만의 개발 블로그 ## 사용한 기술스택 <div style="display:flex"> <img src="https://img.shields.io/badge/javascript-F7DF1E?style=flat-squre&logo=JavaScript&logoColor=black"> <img src="https://img.shields.io/badge/react-61DAFB?style=flat-squre&logo=React&logoColor=black"> <img src="https://img.shields.io/badge/nextjs-fff?style=flat-squre&logo=Next.js&logoColor=black"> <img src="https://img.shields.io/badge/redux-764ABC?style=flat-squre&logo=Redux&logoColor=black"> <img src="https://img.shields.io/badge/html-E34F26?style=flat-squre&logo=HTML5&logoColor=black"> <img src="https://img.shields.io/badge/css-1572B6?style=flat-squre&logo=CSS3&logoColor=black"> <img src="https://img.shields.io/badge/nodejs-339933?style=flat-squre&logo=Node.js&logoColor=black"> <img src="https://img.shields.io/badge/express-fff?style=flat-squre&logo=Express&logoColor=black"> <img src="https://img.shields.io/badge/MySQL-4479A1?style=flat-squre&logo=MySQL&logoColor=white"> <img src="https://img.shields.io/badge/GitHub-181717?style=flat-squre&logo=Github&logoColor=white"> <img src="https://img.shields.io/badge/Notion-000?style=flat-squre&logo=Notion&logoColor=white"> <img src="https://img.shields.io/badge/Ubuntu-E95428?style=flat-squre&logo=Ubuntu&logoColor=white"> </div> ## 주요 기능 - notion에서 작성한 포스트 가져오기 (기존 md파일 작성한 것보다 아직까지는 편리함 😁) - post 필터 기능 - post 검색 기능 - series 기능 (23.05.06 추가) ## 서비스 화면 ![image](https://user-images.githubusercontent.com/105469077/235910485-3c127dfa-5b51-475a-9832-a5f6952de081.png) ![image](https://user-images.githubusercontent.com/105469077/235910590-663281ef-5a0e-48c5-96e1-469cca76d40f.png) ![image](https://user-images.githubusercontent.com/105469077/235910649-56810222-f2d8-4e68-9e70-d253b8efb5a6.png) ![image](https://user-images.githubusercontent.com/105469077/235910717-6a16442d-bb24-4718-bb0e-db8eff7cc3fb.png) ![image](https://user-images.githubusercontent.com/105469077/235910893-3e32e08a-ba79-4e7d-b827-0c59972e5733.png) ## 서비스 페이지 <a href="https://hyunwoomemo.vercel.app/" target="_blank"><img src="https://img.shields.io/badge/NextjsDevlog-0A0A0A?style=for-the-badge&logo=dev.to&logoColor=white"></a>
nextjs로 만든 나만의 첫번째 개발 블로그
nextjs,react,css,html,javascript,redux
2023-04-12T13:45:18Z
2023-05-30T13:09:32Z
null
1
0
308
0
0
2
null
null
JavaScript
Prachichhatrola/Frontend-Projects
main
<img src="https://www.animatedimages.org/data/media/562/animated-line-image-0184.gif" width="1920" /> <h1>Frontend-Projects</h1> <h2>1. Clock</h2> <h3>Run in browser and view this project:</h3> https://prachichhatrola.github.io/Frontend-Projects/Clock/ <h2>2. Hacker</h2> <h3>Run in browser and view this project:</h3> https://prachichhatrola.github.io/Frontend-Projects/Hacker/ <h2>3. LaughLibrary</h2> <h3>Run in browser and view this project:</h3> https://prachichhatrola.github.io/Frontend-Projects/LaughLibrary/ <h2>4. Password-Generator</h2> <h3>Run in browser and view this project:</h3> https://prachichhatrola.github.io/Frontend-Projects/Password-Generator/ <h1></h1> <img src="https://www.animatedimages.org/data/media/562/animated-line-image-0184.gif" width="1920" />
null
css,html,javascript,frontend
2023-04-09T16:04:07Z
2024-01-30T12:07:06Z
null
1
0
39
0
0
2
null
null
HTML
Yevhenii2022/team-proj-js-book-app
main
<h1 align="center"> 👨‍💻 GoIT Team Project 👩‍💻 </h1> <h2 align="center"> BOOK WEB-APPLICATION 📗 </h2> <span align="center"> ![HTML](https://img.shields.io/badge/-HTML-05122A?style=flat&logo=HTML5)&nbsp; ![CSS](https://img.shields.io/badge/-CSS-05122A?style=flat&logo=CSS3&logoColor=1572B6)&nbsp; ![JavaScript](https://img.shields.io/badge/-JavaScript-05122A?style=flat&logo=javascript)&nbsp; ![Node.js](https://img.shields.io/badge/-Node.js-05122A?style=flat&logo=Node.js)&nbsp; ![Git](https://img.shields.io/badge/-Git-05122A?style=flat&logo=git)&nbsp; ![GitHub](https://img.shields.io/badge/-GitHub-05122A?style=flat&logo=github)&nbsp; ![Firebase](https://img.shields.io/badge/-Firebase-05122A?style=flat&logo=firebase)&nbsp; ![Figma](https://img.shields.io/badge/-Figma-05122A?style=flat&logo=figma)&nbsp; ![Visual Studio Code](https://img.shields.io/badge/-Visual%20Studio%20Code-05122A?style=flat&logo=visual-studio-code&logoColor=007ACC)&nbsp; </span> <h3 align="center"> ℹ️ &nbsp; #SuperCoders Developers Team 🚀 <h3> <span align="center"> <a align="center" href="https://github.com/tet-n">![GitHub](https://img.shields.io/badge/-Tetiana-05122A?style=flat&logo=github)</a> <a align="center" href="https://github.com/Kolesanencore">![GitHub](https://img.shields.io/badge/-Sergey-05122A?style=flat&logo=github)</a> <a align="center" href="https://github.com/Fantom19">![GitHub](https://img.shields.io/badge/-Kirill-05122A?style=flat&logo=github)</a> <a align="center" href="https://github.com/olena-nikitchenko">![GitHub](https://img.shields.io/badge/-Olena-05122A?style=flat&logo=github)</a> <a align="center" href="https://github.com/AlenaLarinaAL">![GitHub](https://img.shields.io/badge/-Alena-05122A?style=flat&logo=github)</a> <a align="center" href="https://github.com/TetianaUstimevko">![GitHub](https://img.shields.io/badge/-Tetiana-05122A?style=flat&logo=github)</a> <a align="center" href="https://github.com/Shmoilova-Anastasiia">![GitHub](https://img.shields.io/badge/-Anastasiia-05122A?style=flat&logo=github)</a> <a align="center" href="https://github.com/TayanaP">![GitHub](https://img.shields.io/badge/-Tetiana-05122A?style=flat&logo=github)</a> <a align="center" href="https://github.com/Fdobrovols">![GitHub](https://img.shields.io/badge/-Fedor-05122A?style=flat&logo=github)</a> </span> ## Description The project is implemented in Vanilla JavaScript and working with: 🛠 [BookApp is based on the Books API](https://books-backend.p.goit.global/api-docs/); 🛠 responsive design for use on phone 📱, tablet 📟 and desktop 💻. We are students of the FullStack Developer course [<img src="https://img.shields.io/badge/Go-IT-orange" />](https://goit.ua), the project is written at the end of the study of JavaScript. ## How to use BookApp? 📚 This is a site for finding, browsing and buying books. **The Web App provides the following functions:** 📖 render of Best Sellers books; 📖 book search by category; 📖 user registration on the site; 📖 manage your book database by adding or removing selected books to the shopping list; 📖 possibility to buy selected books.
📚 book-js-team-project 📖
teamwork,html,sass,ajax,api,javascript,firebase,tui-pagination
2023-04-10T19:47:51Z
2023-05-04T18:44:41Z
null
12
130
483
0
10
2
null
null
JavaScript
HenriqueBarucco/Estoque-APP
main
# Estoque APP Esta é uma aplicação de estoque desenvolvida com o framework NextJS. Nesta aplicação, há duas rotas: "/" e "/sales". A primeira rota mostra os itens em estoque, permitindo a remoção, edição e venda dos produtos. Já a segunda rota é utilizada apenas para verificar as vendas realizadas. ## Requisitos - NodeJS (versão 12 ou superior) - npm (ou yarn) ## Instalação 1. Clone o repositório para o seu computador; 2. Na pasta raiz do projeto, execute o comando `npm install` ou `yarn install` para instalar as dependências; 4. Execute o comando `npm run dev` ou `yarn dev` para iniciar a aplicação. ## Funcionalidades ### Rota "/" - Mostra todos os itens em estoque; - Permite remover um item do estoque; - Permite editar as informações de um item do estoque; - Permite adicionar um novo item ao estoque; - Permite vender um item do estoque. ### Rota "/sales" - Mostra todas as vendas realizadas. ## Tecnologias utilizadas - NextJS - React - Axios - Bootstrap ## API utilizada Para a implementação desta aplicação, foi utilizada a API de estoque (Estoque-API). Para mais informações sobre esta API, consulte o arquivo README do repositório da API.
NextJS application for inventory management.
frontend,javascript,nextjs
2023-04-09T00:19:45Z
2023-08-09T16:33:59Z
null
1
0
35
0
0
2
null
null
JavaScript
k-pierette/REGISTRO-DE-NOVEDADES
main
# REGISTRO-DE-NOVEDADES <h2 style="font-family: Arial;"><strong>RESUMEN:</strong></h2> Formulario web con tabla editable y altamente personalizable, almacenamiento local sin la necesidad de vincular una base de datos. Ideal para centrales de monitoreo, agencias gubernamentales y empresas que requieran un registro de novedades. Botón de pantalla completa para visualización detallada. Interfaz intuitiva y fácil de usar. Versátil y potente. <h2 style="font-family: Arial;"><strong>DONACIONES AL CREADOR DE ESTA PODEROSA HERRAMIENTA:</strong></h2> <ul> <li>BINANCE BTC: 138KjGjx7LqyNWAZgctM9WhywARwbzPVQQ</li> <li>BINANCE BNB Smart Chain (BEP20): 0x56e002ea1ab99f4cafaaf05a24cb454638bf6a69</li> <li>BINANCE USDT BNB Smart Chain (BEP 20): 0x56e002ea1ab99f4cafaaf05a24cb454638bf6a69</li> </ul> <h2 style="font-family: Arial;"><strong>DETALLE:</strong></h2> El formulario web que te describo es una poderosa herramienta para la gestión de datos en línea. Se trata de una aplicación con una tabla editable que te permite organizar y manipular datos de manera eficiente y fácil. La tabla es totalmente personalizable, lo que significa que puedes ajustarla a tus necesidades específicas. Una de las características destacadas de este formulario es su capacidad de almacenamiento local. Esto significa que los datos que ingreses en la tabla se guardarán en el dispositivo en el que estés utilizando la aplicación, lo que garantiza una mayor seguridad y privacidad. Además, también puedes hacer copias de seguridad de los datos almacenados en la nube para asegurarte de que tus datos estén siempre protegidos. Este formulario es ideal para una amplia variedad de casos de uso. Es perfecto para centrales de monitoreo, agencias de gobierno y empresas con un control de novedades y registros de novedades. Puedes utilizarlo para gestionar y monitorear eventos, registros de entrada y salida, seguimiento de actividades, o cualquier otro tipo de información que necesites administrar de manera eficiente. El formulario también incluye un botón que te permite expandir el contenido a pantalla completa, lo que es especialmente útil para situaciones en las que necesitas una vista amplia y detallada de los datos. Esto lo convierte en una herramienta ideal para monitoreo en tiempo real, presentaciones o análisis de datos en situaciones críticas. La interfaz de usuario es intuitiva y fácil de usar, lo que permite a los usuarios navegar por la tabla y realizar modificaciones de manera rápida y sencilla. Puedes agregar, editar y eliminar filas y columnas, y también realizar búsquedas y filtrar datos para encontrar rápidamente la información que necesitas. En resumen, este formulario web con tabla editable y almacenamiento local es una herramienta versátil y potente para la gestión de datos en línea. Con su capacidad de personalización, almacenamiento local, botón de pantalla completa y su facilidad de uso, es perfecto para centrales de monitoreo, agencias de gobierno, y empresas con necesidades de control y registro de novedades. <h2 style="font-family: Arial;"><strong>IMAGENES DE PROYECTO CARGADO (index.html):</strong></h2> ![image](https://user-images.githubusercontent.com/129064267/232253583-496794b6-a317-4b68-9ed4-286e9144efd5.png) <h2 style="font-family: Arial;"><strong>DETALLE EN INGLES:</strong></h2> The web form I'm describing is a powerful online data management tool. It features an editable table that allows you to organize and manipulate data efficiently and easily. The table is fully customizable, which means you can tailor it to your specific needs. One standout feature of this form is its local storage capability. This means that the data you enter into the table will be saved on the device you are using, ensuring enhanced security and privacy. Additionally, you can also back up the stored data to the cloud to ensure your data is always protected. This form is ideal for a wide variety of use cases. It's perfect for monitoring centers, government agencies, and companies with a need for tracking and recording updates and events. You can use it to manage and monitor events, check-in and check-out records, activity tracking, or any other type of information that needs efficient management. The form also includes a fullscreen button, allowing you to expand the content to a fullscreen view, which is especially useful for situations where you need a wide and detailed view of the data. This makes it an ideal tool for real-time monitoring, presentations, or data analysis in critical situations. The user interface is intuitive and user-friendly, allowing users to navigate the table and make modifications quickly and easily. You can add, edit, and delete rows and columns, as well as search and filter data to quickly find the information you need. In summary, this web form with editable table and local storage is a versatile and powerful online data management tool. With its customization capabilities, local storage, fullscreen button, and ease of use, it's perfect for monitoring centers, government agencies, and companies with tracking and recording needs.
Formulario web con tabla editable, almacenamiento local y personalizable. Ideal para centrales de monitor, empresas que requieran un registro de novedades. Botón de pantalla completa para visualización detallada. Interfaz intuitiva y fácil de usar. Versátil y potente.
css,csv,desarrollo-web,formulario-web,html,javascript,no-database,php,tabla,registro-de-novedades
2023-04-15T20:41:04Z
2023-04-15T21:35:23Z
null
1
0
25
0
0
2
null
null
JavaScript
mohammadxonel/Personal-website
main
# Personal Website ### Project Live : https://mohammadxxali.github.io/Personal-website/#hero -------- ### Project Screenshot ![](https://github.com/mohammadxxali/Personal-website/blob/main/Screenshot.png)
Personal website --Using
bootstrap,css,html,icons,javascript
2023-04-16T12:41:04Z
2023-04-25T15:18:25Z
null
1
0
53
0
0
2
null
null
CSS
fezzopro/Online-Conference-Landing-Page
main
<a name="readme-top"></a> <!-- HOW TO USE: This is an example of how you may give instructions on setting up your project locally. Modify this file to match your project and remove sections that don't apply. REQUIRED SECTIONS: - Table of Contents - About the Project - Built With - Live Demo - Getting Started - Authors - Future Features - Contributing - Show your support - Acknowledgements - License OPTIONAL SECTIONS: - FAQ After you're finished please remove all the comments and instructions! --> <div align="center"> <br/> <h3><b>First Project Capstone - <i>online website for conferences</i></b></h3> </div> <!-- TABLE OF CONTENTS --> # 📗 Table of Contents - [📖 About the Project](#about-project) - [🛠 Built With](#built-with) - [Tech Stack](#tech-stack) - [Key Features](#key-features) - [🚀 Live Demo](#live-demo) - [💻 Getting Started](#getting-started) - [Setup](#setup) - [Prerequisites](#prerequisites) - [Install](#install) - [Usage](#usage) - [Run tests](#run-tests) - [Deployment](#triangular_flag_on_post-deployment) - [👥 Authors](#authors) - [🔭 Future Features](#future-features) - [🤝 Contributing](#contributing) - [⭐️ Show your support](#support) - [🙏 Acknowledgements](#acknowledgements) - [❓ FAQ (OPTIONAL)](#faq) - [📝 License](#license) <!-- PROJECT DESCRIPTION --> # 📖 [Online Website For Conference] <a name="about-project"></a> This project is the first capstone project of the first module at microverse. and the purpose of this project can be found **[HERE](https://github.com/microverseinc/curriculum-html-css/blob/main/capstone/html_capstone.md)** **[Online Website For Conference]** is a website where individual posts upcoming tech events, and the guest speakers ## 🛠 Built With <a name="built-with"></a> ### Tech Stack <a name="tech-stack"></a> This project uses the following stacks: <details> <summary>Client</summary> <ul> <li><a href="https://github.com/microverseinc/curriculum-html-css/blob/main/html5.md/">HTML</a></li> <li><a href="https://www.w3schools.com/css/default.asp/">CSS</a></li> <li><a href="https://www.w3schools.com/js/default.asp/">Javascript</a></li> <li><a href="https://getbootstrap.com/docs/5.0/getting-started/introduction//">BootStrap 5</a></li> </ul> </details> <!-- Features --> ### Key Features <a name="key-features"></a> - **[home page (For Mobile & Desktop)]** - **[about page (For Mobile & Desktop)]** - **[Mobile popup menu]** - **[Dynamic Content using JS]** <p align="right">(<a href="#readme-top">back to top</a>)</p> <!-- LIVE DEMO --> ## 🚀 Live Demo <a name="live-demo"></a> - **[Live Demo Link](https://fezzopro.github.io/First-Capstone-Project/)** - **[Video Presentation](https://www.loom.com/share/757206bdd0c8444c8ab75e76f2728c32)** <p align="right">(<a href="#readme-top">back to top</a>)</p> <!-- GETTING STARTED --> ## 💻 Getting Started <a name="getting-started"></a> To get a local copy up and running, follow these steps. ### Prerequisites In order to run this project you need: ```sh install git on local machine create a repository on local machine `my-folder` ``` ### Setup Clone this repository to your desired folder: Example commands: ```sh cd my-folder git clone https://github.com/fezzopro/First-Capstone-Project.git cd First-Capstone-Project git checkout feature-milestone-2-mobile-first ``` ### Install Install this project with: ### Usage To run the project, execute the following command: - Open index.html in your fevorite browser. - Open developer options and choose responsive Dimension. - Choose devise with minimum width of 375px. ### Run tests - This project has no test ### Deployment - You can deploy this project using GitHub Pages - Read more about deploying an HTML webiste using GitHub Pages **[HERE](https://pages.github.com/)** <p align="right">(<a href="#readme-top">back to top</a>)</p> <!-- AUTHORS --> ## 👥 Authors <a name="authors"></a> 👤 **Felix KAMANA (Fezzo)** - GitHub: [@githubhandle](https://github.com/githubhandle) - Twitter: [@twitterhandle](https://twitter.com/twitterhandle) - LinkedIn: [@LinkedIn](https://linkedin.com/in/linkedinhandle) <p align="right">(<a href="#readme-top">back to top</a>)</p> <!-- FUTURE FEATURES --> ## 🔭 Future Features <a name="future-features"></a> - [ ] **[Project page]** - [ ] **[Service page]** - [ ] **[Archieve Page]** <p align="right">(<a href="#readme-top">back to top</a>)</p> <!-- CONTRIBUTING --> ## 🤝 Contributing <a name="contributing"></a> Contributions, issues, and feature requests are welcome! Feel free to check the [issues page](https://github.com/fezzopro/First-Capstone-Project/issues). <p align="right">(<a href="#readme-top">back to top</a>)</p> <!-- SUPPORT --> ## ⭐️ Show your support <a name="support"></a> If you like this project please give it a star ⭐️ to encourage the Author <p align="right">(<a href="#readme-top">back to top</a>)</p> <!-- ACKNOWLEDGEMENTS --> ## 🙏 Acknowledgments <a name="acknowledgements"></a> - The designer of this wireframe **[Cindy Shin in Behance](https://www.behance.net/gallery/29845175/CC-Global-Summit-2015)** - I would like to thank Microverse Team & Students - Thanks to the Code Reviewer(s) for the insightful feedbacks. - My great appreciation goes to My coding partner(s), morning session team, and standup team for their contributions & collaboration. <p align="right">(<a href="#readme-top">back to top</a>)</p> <!-- LICENSE --> ## 📝 License <a name="license"></a> This project is [MIT](./MIT.md) licensed. <p align="right">(<a href="#readme-top">back to top</a>)</p>
HTML/CSS & JavaScript capstone project - Conference page is a dynamic web page designed to provide you with comprehensive information about upcoming conferences and the esteemed guest speakers who will grace these events. Whether you're a professional seeking knowledge, an industry enthusiast, or a curious learner, this is your go-to platform.
css,css3,html,javascript
2023-04-17T15:00:55Z
2023-04-20T19:38:03Z
null
1
2
60
1
0
2
null
null
HTML
muddasir03/JobPortal-React-Native
main
<div align="center"> <p> Job Portal with REACT NATIVE! (Navigation, Redux, Tailwind CSS & Job API) </p> </div> <!-- About the Project --> ## :star2: About the Project <!-- Screenshots --> ### :camera: Screenshots <div align="center"><br> <img align="center" alt="React" width="full" height="500" src="https://user-images.githubusercontent.com/84333971/233634060-d36452f7-4d72-4065-9178-f96550976dc6.jpg"> <img align="center" alt="React" width="full" height="500" src="https://user-images.githubusercontent.com/84333971/233634462-f0bb8f62-5a3c-4231-82cd-2c05bf3d4c7b.jpg"> <img align="center" alt="React" width="full" height="500" src="https://user-images.githubusercontent.com/84333971/233634700-82f38af2-6674-4488-9b2c-0aeddacffba9.jpg"> </div> <br /> * This is a mobile application built using React Native, which provides a platform for job seekers to search for jobs and apply for them. The application uses various features to enhance the user experience, such as popular and nearby jobs, as well as job types like part-time, full-time, and contractor jobs. * The application fetches data from a third-party API using Axios and displays job listings in a user-friendly interface. The user can apply for jobs by uploading their resume and cover letter through the application. The application also has features to help employers post jobs and manage applications. ## Features * Develop visually appealing UI/UX designs * Fetch data from an external API and integrate it * Implement search & pagination functionality * Create customAPI data fetching hooks * Write clean, organized, and maintainable code with proper architecture * Follow the best practices for React Native development ## Technologies Used * React Native * Tailwind CSS * React Native Navigation * Rapid API Jobs ## Getting Started ## Prerequisites To run the app, you will need to have the following installed on your machine: * Node.js * npm * Expo CLI Clone the project ```bash git clone https://github.com/muddasir03/JobPortal-React-Native.git ``` change directory ```bash cd JobPortal-React-Native ``` Install dependencies ```bash npx expo install ``` Start the server ```bash npx expo start ``` <hr /> ### Creating a Build - Optimize the assets for speed - `npx expo-optimize` (formerly expo optimize) - Bundle the project for production - `npx expo export:web` (`expo build:web` in the legacy Expo CLI). - Creates a production ready static bundle in the `web-build/` directory. Don't edit this folder directly. - If you make any changes to your project, you'll need to re-build for production. - For more help use `npx expo export:web --help` - <a href="https://docs.expo.dev/eas" target="_blank">More Info</a> <!-- Deployment --> ### :triangular_flag_on_post: Deployment To deploy this project run #### Expo Publish ![](https://img.shields.io/badge/Expo-02569B?style=for-the-badge&logo=Expo&logoColor=white) publish your project ``` expo publish ``` ## :handshake: Contact Email ID- muddasarhussain739@gmail.com Project Link : https://github.com/muddasir03/JobPortal-React-Native.git
Job Portal Mobile Application using React Native, which provides a platform for job seekers to search for jobs and apply for them. The application uses various features to enhance the user experience, such as popular and nearby jobs, as well as job types like part-time, full-time, and contractor jobs.
axios,expo,javascript,react-native,react-native-gesture-handler,react-native-safe-area-context,react-native-splash-screen,react-navigation
2023-04-21T09:50:01Z
2023-08-29T05:14:44Z
null
1
0
6
0
0
2
null
null
JavaScript
Vic-verse/BookStoreProject
master
# Salesforce DX Project: Next Steps Now that you’ve created a Salesforce DX project, what’s next? Here are some documentation resources to get you started. ## How Do You Plan to Deploy Your Changes? Do you want to deploy a set of changes, or create a self-contained application? Choose a [development model](https://developer.salesforce.com/tools/vscode/en/user-guide/development-models). ## Configure Your Salesforce DX Project The `sfdx-project.json` file contains useful configuration information for your project. See [Salesforce DX Project Configuration](https://developer.salesforce.com/docs/atlas.en-us.sfdx_dev.meta/sfdx_dev/sfdx_dev_ws_config.htm) in the _Salesforce DX Developer Guide_ for details about this file. ## Read All About It - [Salesforce Extensions Documentation](https://developer.salesforce.com/tools/vscode/) - [Salesforce CLI Setup Guide](https://developer.salesforce.com/docs/atlas.en-us.sfdx_setup.meta/sfdx_setup/sfdx_setup_intro.htm) - [Salesforce DX Developer Guide](https://developer.salesforce.com/docs/atlas.en-us.sfdx_dev.meta/sfdx_dev/sfdx_dev_intro.htm) - [Salesforce CLI Command Reference](https://developer.salesforce.com/docs/atlas.en-us.sfdx_cli_reference.meta/sfdx_cli_reference/cli_reference.htm)
This project will show on Salesforce Org
html,javascript,lwc-component
2023-04-17T08:26:21Z
2023-04-22T22:05:24Z
null
1
0
2
0
1
2
null
null
JavaScript
M8-Lovelace/React-JS-SWC
main
# React JS SWC Template de React con Vite usando SWC. El proyecto contiene: Arquitectura organizada Deploy con GitHub Pages Alias para cada folder del proyecto
Template using React with Vite, SWC, JavaScript.
javascript,react,swc,vite
2023-04-13T13:37:03Z
2023-04-13T16:15:48Z
null
1
0
4
0
0
2
null
null
JavaScript
ismalzikri/Dailist
main
# Dailist An app to plan upcoming todos and finish your todos. Access live: <https://dailist.ismalzikri.com> ## Features - Add item - Remove item - See list of your todo or plan - See list of done of your plan ## Usage - Don't forget to install pnpm - You can clone this repo - `pnpm install` - `pnpm dev` (run on dev server)
simple app to write your plan today!
javascript,playwright,react,typescript,react-testing-library
2023-04-14T02:52:26Z
2023-06-09T07:29:56Z
null
2
8
23
0
0
2
null
null
TypeScript
Rafa-KozAnd/Ignite_Node.js_Challenge_06
main
<p align="center"> <img src="http://img.shields.io/static/v1?label=STATUS&message=Concluded&color=blue&style=flat"/> <img alt="GitHub language count" src="https://img.shields.io/github/languages/count/Rafa-KozAnd/Ignite_Node.js_Challenge_06"> <img alt="GitHub language count" src="https://img.shields.io/github/languages/top/Rafa-KozAnd/Ignite_Node.js_Challenge_06"> <img alt="GitHub repo file count" src="https://img.shields.io/github/directory-file-count/Rafa-KozAnd/Ignite_Node.js_Challenge_06"> <img alt="GitHub repo size" src="https://img.shields.io/github/repo-size/Rafa-KozAnd/Ignite_Node.js_Challenge_06"> <img alt="GitHub language count" src="https://img.shields.io/github/license/Rafa-KozAnd/Ignite_Node.js_Challenge_06"> </p> # Ignite_Node.js_Challenge_06 Node JS challenge done with 'Rocketseat' Ignite course. ("Desafio 06 - Testes unitários") ## 💻 Sobre o desafio Nesse desafio, você deverá criar testes unitários para uma aplicação já pronta usando tudo que aprendeu até agora sobre testes. Para que você possa focar somente na parte de testes unitários sem precisar estudar muito a aplicação do zero, o template foi desenvolvido com base em uma aplicação já conhecida: **FinAPI**. A API construída no primeiro módulo da trilha.
Node JS challenge done with 'Rocketseat' Ignite course. ("Desafio 06 - Testes unitários")
ignite,ignite-nodejs,ignite-rocketseat,javascript,nodejs,rocketseat,typescript
2023-04-20T18:48:43Z
2023-04-20T18:57:41Z
null
1
0
3
0
0
2
null
null
TypeScript
HumaionKobir1/email-password-auth
main
# email-password-auth
Email Password Authentication, Login Form
css3,express,firebase-auth,html5,javascript,react,react-router,tailwindcss
2023-04-15T14:08:06Z
2023-04-16T14:45:18Z
null
1
0
9
0
0
2
null
null
JavaScript
LeadFisherSolutions/leadwatch
main
<h1 align="center">File system watcher</h1> <p align="center"> Watch specific files, directories, deeply nested directories <br/> Rebuild recursive when new directories found or old directories remove <br/> Deduplicate events with debounce <br/> </p> <h2 align="center">Installation</h2> ```bash npm i leadwatch --save ``` <h2 align="center">Usage</h2> ```js const DirectoryWatcher = require('leadwatch'); const watcher = new DirectoryWatcher({ timeout: 200, // Events debouncing for queue ignore: [new RegExp(/[\D\d]+\.ignore\D*/)], // Ignore files and directories deep: false, // Include nested directories }); watcher.watch('/home/sashapop10/Downloads'); watcher.watch('/home/sashapop10/Documents'); watcher.on('before', updates => console.log({ before: updates })); watcher.on('change', path => console.log({ changed: path })); watcher.on('after', updates => console.log({ after: updates })); watcher.on('delete', path => console.log({ deleted: path })); ``` <h2 align="center">Copyright & contributors</h2> <p align="center"> Copyright © 2023 <a href="https://github.com/LeadFisherSolutions/leadwatch/graphs/contributors">Leadfisher contributors</a>. Leadwatch is <a href="./LICENSE">MIT licensed</a>.<br/> Leadwatch is one of <a href="https://github.com/LeadFisherSolutions">leadfisher solutions</a>. </p>
[Node js] File system watcher
filesystem,fs,javascript,nodejs,watcher,zero-dependencies,leadfisher,typescript
2023-04-11T19:15:14Z
2023-06-03T16:41:06Z
2023-06-03T16:39:11Z
1
1
31
0
0
2
null
MIT
JavaScript
AnirudhSinghBhadauria/Netflix-Clone
main
# [Netflix-Clone](https://clonix.vercel.app/) This Netflix clone is a high-quality replica of the popular streaming platform's layout, design. While it is not functional and non-responsive, it still serves as a demonstration of my web development skills and ability to create visually appealing and user-friendly websites. Whether you're looking to launch your own streaming service or improve your online presence, my Netflix landing page clone provides a glimpse into my development capabilities. Explore my clone today to see what I can bring to your next project. <img src="https://mir-s3-cdn-cf.behance.net/project_modules/fs/e2cc77168836349.644172c20a9e7.png"/> ## [Gallery](https://www.behance.net/gallery/168836349/Netflix-Clone) You might want to take a look at the gallery of this Netflix landing page clone. It could be worth your time to browse through the images and see how the clone replicates the design and layout of the popular streaming platform." <a target='_blank' href="https://www.behance.net/gallery/168836349/Netflix-Clone">GALLERY ------></a> <p float="left" align="center"> <img src="https://mir-s3-cdn-cf.behance.net/project_modules/fs/0334da168836349.644172c20f4e4.png" /> </p> <p float="left" align="center"> <img src="https://mir-s3-cdn-cf.behance.net/project_modules/fs/676fd9168836349.644172c212414.png"> </p> <p float="left" align="center"> <img src="https://mir-s3-cdn-cf.behance.net/project_modules/fs/258d0a168836349.644172c2105be.png"> </p> <p float="left" align="center"> <img src="https://mir-s3-cdn-cf.behance.net/project_modules/fs/276c8d168836349.644172c20e19c.png"> </p> <p float="left" align="center"> <img src="https://mir-s3-cdn-cf.behance.net/project_modules/fs/b08a88168836349.644172c20cc16.png"> </p> ## Conclusion In conclusion, the Netflix clone created by the developer serves as an impressive and high-quality replica of the popular streaming platform's layout, design, and functionality. Although it is not functional and non-responsive, the clone still serves as a demonstration of the developer's web development skills and ability to create visually appealing and user-friendly websites. Whether you're planning to launch your own streaming service or improve your online presence, the Netflix landing page clone can provide you with valuable insights into the developer's development capabilities. Overall, exploring the clone could be a great way to see what the developer can bring to your next project.
Introducing my very own Netflix clone. Its a Static Clone of Netfliix Landing Page, you will find link down below, thanks for showing intrest in 'clonix'
css,html,javascript,netflix-clone,ui,ux-design,vercel
2023-04-20T19:09:08Z
2023-04-22T22:03:31Z
null
1
0
4
0
0
2
null
null
HTML
HarshAgarwal1102/Portfolio_Website
main
# Portfolio_Website
My Portfolio Website
css,html,javascript
2023-04-18T14:15:58Z
2024-01-13T09:54:05Z
null
1
0
91
0
0
2
null
null
CSS
Mrpablo98/AustrianEconomicsForum
main
# AustrianEconomicsForum End-of-course project in which a social network/forum will be implemented, with the main theme revolving around economics, politics, and other social sciences from an Austrian School of Economics perspective. It will be implemented using native CSS, HTML, and JavaScript, with a MySQL database and PHP for the interaction with the database.
Project in which a social network/forum will be implemented, with the main theme revolving around economics, politics, and other social sciences from an Austrian School of Economics perspective. It will be implemented using native CSS, HTML, and JavaScript, with a MySQL database and PHP for the interaction with the database.
austrian-school-economics,economics,social-network,javascript,mysql,php
2023-04-21T23:02:50Z
2024-03-01T20:44:19Z
null
1
0
174
0
0
2
null
null
JavaScript
Lourdes84/7thart
main
# 7thart <p>7thart is a movie search engine that will allow you to view the cover, synopsis, release date and score.</p> <p>Created with html, css and vanilla javascript and connected with The movie DB API</p> <p>By: Lourdes González 2021</p>
7thart is a movie search engine that will allow you to view the cover, synopsis, release date and score. Created with HTML, CSS and Javascript and connected with The movie DB API
api,css,html5,javascript
2023-04-20T10:34:11Z
2023-06-16T17:21:37Z
null
1
0
6
0
0
2
null
null
CSS
paulovitorguedes/Game_Mata_Mosquito
main
# Game Mata Mosquito ![alt text](_img/game.png) #### Um jogo feito durante o curso de Full Stack DevWeb, que se resume em matar mosquistos! # Oque é o Game Mata Mosquitos? Todo o jogo foi feito em HTML5 + JavaScript + CSS3. O objetivo do jogo é matar os mosquitos que aparecem na tela por 30 segundos. O jogo possuí 4 níveis de difulcade que aumentam a quantidade de mosquitos que apareceram na tela do usuário, sendo elas: | Nível | Nome | Velocidade | | ------------- |:-------------:| -----:| | 1 | Fácil | 2000 seg | | 2 | Normal | 1500 seg | | 3 | Difícil | 1000 seg | Todas as artes utilizadas foram dadas pelo proprío curso. ### Features que seram adicionadas futuramente * Sistema de Ranking's. * Será adicionado um sistema de rankings para a pontuação que determinado úsuario fez. * Background's dinamicos. * Backgrounds diferentes para cada nível que for escolhido. * Mosquitos especiais. * Mosquitos que se forem eliminados vão dar buff's para o jogador. * Sem minutagem, apenas a vida * O jogo não será mais por tempo e sim baseado nas vidas que o usuario tem, assim fornecendo uma gameplay mais imersiva.
Game Mata Mosquito
css3,html5,javascript
2023-04-12T12:53:05Z
2024-05-03T12:39:54Z
null
1
0
34
0
0
2
null
MIT
HTML
erikth97/Login-Avanzado-Php-MySql-JS-CSS-HTML
main
# Login Avanzado utilizando PHP ![image](https://user-images.githubusercontent.com/94486146/233183799-30175f0b-2d0b-43dc-bb06-943eed889054.png) ![image](https://user-images.githubusercontent.com/94486146/233183860-54065656-1be9-4354-ba05-9022329a65de.png) ![image](https://user-images.githubusercontent.com/94486146/233183964-f9a991c1-b328-4d8c-98ab-cd5f522e7e22.png) ![image](https://user-images.githubusercontent.com/94486146/234036775-6c8ff63f-e661-40c8-ba99-7cd4867acd82.png) El proyecto "Login Avanzado utilizando PHP" tiene como objetivo proporcionar un sistema de inicio de sesión y registro seguro utilizando PHP y MySQL. El sistema permite a los usuarios registrarse, iniciar sesión y cerrar sesión en una cuenta protegida mediante una encriptación de contraseña segura. ## Tecnologías Utilizadas El proyecto utiliza las siguientes tecnologías: - PHP: para manejar la lógica del servidor - Javascript: para agregar interactividad a la página web - CSS: para dar estilo a la página web - HTML: para crear la estructura de la página web - MySQL: para almacenar y recuperar datos ## Instalación y Ejecución Para instalar y ejecutar el proyecto, siga estos pasos: 1. Clona el repositorio en tu máquina local o descárgalo como archivo ZIP. 2. Abre XAMPP y asegúrate de que Apache y MySQL estén ejecutándose. 3. Crea una base de datos en MySQL. 4. Importa el archivo SQL "database.sql" en tu base de datos MySQL. 5. Edita el archivo "config.php" para configurar los detalles de tu base de datos. 6. Abre un navegador web y navega hasta la carpeta raíz del proyecto en tu servidor local. 7. Registra una cuenta o inicia sesión con una cuenta existente. ## Contribución Si desea contribuir al proyecto, puede hacerlo de la siguiente manera: 1. Haga un fork del repositorio. 2. Cree una nueva rama en su fork para realizar sus cambios. 3. Realice sus cambios y cree un pull request en la rama principal del repositorio original. 4. Espere a que el propietario del proyecto revise su pull request y lo fusiona en el repositorio principal. ## Problemas o Solicitudes Si encuentra algún problema o tiene alguna idea para una nueva característica, puede crear un problema en el repositorio. Proporcione tantos detalles como sea posible para que el propietario del proyecto pueda entender y abordar el problema o la solicitud. ## Mantenimiento del Proyecto El proyecto está actualmente mantenido por mí mismo. Si está interesado en contribuir como mantenedor, por favor contácteme. ## Licencia El proyecto se encuentra bajo la licencia de código abierto y se puede utilizar, modificar y distribuir libremente.
Registro y Login Avanzado (CRUD), con PHP 8, Javascript, CSS y MySQL
crud,css3,full-stack-web-development,html,javascript,mysql,php8,responsive-design,jquery
2023-04-14T18:19:52Z
2023-04-24T15:02:16Z
null
1
0
27
0
2
2
null
null
PHP
Gchism94/personal-website
main
# personal-website Personal Website of Dr. Greg Chism Website configured from https://github.com/codebucks27/Next.js-Developer-Portfolio-Starter-Code/
Personal Website of Dr. Greg Chism
blog,javascript,personal-website,portfolio,portfolio-website
2023-04-10T04:47:24Z
2024-04-10T18:24:39Z
null
1
0
36
0
0
2
null
null
JavaScript
jeffersonbalde/food-delivery-website
main
# Food Delivery App ## Description This food delivery app was created using the MERN stack and allows users to easily order fresh food items. Users can log in and add items to their cart. The app is built using Vite and uses an .env file to store environment variables such as API keys. ## Live Link [https://jeff-food-delivery-app.vercel.app/](https://jeff-food-delivery-app.vercel.app/) ## Features ### User authentication: Users can create accounts and log in to the app. <img width="700" alt="User authentication demo" src="./client/src/assets/demo1.gif"> ### Add to Cart: Users can add food items to their cart <img width="700" alt="Add to Cart demo" src="./client/src/assets/demo2.gif"> ### Responsive design: The app is designed to be used on desktop and mobile devices. <img width="700" alt="Responsive design demo" src="./client/src/assets/demo3.gif"> ## Technologies Used - React - Redux - NodeJS - ExpressJS - MongoDB - TailwindCSS - REST API
Food website built with MERN stack with users authentication and login/out
expressjs,javascript,mongodb,nodejs,reactjs,render,tailwindcss,vercel
2023-04-11T23:47:26Z
2023-07-19T10:47:35Z
null
1
0
81
0
1
2
null
null
JavaScript
alleycaaat/vanilla-JS-projects
main
<a name='top'></a> <div align='center'> <h1><strong>Vanilla JS Projects</strong></h1> </div> This repo is composed of vanilla JavaScript projects. All projects were developed with JavaScript, SCSS and HTML5. The SCSS file is attached for easier viewing. To fork a project, it will need to be converted to CSS, or the environment will need a CSS preprocessor. ![last commit][last-commit] ![repo size][repo-size] ![main language][main-language] ## <strong>Project Previews, Links and Details</strong> ### <strong>Earth Day Countdown</strong> ![A little forest of trees sits atop a countdown to show how long until Earth Day](./assets/earth-day-countdown.png) [Working demo of the countdown](https://codepen.io/alleycaaat/full/BaqWwwP) - timer updates every second to display how long until Earth Day, 22 April - a forst of little trees is dynamically built on each render - displayed message changes on Earth Day - trees are built then appended to the parent element - Math.random generates a height, z-index,0 margin and left values for each tree - Colors are randomly selected from an array of 15 options <br> ### <strong>Desktop Calculator</strong> ![A calculator with aquamarine buttons and a screen displaying '43110'](./assets/desktop-calculator.png) [Working demo of calculator](https://codepen.io/alleycaaat/full/ZEqBXWb) - allows for keyboard use or mouseclicks - on large screens, shows the calculation history on a slice of paper - multiple switch case statements keep code cleaner - hover effects mimic pressing down on a real button - backspace to remove individual character from display - AC button to clear calculator display - ternary operator to add a zero before a decimal if the number is less than one - original background image by [macrovector](https://www.freepik.com/free-vector/wood-vector-texture-template-pattern-seamless-material-hardwood-floor-natural-light-parquet-vector-illustration_11059494.htm#query=seamless%20wood%20texture&position=0&from_view=keyword&track=ais) <br> ### <strong>tic-tac-toe</strong> ![An tic-tac-toe board with a game in progress, a light grey circle shows a possible available move for the O's player to take](./assets/gameplay.png) [Working demo of tic-tac-toe](https://codepen.io/alleycaaat/full/NWONQOK) - user can hover over empty boxes to see potential moves - gameboard built with for loops - gameboard boxes have aria-labels of x and y coordinates - dynamically displays winner at games end - if no winner, winning message displays draw - forEach loop, classList property and ternary operators utilized <br> ### <strong>Calculator</strong> ![A calculator with aquamarine buttons and a screen displaying '43110'](./assets/js-calculator.png) [Working demo of calculator](https://codepen.io/alleycaaat/full/zYmKQEz) - allows for keyboard use - switch case statements to keep code cleaner - hover effects mimic pressing down on a real button - backspace to remove individual character from display - AC to clear everything - ternary operator to add a zero before a decimal if the number is less than one <br> <p align='right'>(<a href='#top'>back to top</a>)</p> ## <strong>Contact</strong> <div align='center'> AC Hulslander - [Send me a message](https://www.achulslander.com/#contact) [![GitHub][github]](https://github.com/alleycaaat/) [![linkedin][linkedin]][linkedin-url] [![hashnode][hashnode]][hashnode-url] [![discord][discord]][discord-url] [![codepen][codepen]][codepen-url] [![twitter][twitter]][twitter-url] </div> <p align='right'>(<a href='#top'>back to top</a>)</p> [issues-open]: https://img.shields.io/github/issues/alleycaaat/vanilla-JS-projects?color=blue&logo=github [repo-size]: https://img.shields.io/github/repo-size/alleycaaat/vanilla-JS-projects?color=red&logo=github [language-count]: https://img.shields.io/github/languages/count/alleycaaat/vanilla-JS-projects?color=orange&logo=github [main-language]: https://img.shields.io/github/languages/top/alleycaaat/vanilla-JS-projects?color=yellow&logo=github [last-commit]: https://img.shields.io/github/last-commit/alleycaaat/vanilla-JS-projects?logo=github [linkedin]: https://img.shields.io/badge/-LinkedIn-black.svg?style=for-the-badge&logo=linkedin&colorB=555 [linkedin-url]: https://linkedin.com/in/achulslander [github]: https://img.shields.io/badge/GitHub-100000?style=for-the-badge&logo=github&logoColor=white [codepen]: https://img.shields.io/badge/Codepen-000000?style=for-the-badge&logo=codepen&logoColor=white [codepen-url]: https://codepen.io/alleycaaat [twitter]: https://img.shields.io/badge/Twitter-1DA1F2?style=for-the-badge&logo=twitter&logoColor=white [twitter-url]: https://twitter.com/achulslander [hashnode]: https://img.shields.io/badge/Hashnode-2962FF?style=for-the-badge&logo=hashnode&logoColor=white [hashnode-url]: https://hashnode.com/@alleycaaat [discord]:https://img.shields.io/badge/Discord-7289DA?style=for-the-badge&logo=discord&logoColor=white [discord-url]: https://discord.come/users/427569685366833174
A collection of projects made with vanilla JavaScript.
html5,javascript,javascript-applications,javascript-vanilla,js,scss,scss-styles,vanilla-js
2023-04-16T18:47:42Z
2024-04-25T19:54:43Z
null
1
0
33
0
0
2
null
null
JavaScript
BlazeInferno64/image-resizer-app
main
# image-resizer-app Hello everyone, in this repository I'm going to show you all how to make a image resizer web application, Also please note that this repository shouldn't be misused for Harassing Abusing or Spamming others, if any of the above mentioned occurs then I'm not responsible for anything at all |---------------| # View it here- <a href="https://blazeinferno64.github.io/image-resizer-app/"> ``` https://blazeinferno64.github.io/image-resizer-app/ ``` </a> # More info- ` Meanwhile check this out- ` ``` Hello everyone thanks for paying a visit to this repository and to the .If you all Have any feedback/issues/bugs feel free to email me at the email address provided in the README.md file or post it in the discussion, I would try my best to update it as soon as possible within 4-5days time interval it would be fixed and upgraded to a better version which would improve your experience.Btw Make sure to pay a visit to this repository after 3-4 days time interval to check what has changed, If not possible it can be checked after a week. Anyways thanks for reading Have a nice day :) 👍 ``` # Check SECURITY.md for more info about security policy or click down in that box- <a href="./SECURITY.md"> ``` Check SECURITY.md for more info or click here. ``` </a> <!--[![leisure]--> ` Fun link.Click Down👇 ` <a href="https://i.pinimg.com/originals/b2/2a/a2/b22aa22b2f3f55b6468361158d52e2e7.gif" target="_blank"> <img src="https://i.pinimg.com/originals/b2/2a/a2/b22aa22b2f3f55b6468361158d52e2e7.gif"> </a> <a href="https://p.favim.com/orig/2018/11/05/kawaii-8-bit-gif-Favim.com-6490317.gif" target="_blank"> <img src="https://wallpapercave.com/uwp/uwp2086260.gif"> </a> # My Email For Any Queries- - 📫 How to reach me ... you can reach me by mailing me at this email address just click once at the blue colored text - <a href="mailto:blazinginfernodragon123@gmail.com" target="_blank"> ``` BlazingInfernoDragon123@gmail.com ``` </a> ` Want to email directly ?Click Down👇 ` <a href="mailto:blazinginfernodragon123@gmail.com" target="_blank"> <img src="https://charityengine.net/wp-content/uploads/2022/05/CE-Icon-_Email-Marketing.svg" style="border-radius:5px" alt="BlaizingInfernoDragon123@gmail.com"> </a> ` Thank u for reading have a nice day :) ` # Visitor count - <p align="center"> ` Visitor count ` <br> <img src="https://profile-counter.glitch.me/blaizinginfernodragon123/count.svg" /> </p> ![visitors](https://visitor-badge.glitch.me/badge?page_id=blaizinginfernodragon123&left_color=black&right_color=blue) # Our YouTube Channel Link- Our YouTube Channel Link Plss subscribe - <a href="https://youtube.com/channel/UCsdLD0oB8Ui9EEE9WNSAAug" target="_blank"> ``` BlazingInfernoDragon123 Channel ``` </a> <!-- YouTube --> <!-- Github --> ` Want to subscribe to our channel directly ?Click Down👇 ` <a href="https://youtube.com/channel/UCsdLD0oB8Ui9EEE9WNSAAug" target="_blank"> <img src="https://uxwing.com/wp-content/themes/uxwing/download/brands-and-social-media/youtube-subscription-icon.svg" style="border-radius:5px"> </a> # Google Forms File Upload <!--[![patreon]--> ` Got any files to show me?Click Down👇 ` <a href="https://forms.gle/y6YSBnyNvnrhgrKg9" target="_blank"> <img src="https://images.ctfassets.net/lzny33ho1g45/4ODoWVyzgicvbcb6J9ZZZ5/89e33c333afa86e9e2864ba42833a5be/app-tips-google-forms-00-hero.png?w=1520&fm=jpg&q=30&fit=thumb&h=760"> </a> # My Other Following Links 🔗 - <!-- Github --> ` Want to follow me on github?Click Down👇 ` <a href="https://github.com/blaizinginfernodragon123?tab=following" target="_blank"> <img src="https://cdn.neow.in/news/images/uploaded/2020/12/1608232185_github_logo_1.jpg" style="border-radius:5px"> </a> <!--[![patreon]--> ` Support me on patreon?Click Down👇 ` <a href="https://patreon.com/blaizinginfernodragon123" target="_blank"> <img src="https://1.bp.blogspot.com/-7bPYnbDpDMg/YFfPMuFKyyI/AAAAAAAAS6A/8F8MMmMP4AQSACqo1EAshGTQhm0HEaKygCLcBGAsYHQ/s640/76jg.png"> </a>
Hello everyone, in this repository I'm going to show you all how to make a image resizer web application, Also please note that this repository shouldn't be misused for Harassing Abusing or Spamming others, if any of the above mentioned occurs then I'm not responsible for anything at all
ai,css,html,image-analysis,image-compression,image-cropper,image-recognition,image-resizer,javascript,php
2023-04-13T15:22:39Z
2023-06-06T11:31:01Z
2023-04-14T06:24:39Z
1
0
30
0
0
2
null
GPL-3.0
HTML
Antoinegtir/intranet
main
<a href=""> <img width="100%" alt="Epitech Banner" src="https://upload.wikimedia.org/wikipedia/commons/2/2d/Epitech.png"></a> # Intra Official epitech's intranet application aivailable on you're smartphone and over. On the application you can: - Have access to all of the functionnality aivailable on the intranet but in a more user friendly way, and in application format. the application is realise using flutter, use javascript injection in the webview to interact with the web version of the intranet, use a full CI/CD pipeline to deploy the application, a custom ui made with dart and flutter. Calandar | List | E-learning :-------------------------:|:-------------------------:|:-------------------------:| <img src="https://github.com/Antoinegtir/intranet/blob/main/assets/screenshot/calandar.png?raw=true" alt="Calandar Page" width="150"/>|<img src="https://github.com/Antoinegtir/intranet/blob/main/assets/screenshot/list.png?raw=true" alt="List Page" width="150"/>|<img src="https://github.com/Antoinegtir/intranet/blob/main/assets/screenshot/e-learning.png?raw=true" alt="E-learning Page" width="150"/> # Cookbooks - Clone the repository - Install flutter environment -> https://docs.flutter.dev/get-started/install - tap `flutter pub get` to install all the dependencies - tap `flutter run` to run the application on the device you want # Download Android | iOS | MacOS | Windows | Web | Linux :-------------------------:|:-------------------------:|:-------------------------:|:-------------------------:|:-------------------------:|:-------------------------:| [<img src="https://github.com/Kams-art/Assets/blob/main/logo/android/download.png" alt="Welcome Page" width="150"/>]()|[![](https://github.com/Kams-art/Assets/blob/main/logo/ios/download.svg)]()|[![](https://github.com/Kams-art/Assets/blob/main/logo/macos/download.svg)]()|[<img src="https://github.com/Kams-art/Assets/blob/main/logo/windows/download.png" alt="Welcome Page" width="140"/>]()|[<img src="https://github.com/Kams-art/Assets/blob/main/logo/web/download.png" alt="Welcome Page" width="140"/>]()| 🚧 # Language <img src="https://skillicons.dev/icons?i=ruby,dart,kotlin,swift,html,css,bash,gradle,js" /> # Framework <img src="https://skillicons.dev/icons?i=flutter" /> # Supervisor <img height="30" src="https://github.com/devicons/devicon/blob/master/icons/apache/apache-original.svg">&nbsp; <img height="30" src="https://github.com/devicons/devicon/blob/master/icons/cmake/cmake-original.svg">&nbsp; <img height="30" src="https://github.com/devicons/devicon/blob/master/icons/opengl/opengl-plain.svg">&nbsp; <img height="30" src="https://github.com/devicons/devicon/blob/master/icons/eslint/eslint-original.svg">&nbsp; <img height="30" src="https://github.com/devicons/devicon/blob/master/icons/git/git-original.svg">&nbsp; <img height="30" src="https://github.com/devicons/devicon/blob/master/icons/vscode/vscode-original.svg">&nbsp; <img height="30" src="https://github.com/devicons/devicon/blob/master/icons/xcode/xcode-original.svg">&nbsp; <img height="30" src="https://github.com/devicons/devicon/blob/master/icons/androidstudio/androidstudio-original.svg">&nbsp; <img height="30" src="https://github.com/devicons/devicon/blob/master/icons/groovy/groovy-original.svg">&nbsp; # Credit Antoine Gonthier, 18 yo Epitech Student 🧑‍💻 # License - This application is released under the MIT license and respect all the statment of the copyright - Copyright © 2023, All right reseved.
Quick Application Layer of official Epitech's intranet
webview,flutter,javascript,scraper,epitech
2023-04-17T16:28:04Z
2023-04-18T08:49:08Z
null
1
0
50
0
0
2
null
MIT
Dart
RapidKS/OverStock_Project
main
# OverStock_Project Overstock is an online retail platform that offers a wide range of products including furniture, home decor, electronics, apparel, and more.
Overstock is an online retail platform that offers a wide range of products including furniture, home decor, electronics, apparel, and more.
ecommerce-website,javascript,project
2023-04-18T05:08:57Z
2023-08-21T10:10:20Z
null
4
8
70
0
0
2
null
null
HTML
RJRock12/MediaView
main
# MediaView Minimalistic, robust media player using purely web based programming languages. Compatible with all common types of audio and video files. Works with bluetooth headphones and other audio devices. <br><br>View the <a href="https://github.com/RJRock12/MediaView/wiki">Wiki page</a> for more details.<br> **Credit to <a href="https://github.com/michael-tiger-2010">@michael-tiger-2010</a> for most of the code.**<br> <br> Please use a modern browser with HTML5 support for all features to work intended.<br> <br> ## TO DO:<br> <br><br> ## CHANGELOG:<br> <br> <b>Note: All versions as far back as 1.1 are included in the archive, but are not listed here. Versions before 8.6 may be unstable or broken altogether.</b><br><br> V 10.0.0: (tested, fully stable) Yay! The new version has a new localstorage based pinlist system! Easier to use!<br> V 9.7.5: (tested, fully stable) Fixed alt-hold bug. Made Search take less cpu by making it only search after you type done.<br> V 9.7.4: (tested, fully stable) Added "do not show music name as page title", fixed bug.<br> V 9.7.3: (tested, fully stable) Fixed mp3 tag image placing issues, added mp3 as favicon.<br> V 9.7.2: (tested, mostly stable) Fixed the bug where when playing video, a large space exists. <br> V 9.7.1: (tested, fully stable) Fixed 2 bugs and 1 performance bug.<br> V 9.7.0: (tested, mostly stable) Added wave display for visuals.<br> V 9.6.6: (fully tested, confirmed stable) Fixed miniplayer bug in which using the Skip buttons cause the miniplayer to freeze.<br> V 9.6.5: (fully tested, unstable) Added soft breaking to miniplayer title. <br> V 9.6.4: (fully tested, confirmed stable) Added button to pop out the visuals in a picture in picture format. Can be used as a miniplayer. <br> V 9.6.2: (fully tested, confirmed stable) Improved Visuals Section, made more user friendly.<br> V 9.5.4: Fixed bug where when using alt+d or alt-f forgets to detect unholding alt, resulting in all commands afterwards to detect as if alt was down.<br> V 9.5.0: (fully tested, confirmed stable) Added keyboard shortcuts for most commonly used items.<br>
Robust media player with a minimalistic design using HTML, JS, and CSS. Compatible with all common types of audio and video files.
audio,code,css,dark,dark-mode,dark-theme,file,html,javascript,js
2023-04-12T21:41:18Z
2023-10-25T00:36:36Z
null
2
2
153
0
0
2
null
NOASSERTION
HTML
MartinShelley/invoice-app
master
# Frontend Mentor - Invoice app This is a solution to the [Invoice app challenge on Frontend Mentor](https://www.frontendmentor.io/challenges/invoice-app-i7KaLTQjl). ## 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 - Create, read, update, and delete invoices - Receive form validations when trying to create/edit an invoice - Save draft invoices, and mark pending invoices as paid - Filter invoices by status (draft/pending/paid) - Toggle light and dark mode - **Bonus**: Keep track of any changes, even after refreshing the browser (`localStorage` could be used for this if you're not building out a full-stack app) ### Screenshot ![](./Screenshot.png) ### Links Live Site URL: [Invoice App](https://invoice-app-3517e.web.app)
null
css,html,javascript,sass,vuejs
2023-04-16T17:19:14Z
2023-07-08T13:58:41Z
null
2
0
59
0
0
2
null
null
Vue
ude-soco/awt-ss23
main
## 🚀 Get Started with React Lecture ### Installation Guide 🔨 #### Step 1: Pre-requisites - Download NodeJS (v18.12.1) from [the official website](https://nodejs.org/en/blog/release/v18.12.1) - Download [IntelliJ Ultimate](https://www.jetbrains.com/de-de/idea/download/#section=windows) or [Visual Studio Code](https://code.visualstudio.com/download) and install one of the code editors - Download [GitHub Desktop](https://desktop.github.com/) and install it #### Step 2: Clone the repository - Clone the reposity by clicking `Code` button and then `Open with GitHub Desktop` option - Select the location where you want to clone the repository and click `Clone` button - Open the cloned repository in your code editor #### Step 3: Install dependencies - Switch between branches to see the different versions of the project. Type the following command in the terminal to switch to a branch ```bash git checkout <branch-name> ``` Or use the GitHub Desktop to switch between branches - Open the directory using your code editor and open the built-in terminal. Type the following command to install all the dependencies ```bash npm install ``` - Run the following command to start the development server ```bash npm run dev ``` - Open [http://localhost:5173](http://localhost:5173) with your browser to see the result.
React lecture example codes
javascript,react
2023-04-11T11:30:05Z
2023-04-12T14:49:32Z
null
6
0
3
0
1
2
null
null
null
Lul-Abdifan/Leaderboard
development
<a name="readme-top"></a> <div align="center"> <br/> <h3><b>Leaderboard</b></h3> </div> <!-- TABLE OF CONTENTS --> # 📗 Table of Contents - [📖 About the Project](#about-project) - [🛠 Built With](#built-with) - [Tech Stack](#tech-stack) - [Key Features](#key-features) - [🚀 Live Demo](#live-demo) - [💻 Getting Started](#getting-started) - [Setup](#setup) - [Prerequisites](#prerequisites) - [Install](#install) - [Usage](#usage) - [Run tests](#run-tests) - [Deployment](#triangular_flag_on_post-deployment) - [👥 Authors](#authors) - [🔭 Future Features](#future-features) - [🤝 Contributing](#contributing) - [⭐️ Show your support](#support) - [🙏 Acknowledgements](#acknowledgements) - [📝 License](#license) <!-- PROJECT DESCRIPTION --> # 📖 [Leaderboard] <a name="about-project"></a> Leaderboard games are competitive games where players aim for the top spot on a public leaderboard by completing tasks and earning points. The leaderboard displays scores for comparison, creating a sense of community and competition. These games are found in various genres and are often played online with global rankings. ### Tech Stack <a name="tech-stack"></a> <details> <summary>Client</summary> <ul> <li>HTML</li> <li>CSS</li> <li>JAVASCRIPT</li> </ul> </details> <!-- Features --> ### Key Features <a name="key-features"></a> - **[Design]** ![Full-Screen](src/assets/leaderboard-full-page.png) - **[Responsive design]** <p align="center"> <img src="src/assets/leaerboards.add-page.png" alt="Leaderboard Result" width="400" height="400px"> <img src="src/assets/leader-add-page1.png" alt="Add Result" width="400" height="400px"> </p> <p align="right">(<a href="#readme-top">back to top</a>)</p> <!-- LIVE DEMO --> ## 🚀 Live Demo <a name="live-demo"></a> - [Leaderboard](https://lul-abdifan.github.io/Leaderboard/) <p align="right">(<a href="#readme-top">back to top</a>)</p> <!-- GETTING STARTED --> ## 💻 Getting Started <a name="getting-started"></a> To get a local copy up and running, follow these steps. ### Prerequisites In order to run this project you need: <ul> <li>The current version of node</li> <li>To have Git installed on your local machine</li> <li>Node Package manager (npm) </li> <li>An editor such as Visual Studio Code</li> </ul> ### Setup Clone this repository to your desired folder: <ul> <li>Create your classic access token from github.com and Run the following code with your github account</li> ```sh git clone git@github.com:Lul-Abdifan/Leaderboard.git git config --global user.email "your_email@gmail.com git config --global user.name "your_name" ``` </ul> ### Install Install this project with: - In the first commit of your feature branch create a .github/workflows folder and add a copy of [.github/workflows/linters.yml](https://github.com/microverseinc/linters-config/blob/master/html-css-js/.github/workflows/linters.yml) to that folder. - create a .gitignore file and add 'node_modules' to it ```sh npm init -y npm install --save-dev hint@7.x ``` - Copy [hintrc](https://github.com/microverseinc/linters-config/blob/master/html-css-js/.hintrc) to the root directory of your project. ```sh npx hint . ``` - Fix validation errors. ```sh npm install --save-dev stylelint@13.x stylelint-scss@3.x stylelint-config-standard@21.x stylelint-csstree-validator@1.x ``` - Copy [stylelintrc.json](https://github.com/microverseinc/linters-config/blob/master/html-css-js/.stylelintrc.json) to the root directory of your project. ```sh npx stylelint "**/*.{css,scss}" ``` - Fix linter errors ```sh npm install --save-dev eslint@7.x eslint-config-airbnb-base@14.x eslint-plugin-import@2.x babel-eslint@10.x ``` - Copy [eslintrc.json](https://github.com/microverseinc/linters-config/tree/master/html-css-js) ```sh npx eslint . or npx eslint . --fix ``` - Fix linter error. ### Usage To run the project, execute the following command: ```sh use git bash to open in Vs code ``` ### Run tests To run tests, run the following command: ```sh Run "npx hint ." Run "npx stylelint "**/*.{css,scss} --fix " to fix linters Run "npx eslint . --fix to fix linters" ``` ### Deployment On Github Page [Documentation](https://docs.github.com/en/pages/configuring-a-custom-domain-for-your-github-pages-site) <br> Follow this Video to learn the easiest way to deploy using commands [Github](https://www.youtube.com/watch?v=4G6O0BIoq6M) On Netlify [Netlify](https://www.netlify.com/) On Render [Render](https://www.render.com/) <p align="right">(<a href="#readme-top">back to top</a>)</p> <!-- AUTHORS --> ## 👤 Author <a name="authors"></a> - GitHub: [Abdi Bekele](https://github.com/Lul-Abdifan) - LinkedIn: [LinkedIn](https://www.linkedin.com/in/abdi-bekele-a63860254/) - e-mail: [tasanbannu@gmail.com](mailto:tasanbannu@gmail.com) <p align="right">(<a href="#readme-top">back to top</a>)</p> <!-- FUTURE FEATURES --> <p align="right">(<a href="#readme-top">back to top</a>)</p> <!-- CONTRIBUTING --> ## 🤝 Contributing <a name="contributing"></a> Contributions, issues, and feature requests are welcome! Feel free to check the [issues page](../../issues/). <p align="right">(<a href="#readme-top">back to top</a>)</p> <!-- SUPPORT --> ## ⭐️ Show your support <a name="support"></a> If you like this project, kindly drop a star for me. <p align="right">(<a href="#readme-top">back to top</a>)</p> <!-- ACKNOWLEDGEMENTS --> ## 🙏 Acknowledgments <a name="acknowledgements"></a> I would like to use this medium to appreciate Microverse that bringing me The best platform ever for me. <p align="right">(<a href="#readme-top">back to top</a>)</p> <!-- LICENSE --> ## 📝 License <a name="license"></a> This project is [MIT](./MIT.md) licensed. <p align="right">(<a href="#readme-top">back to top</a>)</p>
Leaderboard games are competitive games where players aim for the top spot on a public leaderboard by completing tasks and earning points.
api,html,javascript,scss
2023-04-12T18:31:21Z
2023-06-01T13:42:39Z
null
1
3
40
0
0
2
null
null
JavaScript
gabscrobson/pokewho
main
# PokeWho #### Description: Pokewho is a web game developed to be used as my CS50's final project. The game is simple, a Pokémon silhouette is shown on the screen, and you must guess the name of the Pokémon to catch it. You can view your own box of Pokemon and other players' boxes, and also use your cash to buy rare Pokemon on the market. #### Instructions to run locally: 1. Clone the repository `git clone https://github.com/gabscrobson/pokewho.git` 2. Change directory to the project folder `cd pokewho` 3. (Optional) Create a virtual environment `python -m venv pokewho-env` and activate it `source pokewho-env/bin/activate`(Linux) or `pokewho-env\Scripts\activate`(Windows) 2. Install the dependencies with `pip install -r requirements.txt` 3. Run the application with `flask run` #### Technologies used: - Python - Flask - HTML - CSS - Bootstrap - JavaScript - Sqlite3 - PokeAPI
Pokemon guessing web application in Flask
css,flask,html,javascript,python
2023-04-11T13:30:12Z
2023-07-04T13:31:39Z
null
1
0
45
3
0
2
null
MIT
HTML
BlurryFace04/PAN-Card-Verification
main
# Pan Card Verification using Hyperledger Fabric This project presents a Pan Card Verification Application implemented using Hyperledger Fabric, a popular permissioned blockchain platform. The application aims to verify and maintain the authenticity of PAN card data using the distributed ledger technology. The project will introduce the application, explain its implementation, discuss the problem it solves, and explore its future scope. ## Introduction Permanent Account Number (PAN) cards are unique identifiers issued to taxpayers in India. They are essential for various financial transactions and identity verification. Ensuring the authenticity of PAN card data is vital for the integrity of the financial system and preventing fraud. This Pan Card Verification Application uses Hyperledger Fabric, a permissioned blockchain platform, to create a secure, tamper-proof, and efficient system for verifying and maintaining PAN card data. ## Implementation The application is built using Hyperledger Fabric, a platform that provides a modular architecture and a permissioned network for developing secure, scalable, and efficient blockchain solutions. The chaincode for the application is written in Java and follows the ContractInterface. The chaincode allows the creation, verification, updating, deletion, and querying of PAN card data. The chaincode uses Blake3, a cryptographic hash function, to generate a unique hash for each PAN card's data. The PAN card hash is stored on-chain in the World State, while the PAN card details are stored off-chain in a private data collection. This design ensures data confidentiality while maintaining data integrity and authenticity. The backend of the application is developed using Express.js, a popular web application framework for Node.js, and the Hyperledger Fabric JavaScript SDK. ### Web Application for KYC Service Provider: ![kyc-service-provider](https://user-images.githubusercontent.com/64888928/235459394-a31a53c7-83a0-4fb4-966d-11d8d29f8453.png) ### Web Application for Third Party: ![third-party](https://user-images.githubusercontent.com/64888928/235459475-4e674249-3ac8-4262-9863-a54b5cca6e94.png) ### Block Data Snapshots: <p> <img src="https://user-images.githubusercontent.com/64888928/235459540-bfb6e41f-459c-47e2-a93d-58f303f5b189.png" width="49%" height="49%" /> <img src="https://user-images.githubusercontent.com/64888928/235461958-48dfbfd3-e782-4d52-b903-520162dcd040.png" width="49%" height="49%" /> <p> ## Chaincode Overview The java chaincode implementation consists of these key functions: * **initLedger:** Initializes the ledger with existing PAN Card data. * **createPanCard:** Creates a new PAN Card entry. * **updatePanCard:** Updates the PAN Card information. * **queryPanCard:** Retrieves the PAN Card details from the private data collection. * **deletePanCard:** Deletes a PAN Card entry. * **verifyPanCard:** Verifies the PAN Card details against the stored data. ## Problem and Solution The Pan Card Verification Application addresses the problem of PAN card fraud, identity theft, and data tampering by leveraging the distributed ledger technology of Hyperledger Fabric. This technology ensures the authenticity, integrity, and security of PAN card data, providing a reliable and efficient way to verify, update, and maintain PAN card records. This minimizes the risk of fraudulent activities and improves the overall efficiency of the financial system. For example, consider a scenario where an individual attempts to use a forged PAN card to open a bank account or apply for a loan. With traditional systems, the bank may have to rely on manual methods to verify the PAN card details, such as contacting the issuing authority or checking the data against a central database. This process can be time-consuming, error-prone, and vulnerable to data tampering or unauthorized access. By using the Pan Card Verification Application built on Hyperledger Fabric, the bank can efficiently and securely verify the PAN card details. When the individual submits their PAN card information, the bank can use the application to verify the PAN card data stored on the blockchain. The application will retrieve the stored PAN card hash from the World State and compare it with the hash of the submitted PAN card details. If the hashes match, the PAN card is verified as authentic, ensuring that the individual's identity is legitimate and the PAN card has not been tampered with. ## Future Scope 1. **Integration with other identity verification systems:**<br>The application can be integrated with other identity verification systems such as Aadhaar to provide a comprehensive identity management solution. 2. **Implementation of advanced access control mechanisms:**<br>Role-based access control and attribute-based access control mechanisms can be implemented to ensure that only authorized users can access, update, or query PAN card data. 3. **Enhanced analytics and reporting:**<br>Advanced analytics and reporting features can be incorporated into the application, enabling organizations and government agencies to monitor trends, detect anomalies, and identify potential fraud or misuse of PAN card data.
PAN card verification application using Hyperledger Fabric, designed to authenticate and maintain the integrity of PAN card data on a permissioned blockchain.
blockchain,hyperledger-fabric,java,javascript,pancard
2023-04-11T15:23:12Z
2023-05-27T15:07:46Z
null
1
0
8
0
0
2
null
MIT
HTML
thisiskmv/instagram-clone
main
# instagram-clone
Instagram is a free, online photo-sharing application and social network platform that was acquired by Facebook in 2012. Instagram allows users to edit and upload photos and short videos through a mobile app.
context-api,css,firebase,firebase-auth,firebase-database,html,javascript,react,redux
2023-04-09T16:33:32Z
2023-06-21T07:45:18Z
null
2
39
90
0
0
2
null
null
JavaScript
dhirajsingh20215137/news
master
# NewsHub-Latest News Anytime Anywhere ## Tech Stack * HTML * CSS * javaScript * React Js * Bootstrap * Git/GitHub ## Discription * News on the go * Categorised on basis of various topics like Business, Entertainment, Health, Science, Sports and Technology * Latest news with date and author name from a lot of different sources * Completely free ## Download links https://github.com/dhirajsingh20215137/news.git
NewsHub provides latest and most updated news across the globe every time and everywhere, in various categories including sports, health, technology, science, entertainment and business.
api,mern-project,expressjs,javascript,newsapi,nodejs,reactjs
2023-04-10T22:32:33Z
2023-04-15T19:13:17Z
null
1
0
7
0
0
2
null
null
JavaScript
yahoogm/books-gallery
master
# Books Gallery # About The Project This website-based book gallery application was built to make it easier for people who like to read to more easily access books, because the system is online, where we don't have to go to a bookstore. You can read books directly in the application because the <a href="https://developers.google.com/books/docs/v1/getting_started" target="blank">Google Books API</a> provides an embedded viewer feature, but not all books can be read directly, for the reason I don't know for sure but the sentence is explained in the following Google Book API documentation. ![PREVIEW-HOME!](/public/assets/image/embed-viewer-issue.png) ### Preview Home ![PREVIEW-HOME!](/public/assets/image/preview-home.png) ### Preview Detail Book ![PREVIEW-DETAIL-BOOK!](/public/assets/image/preview-detail-book-with-embed-book.png) # Build With <a href="https://nextjs.org/docs" target="_blank"><img alt="NextJs" src="https://img.shields.io/badge/NextJS-white.svg?logo=next.js&logoColor=black"> </a> <a href="https://firebase.google.com" target="_blank"><img alt="Firebase" src="https://img.shields.io/badge/Firebase-blue.svg?logo=firebase&logoColor=orange"> </a> <a href="https://developers.google.com/books" target="_blank"><img alt="Firebase" src="https://img.shields.io/badge/Books%20API-success.svg?logo=google&logoColor=informational"> </a> <a href="https://redux-toolkit.js.org/introduction/getting-started" target="_blank"><img alt="ReduxToolkit" src="https://img.shields.io/badge/Redux%20Toolkit-black.svg?logo=redux&logoColor=blueviolet"> </a> <a href="https://id.wikipedia.org/wiki/JavaScript" target="_blank"><img alt="JavaScript" src="https://img.shields.io/badge/Javascript-black.svg?logo=javascript&logoColor=yellow"> </a> <a href="https://daisyui.com/" target="_blank"><img alt="daisyUI" src="https://img.shields.io/badge/daisy%20UI-white.svg?logo=daisyui&logoColor=blueviolet"> </a> <a href="https://axios-http.com/docs/intro" target="_blank"><img alt="axios" src="https://img.shields.io/badge/axios-white.svg?logo=axios&logoColor=blueviolet"> </a> <a href="https://eslint.org/" target="_blank"><img alt="eslint" src="https://img.shields.io/badge/eslint-white.svg?logo=eslint&logoColor=blueviolet"> </a> <a href="https://react-icons.github.io/react-icons/" target="_blank"><img alt="reactIcons" src="https://img.shields.io/badge/React%20Icons-white.svg?logo=react&logoColor=blue"> </a> <a href="https://formik.org/" target="_blank"><img alt="formik" src="https://img.shields.io/badge/formik-blueviolet.svg?logo=formik&logoColor=blueviolet"> </a> <a href="https://formik.org/" target="_blank"><img alt="reactToastify" src="https://img.shields.io/badge/React%20Toastify-white.svg?logo=react&logoColor=blue"> </a> <a href="https://redux-toolkit.js.org/introduction/getting-started" target="_blank"><img alt="reduxPersist" src="https://img.shields.io/badge/Redux%20Persist-black.svg?logo=redux&logoColor=blueviolet"> </a> <a href="https://redux-toolkit.js.org/introduction/getting-started" target="_blank"><img alt="reduxThunk" src="https://img.shields.io/badge/Redux%20Thunk-white.svg?logo=redux&logoColor=blue"> </a> <a href="https://www.figma.com/" target="_blank"><img alt="figma" src="https://img.shields.io/badge/Figma-blueviolet.svg?logo=figma&logoColor=white"> </a> <a href="https://github.com/" target="_blank"><img alt="github" src="https://img.shields.io/badge/Figma-black.svg?logo=github&logoColor=white"> </a> <a href="https://github.com/ai/nanoid" target="_blank"><img alt="nanoid" src="https://img.shields.io/badge/nanoid-white.svg?logo=nanoid&logoColor=white"> </a> <a href="https://github.com/jquense/yup" target="_blank"><img alt="yup" src="https://img.shields.io/badge/yup-white.svg?logo=yup&logoColor=white"> </a> <a href="https://momentjs.com/" target="_blank"><img alt="momentjs" src="https://img.shields.io/badge/momentjs-white.svg?logo=momentjs&logoColor=white"> </a> <a href="https://github.com/fisshy/react-scroll" target="_blank"><img alt="reactScroll" src="https://img.shields.io/badge/React%20Scroll-white.svg?logo=react&logoColor=blue"> </a>
Mini Project Alterra Academy
axios,daisyui-react,eslint,firebase-auth,husky,javascript,reacticons,redux-toolkit,tailwindcss,rest-api
2023-04-19T06:00:02Z
2023-07-04T01:44:19Z
null
3
8
212
0
0
2
null
null
JavaScript
samarjeetpatankar/SkinStore-clone
main
# Skinstore Clone Welcome to the Skinstore Clone project! This is a replica of the international e-commerce platform "Skinstore," designed for browsing and purchasing skincare and beauty products. ## Project Overview - Clone of the international e-commerce platform "Skinstore." - Browse and shop for skincare and beauty products. - Collaboratively completed within a 5-day timeframe. ## Learning and Experience Through developing this project, I honed my front-end development skills and gained insights into UI design and presentation delivery. This experience allowed me to create visually appealing and user-friendly websites. ## Explore the Live Website Visit the [Live Site](https://skinstore-clone-pt12.netlify.app/) to explore the Skinstore Clone project. Feel free to navigate through the website and experience the seamless shopping interface. Don't hesitate to reach out for more details, feedback, or inquiries!
Welcome to the Skinstore Clone project repository! Explore our replica of the renowned international e-commerce platform, Skinstore. Immerse yourself in a seamless shopping experience for skincare and beauty products. This collaborative project showcases front-end development skills and UI design expertise.
css3,html5,javascript,localstorage,netlify,es6,vscode
2023-04-18T07:10:51Z
2023-08-25T05:28:01Z
null
5
10
48
0
0
2
null
null
HTML
alokverma18/Dice-Game
main
# Dice-Game - This is a simple web-based dice game that can be played by two players. - The game generates two random numbers between 1 and 6, representing the numbers on the faces of two dice. - The player with the higher number wins the game. If the numbers are the same, it is a draw. ## Snap ![snap](images/snap.png) ## Demo Try this [Game](https://alokverma18.github.io/Dice-Game/) ## Contributing Feel free to Contribute by creating a Pull Request or an Issue. ## Connect [![portfolio](https://img.shields.io/badge/my_portfolio-000?style=for-the-badge&logo=ko-fi&logoColor=white)](https://alokverma18.github.io/) [![linkedin](https://img.shields.io/badge/linkedin-0A66C2?style=for-the-badge&logo=linkedin&logoColor=white)](https://www.linkedin.com/in/alokverma18/) [![twitter](https://img.shields.io/badge/twitter-1DA1F2?style=for-the-badge&logo=twitter&logoColor=white)](https://twitter.com/ak_verma18) ## ### Leave a 🌟 if it was Helpful!! ### Thanks!
Two Dice Rolling Game
css,dice-game,html,javascript,web-development
2023-04-17T18:44:59Z
2023-09-23T16:11:10Z
null
1
0
9
0
0
2
null
null
HTML
Living-Hell/Quizza
master
# Quizza ## This web application allows you to test your knowledge and challenge your brain power! ![S1](https://user-images.githubusercontent.com/74912161/236282488-73f62709-b255-411f-a9a1-6e775e024349.png) ![Screenshot 2023-05-04 231047](https://user-images.githubusercontent.com/74912161/236288215-9883338b-e328-4fd2-8b61-81e8b73e243f.png) ## Features and Functionalities * This is a quiz application. * There are 25 categories to choose from. You could pick any category you like. * Choose from the various difficulty levels, easy if you are a beginner, hard if you want to put test your brain to its limits. * Start the quiz by pressing the 'Play' button and you will be directed to the 'Game' Page. * You get random 10 questions for a category and difficulty level to answer. * For every correct response to a question, you are awarded 10 points, maximum - 100 points. * There's a timer having a countdown, 30 seconds for the easy level, 40 seconds for the medium level and 50 seconds for the hard level. * Once the timer ends or all 10 questions are answered, you are directed to the end page. * On the end page you can save your score or you can Play again if you think you could do better at another go. * If your score makes it to the Top 5 high scores of all time, you can see your name and score in the 'High Scores' section. ## This Web-Application was developed using HTML, CSS and JavaScript. ## Check out the website: [Link](https://quizzza.netlify.app/)
This is a quiz app called Quizza. This application allows you to challenge your knowledge and test your brain power to its limits!
css,html,html-css-javascript,javascript
2023-04-14T10:09:16Z
2023-11-22T19:27:05Z
null
1
0
24
0
0
2
null
null
JavaScript
savchyndd/goit-react-hw-01-components
main
# goit-react-hw-01-components ## Критерії приймання Використовуй цей [шаблон React-проекту](https://github.com/goitacademy/react-homework-template#readme) як стартову точку своєї програми. - Створений репозиторій `goit-react-hw-01-components`. - Компоненти всіх завдань рендеряться на одній сторінці, всередині загального контейнера - кореневого компонента `<App>`. - При здачі домашньої роботи є посилання на репозиторій з вихідним кодом проекту. - У шапці репозиторія є посилання на живу сторінку на `GitHub pages`. - Під час відвідування робочої сторінки (GitHub pages) завдання, в консолі відсутні помилки і попередження. - Для кожного компонента є окрема папка з файлом React-компонента та файлом стилів. - Для всіх компонентів описані `propTypes`. - Все, що компонент очікує у вигляді пропсів, передається йому під час виклику. - Імена компонентів зрозумілі та описові. - JS-код чистий та зрозумілий, використовується `Prettier`. - Стилізація виконана `CSS-модулями` або `Styled Components`, тому класи в результуючому DOM відрізнятимуться від прикладів. - Достатньо базової стилізації застосунку, насамперед він повинен працювати, а вже потім бути гарним. Приділяй 20% часу на CSS і 80% на JS. ## 1 - Профіль соціальної мережі Необхідно створити компонент `<Profile>`, за допомогою якого ми могли б відображати інформацію про користувача соціальної мережі. Дані про користувача лежать у файлі [user.json](https://github.com/goitacademy/react-homework/blob/master/homework-01/social-profile/user.json). ![image](https://github.com/savchyndd/goit-react-hw-01-components/assets/96209694/f463f269-d880-42ec-bb2c-ba7cd0d48266) #### Опис компонента `<Profile>` Компонент повинен приймати кілька пропсів з інформацією про користувача: - `username` — ім'я користувача - `tag` — тег в соціальній мережі без `@` - `location` — місто і країна - `avatar` — посилання на зображення - `stats` — об'єкт з інформацією про активності Компонент повинен створювати DOM елемент наступної структури. ``` <div class="profile"> <div class="description"> <img src="https://cdn-icons-png.flaticon.com/512/1077/1077012.png" alt="User avatar" class="avatar" /> <p class="name">Petra Marica</p> <p class="tag">@pmarica</p> <p class="location">Salvador, Brasil</p> </div> <ul class="stats"> <li> <span class="label">Followers</span> <span class="quantity">1000</span> </li> <li> <span class="label">Views</span> <span class="quantity">2000</span> </li> <li> <span class="label">Likes</span> <span class="quantity">3000</span> </li> </ul> </div> ``` #### Приклад використання ``` import user from 'path/to/user.json; <Profile username={user.username} tag={user.tag} location={user.location} avatar={user.avatar} stats={user.stats} /> ``` ## 2- Секція статистики Створити компонент `<Statistics>`, який би відображав статистику з переданих пропсів. Наприклад, завантаження у хмару за типом файлів, відвідування веб-сторінки користувачами різних країн, фінансові витрати тощо. Дані про статистику лежать у файлі [data.json](https://minhaskamal.github.io/DownGit/#/home?url=https://github.com/goitacademy/react-homework/blob/master/homework-01/statistics/data.json). ![image](https://github.com/savchyndd/goit-react-hw-01-components/assets/96209694/034c9380-e79e-4b9a-8bec-0b5758d95c1a) #### Опис компонента `<Statistics>` Компонент повинен приймати два пропи `title` і `stats`, в яких вказується заголовок та об'єкт статистики. - `title` – не обов'язковий, і якщо він не переданий, не повинна рендеритись розмітка заголовка `<h2>`. - `stats` – масив об'єктів, що містять інформацію про елемент статистики. Може мати довільну кількість елементів. - Колір фону елемента статистики в оформленні можна пропустити або створити функцію для генерації випадкового кольору. Компонент повинен створювати DOM елемент наступної структури. ``` <section class="statistics"> <h2 class="title">Upload stats</h2> <ul class="stat-list"> <li class="item"> <span class="label">.docx</span> <span class="percentage">4%</span> </li> <li class="item"> <span class="label">.mp3</span> <span class="percentage">14%</span> </li> <li class="item"> <span class="label">.pdf</span> <span class="percentage">41%</span> </li> <li class="item"> <span class="label">.mp4</span> <span class="percentage">12%</span> </li> </ul> </section> ``` #### Приклад використання ``` import data from '/path/to/data.json'; <Statistics title="Upload stats" stats={data} /> <Statistics stats={data} /> ``` ## 3 - Список друзів Необхідно створити компонент `<FriendList>`, за допомогою якого ми могли б відображати інформацію про друзів користувача. Інформація про друзів зберігається у файлі [friends.json](https://minhaskamal.github.io/DownGit/#/home?url=https://github.com/goitacademy/react-homework/blob/master/homework-01/friend-list/friends.json). ![image](https://github.com/savchyndd/goit-react-hw-01-components/assets/96209694/378bc1cf-7586-438a-9448-5e269ccbc1c0) #### Опис компонента `<FriendList>` Компонент повинен приймати один проп `friends` – масив об'єктів друзів. Компонент повинен створювати DOM наступної структури. ``` <ul class="friend-list"> <!-- Довільна кіл-сть FriendListItem --> </ul> ``` #### Опис компонента `<FriendListItem>` Компонент повинен приймати кілька пропів: - `avatar` - посилання на аватар - `name` - ім'я друга - `isOnline` - буль, що сигналізує про стан друга: в мережі або ні. Залежно від пропа `isOnline`, повинен змінюватися колір фону `span.status`. Це можна зробити за допомогою різних CSS-класів або Styled Components. Компонент повинен створювати DOM наступної структури. ``` <li class="item"> <span class="status"></span> <img class="avatar" src="" alt="User avatar" width="48" /> <p class="name"></p> </li> ``` #### Приклад використання ``` import friends from 'path/to/friends.json'; <FriendList friends={friends} />; ``` ## 4 - Історія транзакцій Необхідно створити компонент історії транзакцій в особистому кабінеті інтернет-банку. ![image](https://github.com/savchyndd/goit-react-hw-01-components/assets/96209694/4bde93c6-1000-4cdc-acf2-3d79d42912bf) Дані для списку доступні у форматі JSON у файлі [transactions.json](https://minhaskamal.github.io/DownGit/#/home?url=https://github.com/goitacademy/react-homework/blob/master/homework-01/transaction-history/transactions.json). Це масив об'єктів, де кожен об'єкт описує одну транзакцію з наступними властивостями: - `id` — унікальний ідентифікатор транзакції - `type` — тип транзакції - `amount` - сума транзакції - `currency` - тип валюти #### Опис компонента `<TransactionHistory>` Необхідно створити компонент `<TransactionHistory>`, який приймає один проп `items` – масив об'єктів транзакцій з `transactions.json`. Компонент створює розмітку таблиці. Кожна транзакція – це рядок таблиці. У прикладі наведена розмітка двох транзакцій. ``` <table class="transaction-history"> <thead> <tr> <th>Type</th> <th>Amount</th> <th>Currency</th> </tr> </thead> <tbody> <tr> <td>Invoice</td> <td>125</td> <td>USD</td> </tr> <tr> <td>Withdrawal</td> <td>85</td> <td>USD</td> </tr> </tbody> </table> ``` #### Приклад використання ``` import transactions from 'path/to/transactions.json'; <TransactionHistory items={transactions} />; ```
Components and collections. Styling
css,html,javascript,react,create-react-app,homework
2023-04-21T17:05:52Z
2023-05-12T07:44:17Z
null
4
0
105
0
1
2
null
null
JavaScript
mohammadxonel/Space-Invaders-Game
main
# Space-Invaders-Game ### Project Live : https://mohammadxxali.github.io/Space-Invaders-Game/ -------- ### Project Screenshot ![](https://github.com/mohammadxxali/Space-Invaders-Game/blob/main/Screenshot.png)
simple 2D Space-Invaders Game --Using
css,html,javascript
2023-04-13T17:51:58Z
2023-04-15T22:55:48Z
null
1
0
22
0
0
2
null
null
JavaScript
clxrityy/talkn
main
# talkn
Real-time chat application authenticated with Google.
chat-application,next-auth,nextjs,pusher,real-time,vercel,javascript,tailwindcss,typescript
2023-04-19T19:55:35Z
2023-04-26T19:49:57Z
null
1
3
11
0
0
2
null
null
TypeScript
GiridharRNair/Documentation-Wizard
main
# Documentation-Wizard <img alt="DocWizardScreenshot" src="public/DocWizScreenShot.png"> Active Link: https://syntaxwarrior30.github.io/Documentation-Wizard/ <ins>Introduction</ins> </br> This is a documentation generator that utilizes Vite + React, Tailwind CSS and ChatGPT 3.5 Turbo API. </br> This documentation generator is designed to provide an efficient and user-friendly experience for </br> developers who need to generate documentation for their programming projects. <ins>Features</ins> </br> Generates high-quality documentation for programming projects. </br> Ability to detect the current programming language being inputed. </br> Ability to download or copy the generated documentation. </br> Utilizes Vite and React for a modern, fast, and responsive user interface. </br> Uses ChatGPT 3.5 Turbo for intelligent and natural language generation. </br> <ins>Run Locally</ins> </br> Clone the project ```bash git clone https://github.com/SyntaxWarrior30/Documentation-Wizard ``` Go to the project directory ```bash cd Documentation-Wizard ``` Install dependencies ```bash npm install ``` Rename `.env.exmaple` to `.env` and input your OpenAI API Key in the format shown below. </br> ``` VITE_API_KEY={Your OpenAI API Key} ``` Run the development server ```bash npm run dev ```
Documentation generator for programming languages using ChatGPT 3.5 Turbo, to improve code readability. ATTENTION: The site no longer works since my ChatGPT API key has expired!
chatgpt,javascript,react,tailwind,vite
2023-04-13T00:57:06Z
2023-05-13T23:48:51Z
null
1
0
47
0
0
2
null
MIT
JavaScript
Nishitbaria/HomeWork-Note-App-
main
# HomeWork-Note-App- The Homework Note App is a web-based application that allows students to create Notes of their homework
The Homework Note App is a web-based application that allows students to create Notes of their homework
firebase-database,html,css,javascript
2023-04-10T17:43:56Z
2023-04-11T17:33:25Z
null
2
2
6
0
1
2
null
GPL-3.0
JavaScript
kgoedecke/intercom-exporter-node
main
# intercom-exporter-node This script allows you to export all conversations from Intercom using Node. Conversations get saved to a JSONL ([JSON Lines](https://jsonlines.org/)) file in order to fine tune a ChatGPT model. All conversations are stripped down to the initial questions and the very first reply. The JSON Lines file has the following structure: ```json { "prompt": "<prompt text>", "completion": "<ideal generated text>" } ``` ## Setup Get your Intercom API access token as described here: https://developers.intercom.com/building-apps/docs/authentication-types#access-tokens Create a `.env` file based on the values in `.env.example`. Then run `yarn start`. A file called `output.jsonl` will be created in the output directory that you've specified in your `.env` file. ## Copyright (c) 2023 Kevin Goedecke
Export conversations from Intercom using node to JSONL
intercom,javascript,nodejs
2023-04-20T12:11:47Z
2023-04-20T12:35:30Z
null
1
0
4
0
0
2
null
null
JavaScript
lack21/Fylo-Landing-Page-Dark-Theme
main
# Fylo-Landing-Page-Dark-Theme Tools Used : • HTML • SASS • Javascript ![desktop-preview](https://user-images.githubusercontent.com/100687592/233352253-1685eeaf-9260-4847-ab7c-a2c054e55dfe.jpg) Link: https://lack21.github.io/Fylo-Landing-Page-Dark-Theme/
Design Project
html,javascript,sass
2023-04-20T11:18:05Z
2023-04-26T12:46:07Z
null
1
0
4
0
0
2
null
null
SCSS
adityakhr/adityakhr
main
<!-- **adityakhr/adityakhr** is a ✨ _special_ ✨ repository because its `README.md` (this file) appears on your GitHub profile. Here are some ideas to - 🌱 I’ - 👯 I’m looking - 🤔 I’m looking - 💬 Ask me abo - 📫 How to reach - 😄 Pronou - ⚡ Fun fact:--> <img src="https://user-images.githubusercontent.com/73097560/115834477-dbab4500-a447-11eb-908a-139a6edaec5c.gif"> <p align="center"> <a> <img src="https://readme-typing-svg.demolab.com/?lines=Hello there! This is Aditya Khare ; A Java%20Backend%20Developer &font=Fira%20Code&center=true&width=440&height=45&color=dark&vCenter=true&size=22&pause=1000"></a> </p> <img src="https://user-images.githubusercontent.com/73097560/115834477-dbab4500-a447-11eb-908a-139a6edaec5c.gif"> <img align="right" src="gif/giphy.gif" style="width:320px; height:200px;"> <!-- -🔭 I’m currently working on Spring Boot | Angular<br><br>- 🌱 I’m currently learning Java BackEnd Development<br><br> -->💬 Ask me about Java, JDBC, Hibernate, Spring, Spring Boot, Spring Security, MySQL, C++, JavaScript, HTML, CSS<br><br>📫 Reach me by <a href="mailto:Aditya.khr1904@gmail.com" >Aditya.khr1904@gmail.com</a><br><br>📘 Find my portfolio <a href="https://adityakhr.github.io/" target="_blank">here</a><br><br>📑 Find my resume <a href="https://drive.google.com/file/d/1eYN53SgKZ7bet7Z9TvNZBInMICiZH8p0/view?usp=share_link" target="_blank">here</a><br><br><!--🚗 Fun fact: In love with Driving<br>--> <h2 align="center">🌐 Socials</h2> <div align="center"> <a href="https://linkedin.com/in/aditya-khare-1a254b1b8" target="_blank"><img style="margin: 10px" src="https://github.com/tandpfun/skill-icons/blob/main/icons/LinkedIn.svg" alt="LinkedIn" height="45" /></a> &nbsp;&nbsp; <a href="https://www.hackerrank.com/aditya_khr1904?hr_r=1" target="_blank"><img style="margin: 10px" src="https://upload.wikimedia.org/wikipedia/commons/thumb/4/40/HackerRank_Icon-1000px.png/800px-HackerRank_Icon-1000px.png" alt="HackerRank" height="45" /></a> &nbsp;&nbsp; </div> <h2 align="center">💻 Tech Stack</h2> <div align="center"> <img style="margin: 10px" src="https://github.com/tandpfun/skill-icons/blob/main/icons/Java-Dark.svg" alt="Java" height="45" /> &nbsp;&nbsp; <img style="margin: 10px" src="https://github.com/tandpfun/skill-icons/blob/main/icons/CPP.svg" alt="C++" height="45"/> &nbsp;&nbsp; <img style="margin: 10px" src="https://github.com/tandpfun/skill-icons/blob/main/icons/Spring-Dark.svg" alt="Spring" height="45"/> &nbsp;&nbsp; <img style="margin: 10px" src="https://github.com/tandpfun/skill-icons/blob/main/icons/Hibernate-Dark.svg" alt="Hibernate" height="45"/> &nbsp;&nbsp; <img style="margin: 10px" src="https://pic.onlinewebfonts.com/thumbnails/icons_335846.svg" alt="JDBC" height="45"/> &nbsp;&nbsp; <img style="margin: 10px" src="https://github.com/tandpfun/skill-icons/blob/main/icons/MySQL-Dark.svg" alt="MySQL" height="45"/> &nbsp;&nbsp; <img style="margin: 10px" src="https://github.com/tandpfun/skill-icons/blob/main/icons/Python-Dark.svg" alt="Python" height="45"/> &nbsp;&nbsp; <img style="margin: 10px" src="https://github.com/tandpfun/skill-icons/blob/main/icons/JavaScript.svg" alt="JavaScript" height="45"/> &nbsp;&nbsp; <img style="margin: 10px" src="https://github.com/tandpfun/skill-icons/blob/main/icons/HTML.svg" alt="HTML" height="45"/> &nbsp;&nbsp; <img style="margin: 10px" src="https://github.com/tandpfun/skill-icons/blob/main/icons/CSS.svg" alt="CSS" height="45"/> &nbsp;&nbsp; <img style="margin: 10px" src="https://adityakhr.github.io/image/DSA.svg" alt="DSA" height="45" /> &nbsp;&nbsp; </div> <h2 align="center">⚒️ Tools</h2> <div align="center"> <img style="margin: 10px" src="https://spring.io/img/projects/spring-tool.svg" alt="STS" height="45"/> &nbsp;&nbsp; <img style="margin: 10px" src="https://adityakhr.github.io/image/IntelliJ.svg" alt="IntelliJ" height="45"/> &nbsp;&nbsp; <img style="margin: 10px" src="https://github.com/tandpfun/skill-icons/blob/main/icons/Postman.svg" alt="PostMan" height="45"/> &nbsp;&nbsp; <img style="margin: 10px" src="https://github.com/tandpfun/skill-icons/blob/main/icons/Maven-Dark.svg" alt="Apache Maven" height="45"/> &nbsp;&nbsp; <img style="margin: 10px" src="https://cdn.svgporn.com/logos/swagger.svg" alt="Swagger" height="45"/> &nbsp;&nbsp; <img style="margin: 10px" src="https://github.com/tandpfun/skill-icons/blob/main/icons/VSCode-Dark.svg" alt="VSCode" height="45"/> &nbsp;&nbsp; <img style="margin: 10px" src="https://github.com/tandpfun/skill-icons/blob/main/icons/Netlify-Dark.svg" height="45"/> &nbsp;&nbsp; <img style="margin: 10px" src="https://adityakhr.github.io/image/github1.svg" height="45"/> &nbsp;&nbsp; <img style="margin: 10px" src="https://github.com/RimRaider639/TechStackIcons/raw/master/icons/canva/canva-original.svg" width="50px" height="45"/> &nbsp;&nbsp; </div> <h2 align="center">📊 GitHub Stats</h2> <div align="center"> <img style="width:330px;" src="https://github-readme-streak-stats.herokuapp.com/?user=adityakhr&theme=dark&hide_border=false" /> <img style="width:190px;" src="https://github-readme-stats.vercel.app/api/top-langs/?username=adityakhr&theme=dark&hide_border=false&include_all_commits=false&count_private=true&layout=compact" /> <img style="width:300px;" src="https://github-readme-stats.vercel.app/api?username=adityakhr&theme=dark&hide_border=false&include_all_commits=false&count_private=true" /> </div> <br> <p align="center"> <a href="https://github.com/ryo-ma/github-profile-trophy"><img src="https://github-profile-trophy.vercel.app/?username=adityakhr&theme=darkhub" alt="adityakhr" /></a> </p> <h2 align="center">⚡Contribution Graph</h2> <a><img alt="Aditya's Activity Graph" src="https://github-readme-activity-graph.vercel.app/graph?username=adityakhr&theme=react-dark" /></a> <h2 align="center"> ✍️ Quote</h2> <div align="center"> <a><img style="text-align: center;"alt="Quote" src="https://quotes-github-readme.vercel.app/api?type=horizontal&theme=merko" /></a> </div> <h2 align="center">👨‍🦱 Visitors Count</h2> <div align="center"> <p align="center"><img align="center" src="https://profile-counter.glitch.me/{adityakhr}/count.svg" /></p> </div> <h2 align="center">Thanks for visiting...</h2>
This is my GitHub Profile.
css,html5,javascript
2023-04-12T12:58:55Z
2023-10-31T08:09:00Z
null
1
0
192
0
0
2
null
null
null
melsayedshoaib/InfoCard-
master
# InfoCard- Simple Card Info using React JS Created with Vite + React
Simple Card Info using React JS
jsx,reactjs,component,cssmodules-react,css3,front-end-development,frontend,html5,javascript,js
2023-04-15T21:31:01Z
2023-04-15T21:43:56Z
null
1
0
2
0
0
2
null
null
JavaScript
lack21/Fylo-Landing-Page
main
# Fylo-Landing-Page Tools Used : • HTML • SCSS • Javascript ![desktop-preview](https://user-images.githubusercontent.com/100687592/232847123-fe4822c2-4a06-4dca-912d-a425bbe929f7.jpg) Link : https://lack21.github.io/Fylo-Landing-Page/
Design Project
css,html,javascript,scss
2023-04-18T16:40:44Z
2023-04-18T16:45:25Z
null
1
0
2
0
0
2
null
null
SCSS
Nalini1998/JavaScript
main
# **FOR YOUR INFORMATION** Here is the codespace for my JavaScript Project; Theories; Issues; Discussions, etc... ## **JavaScript on the Web** **JavaScript**, also called **JS**, is a flexible and powerful language that is implemented consistently by various _web browsers_, making it the language for _web development_. **JavaScript**, **HTML**, and **CSS** are the **core components** of _web technology_; While **HTML** is responsible for _structure_ and **CSS** is responsible for _style_, **JavaScript** provides _interactivity_ to web pages in the browser. ## **Popularity of JavaScript** *In short, ***JavaScript*** became a _hit_ because it turned _web browsers_ into _application platforms_. Here’s how:* _+_ **JavaScript** can be used in both the _front-end_ and _back-end_ of _web development_; _+_ **JavaScript** is standardized so it’s frequently updated with new versions; _+_ **JavaScript** integrates easily with **HTML** and **CSS**; _+_ **JavaScript** allows _websites_ to have ***interactivity*** like scroll transitions and object movement. Modern browsers still compete to process **JavaScript** the fastest for the best `user` experiences. _Chrome_, the most used _Internet browser_ in 2017, has been so successful because of its ability to process **JavaScript** quickly; _+_ **JavaScript** offers a wide range of _frameworks_ and _libraries_ that help Developers create _complex applications_ with low overhead. Programmers can `import` `libraries` and `frameworks` in their `code` to augment their `application’s functionality`. ## **JavaScript for Servers** _-_ In the early 2000s, big platforms like **Facebook** and **Google** began using ***JavaScript*** in their _back-end server logic_ to process and respond to _front-end requests_. **JavaScript** helped businesses scale since Engineers who knew ***JavaScript**** could apply those skills in a _back-end context_; _+_ **JavaScript** used for `servers`, also known as `server-side JavaScript`, gained popularity because it allowed for scalability. In the `server`, **JavaScript** can be integrated with _other languages_ to **communicate** with `databases`; _+_ `Node.JS`, or `Node`, is one of the most popular versions of `server-side JavaScript`. `Node` has been used to write large platforms for **NASA**, **eBay** and many others. Since **JavaScript** can execute `programs` out of sequential order, `Node` can be used to create scalable _web applications_, _messaging platforms_, and _multiplayer games_. This is why **Google Cloud** and **Amazon Web Service** depend on `Node` for some of their services. ## **What Else Can JavaScript Do?** _-_ Beyond the _web_, **JavaScript** has a large presence amongst _cross-platform applications_. We use some popular standalone _desktop apps_ like **Slack**, **GitHub**, **Skype**, and **Tidal**. These _applications_ are developed with the **JavaScript** _framework_ called `Electron.js`. `Electron` is excellent for making _desktop applications_ that need to work across different **devices** regardless of **operating system**; _+_ In addition, **JavaScript** has the potential of expanding into other innovative technologies such as virtual reality and gaming. **JavaScript** can be used for _animating_, _rendering_ and _scaling_. **JavaScript** even has contributed to the _internet_ of things, the technology that makes simple `objects`, like your fridge, smarter. Everyday **devices** can become _interactive_ and collect data using **JavaScript** _libraries_. ## **Requirement** _-_ This _module_ requires no _modules_ outside of `Node.JS` core. _-_ I will update the _module_ requires below as soon as whenever on our demand: - [Views](...) - [Panels](...) ## **Installation** _-_ ***Install*** as you would normally _install_ a contributed _module_ of itself. ## **Configuration** _-_ The _module_ has no menu or modifiable settings. There is no configuration. When enabled, the _module_ will **prevent** the _links_ from appearing. To **get** the _links_ back, **disable** the _module_ and **clear** _caches_. ## **Information for Developers** _-_ The **Search API** provides a lot of ways for Developers to **extend** or **customize** the _framework_. ## **Troubleshooting** *Whether the menu does not display, check the following:* _-_ Are the _"Access administration menu"_ and _"Use the administration pages and help"_ permissions enabled for the appropriate roles? - Does `html.tpl.php` of your **theme output** the `$page_bottom` variable? ## **FAQ** **Q: I want to prevent robots from indexing my custom error pages by setting the robots meta tag in the HTML head to "noindex".** **A:** There is no need. **Customerror** returns the correct `HTTP status` codes _(403 and 404)_. This will prevent robots from indexing the `error` pages. **Q: I want to customize the custom error template output.** **A:** In your theme template folder for your site, copy the template provided by the **Customerror** module (i.e. `templates/customerror.html.twig`) and then make your modifications there. **Q: I want to have a different template for my 404 and 403 pages.** **A:** Copy `customerror.html.twig` to `customerror--404.html.twig` and `customerror--403.html.twig`. You do not need a `customerror.html.twig` for this to work. ## **Contribution** _-_ **Pull requests** are welcome. For major changes, please open an **issue** first to **discuss** what you would like to change. _-_ Please make sure to **update tests** as appropriate. ## **Related License** _-_ [MIT](https://choosealicense.com/licenses/mit/) ## **MIT License:** Reference documents of Mr. Othneil Drew [https://raw.githubusercontent.com/othneildrew/Best-README-Template/master/LICENSE.txt]. *- 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.* #### [**Copyright (c) _20 April 2023 by Nalini Vo_**]
FOR YOUR INFORMATION Here is the codespace for my JavaScript Project; Theories; Issues; Discussions, etc... JavaScript on the Web JavaScript, also called JS, is a flexible and powerful language that is implemented consistently by web browsers. JavaScript, HTML, and CSS are the core components of web development
javascript,js
2023-04-19T19:42:36Z
2023-05-20T11:04:22Z
null
2
105
25
1
0
2
null
GPL-3.0
null
kylekce/CS50w
main
# CS50w #### *CS50’s Web Programming with Python and JavaScript* This course picks up where CS50x leaves off, diving more deeply into the design and implementation of web apps with Python, JavaScript, and SQL using frameworks like Django, React, and Bootstrap. This repository contains all of Kyle Español's projects and files made for the course. - Week 0 HTML, CSS - Week 1 Git - Week 2 Python - Week 3 Django - Week 4 SQL, Models, and Migrations - Week 5 JavaScript - Week 6 User Interfaces - Week 7 Testing, CI/CD - Week 8 Scalability and Security _*Please note that this repository serves as a storage space for my projects and files completed for Harvard University's CS50w course. It is not intended to be used as a source of answers or to encourage academic dishonesty. If you are currently enrolled in the course, please refer to the course materials and complete the assignments on your own*_
This course picks up where CS50x leaves off, diving more deeply into the design and implementation of web apps with Python, JavaScript, and SQL using frameworks like Django, React, and Bootstrap. This repository contains all of Kyle Español's projects and files made for the course.
javascript,computer-science,cs50,cs50course,cs50courseproblemsets,cs50problemsets,cs50problemsetssolved,cs50w,css,html
2023-04-11T06:00:07Z
2023-08-16T04:29:32Z
null
1
0
684
0
0
2
null
null
Python
RavenPayAfrica/atlas-webpay-node-sdk
master
# Atlas Pay by Raven [![NPM version][npm-image]][npm-url] [![Build][github-build]][github-build-url] [![npm-typescript]][npm-typescript] [![github-license]][github-license] Atlas Pay by Raven bank allows you recieve payments and build powerful checkout experience on your website and apps, to use this you will need to create an account on raven atlas, visit, ["Raven bank"](https://getravenbank.com/raven-atlas) for more. [**Live Demo**](https://getravenbank.com/) ## ✨ Features ### New - Compatibility in all JavaScript environments, including RequireJS and script tags. ### Existing - Card Payments. (Visa, MasterCard) - USSD Payment. - Bank Transfers. - NQR Payments. - Pay with Raven. ## Installation: ````bash npm install atlas-pay-sdk or ```bash yarn add atlas-pay-sdk ```` ## Usage : Atlas-Pay provides you with few Javascript API's to interact with below is an example implementation of the atlas-pay library: ```js import './App.css' import AtlasPay from 'atlas-pay-sdk'; function App() { AtlasPay.onSuccess = function(data) { /** * handle successful payment * (optional) : you can decide to retrieve the onSuccess message we send via data, the message contains the payload of the successful payment. **/ console.log('Payment successful:', data); } AtlasPay.onClose = function(data) { /** * handle close event, this happens when user closes the payment modal * (optional) : you can decide to retrieve the onClose message we send via data * (optional) : if you want to force close the payment window on onClose you can call the shutdown API within the onClose * (note) : this also triggers when the close modal button is clicked after successful paymen, but the message returned is 'payment_successful' , you can hook into this and do your magic. **/ console.log('Payment modal Closed:', data); // optional shutdown AtlasPay.shutdown() } AtlasPay.shutdown() /* This closes the payment window and removes it from your DOM */ AtlasPay.onResponse = function(data) { /** * handle generate response, this triggers when you try generating a new ref via AtlasPay.generate(), you catch ther response here * (required) : you are to retrieve the response via the data returned **/ console.log('We got a response:', data); // or do your stuff here } AtlasPay.onLoad = function(data) { /** * this triggers when the payment window is loaded onto your dom, it returns for you a payload containing the payment object. * (optional) : you can decide to retrieve the payment object we send via data **/ console.log('Payment window loaded:', data); // or do your stuff here } // set up your new payment parameters, along side your secret key let config = { "customer_email": "john@example.com", "description" : "test payment", "merchant_ref": "your_merchant_reference", "amount": 100, "redirect_url": "", "payment_methods" : "card,bank_transfer,ussd,raven", "public_key" : "your_atlas_secret_key" } return ( <> {/* This button will fire the generate function */} <button onClick={()=> AtlasPay.generate(config)}>Generate New Ref</button> {/* This button will fire the init function and load up the payment window */} <button onClick={()=> AtlasPay.init('202304211026JBCAADE')}>Initialize Payment Window</button> </> ) } export default App ``` In the example above, we created two functions that you can call to initiate the payment window and generate new payment references. ## Integration **Browsers** ``` html <script src="https://cdn.jsdelivr.net/npm/atlas-pay-sdk@[version]/dist/index.min.js"></script> <!-- Remember to change the [version] with the actual version you need, it is adviceable to always use the recent versions --> ``` After adding the script tag you now have access to `AtlasPaySdk` Object on your browser, refer to the usage for implementation but replace `AtlasPay` with `AtlasPaySdk` i.e `AtlasPaySdk.init()`. **RequireJS** If you are using RequireJS, you can include Atlas-Pay-SDK like this: ``` js require(['path/to/atlas-pay-sdk'], function (AtlasPay) { // Use AtlasPay object here // Refer to the Usage section for usage examples }); ``` **NodeJS** In a Node.js environment, you can install Atlas-Pay-SDK with npm: ``` bash npm install atlas-pay-sdk ``` Then you can use it in your Node.js code like this: ```js const AtlasPay = require('atlas-pay-sdk'); // Use AtlasPay object here // Refer to the Usage section for usage examples ``` ## API **`AtlasPay.generate(config: PaymentConfig): void`** This function is used to generate a new payment reference. The config parameter is an object that contains the following properties: - customer_email: the email of the customer making the payment - description: a brief description of the payment - merchant_ref: your unique merchant reference for this payment - amount: the amount to be paid redirect_url: the URL to redirect the customer to after payment or when customer decides to cancel the payment - payment_methods: a comma separated list of payment methods to enable (card, bank_transfer, ussd, raven) - secret_key: your secret key Example: ```js let config = { "customer_email": "john@example.com", "description": "test payment", "merchant_ref": "your_merchant_reference", "amount": 100, "redirect_url": "", "payment_methods": "card,bank_transfer,ussd,raven", "secret_key": "your_atlas_secret_key" }; AtlasPay.generate(config); ``` **`AtlasPay.init(ref: string): void`** This function is used to initialize the payment window with the specified `payment_reference`. The `payment_reference` parameter is the reference generated using the `AtlasPay.generate()` function. Example: ```js AtlasPay.init('202304211026JBCAADE'); ``` **`AtlasPay.shutdown(): void`** This method is used to close the payment window and remove it from the DOM. Example: ```js AtlasPay.shutdown(); ``` **`AtlasPay.onLoad(data: any): void`** This callback is triggered when the payment window is loaded onto the DOM. The `data` parameter is an object containing the payment object. Example: ```js AtlasPay.onLoad(function(data) { console.log('Payment window loaded:', data); }); ``` **`AtlasPay.onSuccess(data: any): void`** This callback is triggered when a payment is successful. The `data` parameter is an object containing the payload of the successful payment. Example: ```js AtlasPay.onSuccess(function(data) { console.log('Payment successful:', data); }); ``` **`AtlasPay.onClose(data: any): void`** This callback is triggered when the payment window is closed. The `data` parameter is an object containing the message returned when the payment window is closed. Example: ```js AtlasPay.onClose(function(data) { console.log('Payment modal Closed:', data); }); ``` **`AtlasPay.onResponse(data: any): void`** This callback is triggered when a new payment reference is generated using the `AtlasPay.generate()` function. The data parameter is an object containing the response returned from the server. Example: ```js AtlasPay.onResponse(function(data) { console.log('We got a response:', data); }); ``` ## License AtlasPay by Raven bank is licensed under the [**MIT**](http://opensource.org/licenses/MIT) [npm-url]: https://www.npmjs.com/package/raven-bank-ui [npm-image]: https://img.shields.io/npm/v/my-react-typescript-package [github-license]: https://img.shields.io/github/license/gapon2401/my-react-typescript-package [github-license-url]: https://github.com/gapon2401/my-react-typescript-package/blob/master/LICENSE [github-build]: https://github.com/gapon2401/my-react-typescript-package/actions/workflows/publish.yml/badge.svg [github-build-url]: https://github.com/gapon2401/my-react-typescript-package/actions/workflows/publish.yml [npm-typescript]: https://img.shields.io/npm/types/my-react-typescript-package
NodeJS SDK for Raven Atlas Web Payment
checkout,ecommerce,fintech,javascript,payment,payment-gateway,payments,typescript
2023-04-21T15:06:21Z
2023-10-10T09:42:41Z
2023-04-22T13:50:04Z
1
2
34
0
0
2
null
NOASSERTION
JavaScript
mai-ogiso/Notion_import-repeating-schedules
main
# Import Repeating Schedules to Notion Calendar This script allows you to easily add repeating schedules to your Notion calendar. As you may know, there has already been a [built-in function](https://www.notion.so/help/guides/automate-work-repeating-database-templates) to set up recurring tasks using templates. Though it is a great function, there are some limitations to this function now (2023/04/20). The most notable point is: > The built-in function only generates tasks on the day they are due, making it difficult to look ahead in the calendar. This script offers a solution by providing two functions that let you easily add repeating schedules to your Notion calendar. - **monthly-repeating-schedules**(*1) : This function allows you to add monthly repeating schedules to your Notion calendar. For example, if you need to bring a lunchbox on some days of the month, you can use this function to add those events to your calendar automatically without having to do it manually each time. - **repeating-schedules-with-duration**(*2) : This function allows you to add repeating schedules with a duration to your Notion calendar. For example, if you have a weekly swim session that lasts for 1 hour, you can use this function to add it to your calendar with just a few clicks. The image below shows a sample. `Need to bring lunchbox` entries were imported by (*1) `🏊Swimming` entries were imported by (*2) ![Notion-repeating-schedule-sample](https://user-images.githubusercontent.com/95740190/233186709-885bf5eb-2ee8-4854-a16a-97e679940146.png) ## Getting Started ### Prerequisites Before using this script, make sure you have the following prerequisites installed: - Node.js ### Installation 1. Clone or download the repository. 1. Install dependencies by running `npm install`. 1. Create a new Notion integration by following the instructions on the [official Notion API documentation](https://developers.notion.com/docs/getting-started#step-2-share-a-database-with-your-integration). 1. Copy your integration token and the URL of your Notion calendar page to `.envsample`, and rename the file to `.env`. 1. Modify the properties of the new page in the createNotionPage function to fit your needs. | Property Name | Property Type | Sample | | ------------- | ------------- | ------ | | Name | title | "Need to bring lunch box" | | Date | date | "2023-04-10" | | Tags | select | "Elementary School" | | Family member | multi-select | "Riley", "Jordan" | 1. Define the repeated days and other required item. 1. monthly-repeating-schedules | Variable Name | Sample | | ------------- | ------ | | month | 2023-04 | | days | [6, 10, 18, 21] | | title | "Need to bring lunchbox" | | tag | "elementary school" | | family_members | "Mom", "Riley", "Jordan" | 2. repeating-schedules-with-duration | Variable Name | Sample | |---------------|--------------------| | startDate | 2023-04-01 | | endDate | 2023-08-31 | | startTime | "16:00:00+0900" | | endTime | "17:00:00+0900" | | tagName | "personal" | | title | "Swimming" | | family_members | "Riley" | | setDayOfWeek | 0 | 1. Run `node monthly-repeating-schedules.js` or `node repeating-schedules-with-duration`to import repeating schedules into your Notion calendar. ### Optimization Consider the following optimizations to improve the script: - Use of Notion templates > Currently, the script creates new pages in Notion using a blank template. If I have time to improve this script, I would explore using pre-existing Notion templates, such as a task list or project management template, to create more structured and organized pages. - User-friendly version > This script requires Node.js to be installed on your computer. If you're not familiar with Node.js, you may find it difficult to use this script. To make it more accessible, you could consider creating a user-friendly version that does not require Node.js. ## Related project - [Notion_import-japanese-holidays](https://github.com/mai-ogiso/Notion_import-japanese-holidays)
This is a simple Node.js script that allows you to easily import repeating schedules into your Notion calendar.
developer-tools,javascript,node,notion,notion-api,schedule
2023-04-19T19:51:16Z
2023-06-02T20:31:51Z
null
1
1
7
0
0
2
null
null
JavaScript
Odsyesufu7/Online-Food-Order
master
It’s a web App designed to provide online food ordering and delivery services from restaurant to customers, individuals and potential users enable to place food order at comfort of their homes from their choice restaurants online based on the menu type availability,location,price range etc. This is achieved by communication with other users through mobile lines and emails. The first point of call is to require users/customers is to create a login credentials through account creation on the website to ensure a good and secure data privacy with excellent customer service experience. Key Features : Dynamic page for users and customers to search for menu. Email service to confirm table reservation. Dynamic feedback page to get customer feedback and display the same while allowing them to like or comment on others feedback. Dynamic page to display the order placed by the user (food order cart), bill summary and choice of location to deliver the placed order. Google Maps to display current location and give the user a choice to deliver the food to his/her current location. Designing the complete home page with login & sign up options, navigation menu to direct to other pages and header and footer to be rendered on each web page. Account creation, registration and validation using javascript and data on database. https://user-images.githubusercontent.com/102301571/235099682-1e54f7eb-cc42-41bf-8eba-16204f6a49f0.mp4 Authored BY OLUWASEYI DAUDA YESUFU <syesufu2000@yahoo.com>
About Web Application providing services to order food online via payment and get delivery in restaurants
css,food-delivery-application,food-ordering,javascript,php,bootstrap
2023-04-12T10:07:22Z
2023-04-28T12:21:50Z
null
1
0
384
0
0
2
null
null
PHP
Atanu8250/Kanban-Board
master
<!-- https://user-images.githubusercontent.com/94675329/233132228-987af021-4518-44d1-a2b8-b83cbc109464.PNG --> # <img width="25px" src="https://notion-emojis.s3-us-west-2.amazonaws.com/prod/svg-twitter/1f4cb.svg"/> Kanban-Board (Full Stack Project) It's a Full-Stack Individual Project developed within 2 Days ## Teach-Stack | UI-Part | Controller | Server-Part | |---------|------------------|--------------| |![HTML5](https://img.shields.io/badge/HTML5-E34F26?style=for-the-badge&logo=html5&logoColor=white) ![CSS3](https://img.shields.io/badge/CSS3-1572B6?style=for-the-badge&logo=css3&logoColor=white) ![Chakra-UI](https://img.shields.io/badge/Chakra--UI-319795?style=for-the-badge&logo=chakra-ui&logoColor=white) ![Javascript](https://img.shields.io/badge/JavaScript-323330?style=for-the-badge&logo=javascript&logoColor=F7DF1E) ![React](https://img.shields.io/badge/React-20232A?style=for-the-badge&logo=react&logoColor=61DAFB)|![Redux](https://img.shields.io/badge/Redux-593D88?style=for-the-badge&logo=redux&logoColor=white) |![Express.JS](https://img.shields.io/badge/Express.js-000000?style=for-the-badge&logo=express&logoColor=white) ![Node.JS](https://img.shields.io/badge/Node.js-339933?style=for-the-badge&logo=nodedotjs&logoColor=white)| ## Deployments |FRONTEND|BACKEND|DATABASE| |--------|-------|--------| |![Netlify](https://img.shields.io/badge/Netlify-00C7B7?style=for-the-badge&logo=netlify&logoColor=white)|![Render](https://img.shields.io/badge/Render-46E3B7?style=for-the-badge&logo=render&logoColor=white)|![MongoDB](https://img.shields.io/badge/MongoDB-4EA94B?style=for-the-badge&logo=mongodb&logoColor=white) --- # Pages ### :small_blue_diamond: Sign-in page ![1](https://user-images.githubusercontent.com/94675329/233588284-3fdaba00-c62e-47a1-a321-718c606aa338.PNG) *** ### :small_blue_diamond: Sign-up page ![2](https://user-images.githubusercontent.com/94675329/233588281-9abf236a-d243-4e73-85a8-aba3bb502931.PNG) *** ### :small_blue_diamond: Dashboard ![3](https://user-images.githubusercontent.com/94675329/233588276-91b9018e-604c-4503-b765-c7338aca9940.PNG) *** ### :small_blue_diamond: Dashboard with Boards ![4](https://user-images.githubusercontent.com/94675329/233588272-cf717dc7-f725-4be5-8695-1858c590a4a0.PNG) *** ### :small_blue_diamond: Add Task Form ![5](https://user-images.githubusercontent.com/94675329/233588270-a3492d4b-8752-4a73-becc-b44d629d59bc.PNG) *** ### :small_blue_diamond: Task details ![6](https://user-images.githubusercontent.com/94675329/233588266-aaca88de-da42-4a61-8d31-85ef6373b48f.PNG) *** ### :small_blue_diamond: Drag & Drop - change status ![7](https://user-images.githubusercontent.com/94675329/233588257-df53cf6a-aeb1-408c-8e7f-2a369e9b0e7f.png) *** ### :small_blue_diamond: Dashboard - Mobile view ![8](https://user-images.githubusercontent.com/94675329/233588289-d92bd8c6-1bf1-4e0b-92da-9dd2d86da02e.PNG)
Kanban-Board is Task management web-application, where you can create different boards and for each specific board and create different tasks with subtasks. Drag & drop to change the status of a task
chakra-ui,expressjs,nodejs,reactjs,javascript,mongodb,optimize,redux,relationships,task-manager
2023-04-11T06:13:36Z
2023-08-31T07:35:26Z
null
1
0
28
0
0
2
null
null
JavaScript
Mahelchandupa/Game-Distribution-Platform
main
# Game Distribution Platform I have chosen to use Html, CSS, PHP, JavaScript, Jquery, Bootstrap and MySQL to develop this project. ### Design <p align=""> <img src="https://github.com/Mahelchandupa/Game-Distribution-Platform/assets/110615431/f5aadda1-dfb2-427c-bf68-a3d1f1e4c642" width="350" alt="Screenshot 1"> <img src="https://github.com/Mahelchandupa/Game-Distribution-Platform/assets/110615431/0765bcfe-1301-4a75-bf6e-c73880ad55e8" width="350" alt="Screenshot 2"> </p> <p> <img src="https://github.com/Mahelchandupa/Game-Distribution-Platform/assets/110615431/d48b4980-60f2-478b-84dc-0391239bc0cd" width="350" alt="Screenshot 2"> <img src="https://github.com/Mahelchandupa/Game-Distribution-Platform/assets/110615431/78256687-f072-49a2-8984-e8e09e95caf8" width="350" alt="Screenshot 2"> </p>
I have chosen to use Html, CSS, PHP, JavaScript, Jquery, Bootstrap and MySQL to develop this project.
bootstrap,css,html,javascript,jquery,php,sql
2023-04-14T06:59:20Z
2023-09-15T00:46:58Z
null
1
0
15
0
0
2
null
null
PHP
lack21/News-Homepage
main
# News-Homepage Tools Used : • HTML • SASS • Javascript ![desktop-preview](https://user-images.githubusercontent.com/100687592/231806760-b278821d-da0d-4041-9f93-cb54976d3651.jpg) Link : https://lack21.github.io/News-Homepage/
Design Project
design,html,javascript,sass
2023-04-13T15:03:23Z
2023-04-13T15:27:35Z
null
1
0
3
0
0
2
null
null
SCSS
Ajayos/nodelogger
master
# nodelogger `@ajayos/nodelogger` is a Node.js module for logging messages with customizable severity levels and output formats. [![@ajayos/nodelogger](https://img.shields.io/npm/v/@ajayos/nodelogger.svg)](https://www.npmjs.com/package/@ajayos/nodelogger) ## Installation To install `@ajayos/nodelogger`, run: ```shell npm install @ajayos/nodelogger ``` ## Usage First, import the module into your Node.js application: ```js const Logger = require("@ajayos/nodelogger"); ``` Then, create an instance of the `Logger` class with the desired configuration options and start it: ```js const options = { timeZone: "Asia/Kolkata", hour: "numeric", minute: "numeric", hour12: true, filename: "logs/%DATE%.log", datePattern: "YYYY-MM/DD", zippedArchive: false, maxSize: "1g", level: "info", }; const logger = new Logger(options); ``` Once the logger is started, you can log messages with the log method: ```js logger.error("This is an error message"); logger.warn("This is a warning message"); logger.info("This is an info message"); logger.debug("This is a debug message"); logger.fatal("This is a fatal message"); ``` You can also log messages with the default severity level by omitting the second argument: ```js logger.log("This is a default message"); ``` To log a horizontal line, use: ```js logger.line(); ``` To clear screen: ```js logger.clear() ``` ## Example Additional example of how to use the package can be found in the [example](./example.js) file. ## Configuration Options The following configuration options are available for the logger: * `timeZone` (string): The timezone to use for the log file (default: 'Asia/Kolkata') * `hour` (string): The hour format to use for the log file (default: 'numeric') * `minute` (string): The minute format to use for the log file (default: 'numeric') * `hour12` (boolean): Whether to use 12-hour format or not. 1 for true, 0 for false (default: false) * `filename` (string): The file path with `%DATE%` as a placeholder for the date (default: 'logs/%DATE%.log') * `datePattern` (string): The date pattern for the filename (default: 'YYYY-MM/DD') * `zippedArchive` (boolean): Whether to zip the archived files or not (default: false) * `maxSize` (string): The maximum size of each log file before rotation (default: '1g') * `level` (string): The level of the log messages (default: 'info') ## Message Types The following message types are available for the log method: * `info` (or `i`): Informational message (green text) * `warn` (or `w`): Warning message (yellow text) * `error` (or `e`): Error message (red text) * `debug` (or `d`): Debug message (magenta text) * `fatal` (or `f`): Fatal message (white text on red background) * `line` (or `l`): Horizontal line (cyan text) ## Output Format The output format for each message type is as follows: * Informational message (green text): `[timestamp] [*]> message` * Warning message (yellow text): `[timestamp] [!]> message` * Error message (red text): `[timestamp] [x]> message` * Debug message (magenta text): `[timestamp] [*]> message` * Fatal message (white text on red background): `[timestamp] [!]> message` * Horizontal line (cyan text): `>-----------------------------<` ## License `@ajayos/nodelogger` is released under the [`Apache-2.0`](/LICENSE) License. ---
nodelogger is a Node.js module for logging messages with customizable severity levels and output formats.
ajay-o-s,ajay-os,ajayos,color,javascript,js,log,node,nodejs,npm
2023-04-11T15:07:01Z
2023-07-30T20:37:12Z
2023-07-30T20:37:12Z
1
4
23
0
0
2
null
Apache-2.0
JavaScript
tsheporamantso/Leaderboard
dev
<a name="readme-top"></a> <div align="center"> <h1>Gladwin Tshepo Ramantso<h1> <br/> <h3><b>LeaderBoard</b></h3> </div> <!-- TABLE OF CONTENTS --> # 📗 Table of Contents - [📖 About the Project](#about-project) - [🛠 Built With](#built-with) - [Tech Stack](#tech-stack) - [Key Features](#key-features) - [🚀 Live Demo](#live-demo) - [💻 Getting Started](#getting-started) - [Setup](#setup) - [Prerequisites](#prerequisites) - [Install](#install) - [Usage](#usage) - [Run tests](#run-tests) - [Deployment](#triangular_flag_on_post-deployment) - [👥 Authors](#authors) - [🔭 Future Features](#future-features) - [🤝 Contributing](#contributing) - [⭐️ Show your support](#support) - [🙏 Acknowledgements](#acknowledgements) - [📝 License](#license) <!-- PROJECT DESCRIPTION --> # 📖 LeaderBoard <a name="about-project"></a> This project is an online score board that allow user to add and display score(s). **LeaderBoard** In this project, I built a digital leader-board that enable the user to add and tracks current and previously added scores ## 🛠 Built With <a name="built-with"></a> - HTML - CSS - JavaScript(ES6) - Webpack ### Tech Stack <a name="tech-stack"></a> <details> <summary>Version Control</summary> <ul> <li><a href="https://github.com/">Git Hub</a></li> </ul> </details> <details> <summary>Visual Studio Code</summary> <ul> <li><a href="https://code.visualstudio.com">Visual Studio Code</a></li> </ul> </details> <details> <summary>Node js</summary> <ul> <li><a href="https://nodejs.org/en">Node js</a></li> </ul> </details> <!-- Features --> ### Key Features <a name="key-features"></a> - **JavaScript Webpack** - **Basic UI with plain HTML** <p align="right">(<a href="#readme-top">back to top</a>)</p> <!-- LIVE DEMO --> ## 🚀 Live Demo <a name="live-demo"></a> - [Live Demo]( https://tsheporamantso.github.io/Leaderboard/dist) <p align="right">(<a href="#readme-top">back to top</a>)</p> <!-- GETTING STARTED --> ## 💻 Getting Started <a name="getting-started"></a> To get a local copy up and running, follow these steps. ### Prerequisites In order to run this project you need: - Visual Studio Code. - Node JS. - Git bash. - GitHub Account. Example command: ```sh gem node js ``` ### Setup Clone this repository to your desired folder: Use git clone command or download ZIP folder Example commands: ```sh cd my-folder git clone git@github.com:tsheporamantso/Leaderboard.git ``` ### Install Install this project with: npm Example command: ```sh cd my-project npm init -y ``` ### Usage To run the project, execute the following command: npm start or live server Example command: ```sh GitHub Pages Server ``` ### Run tests To run tests, run the following command: npm test Example command: ```sh npx stylelint "**/*.{css,scss}" ``` ```sh npx eslint . ``` ```sh npm start ``` ```sh npm run dev ``` ### Deployment You can deploy this project using: GitHub Pages Example: ```sh https://tsheporamantso.github.io/Leaderboard/dist ``` <p align="right">(<a href="#readme-top">back to top</a>)</p> <!-- AUTHORS --> ## 👥 Authors <a name="authors"></a> 👤 **Gladwin Tshepo Ramantso** - GitHub: [@tsheporamantso](https://github.com/tsheporamantso) - Twitter: [@ramgt001](https://twitter.com/ramgt001) - LinkedIn: [Tshepo Gladwin Ramantso](https://www.linkedin.com/in/tshepo-ramantso-b6a35433/) <p align="right">(<a href="#readme-top">back to top</a>)</p> <!-- FUTURE FEATURES --> ## 🔭 Future Features <a name="future-features"></a> - [ ] **Add more styling** - [ ] **Send and receive data from API** - [ ] **Final touches** <p align="right">(<a href="#readme-top">back to top</a>)</p> <!-- CONTRIBUTING --> ## 🤝 Contributing <a name="contributing"></a> Contributions, issues, and feature requests are welcome! Feel free to check the [issues page](https://github.com/tsheporamantso/Leaderboard/issues). <p align="right">(<a href="#readme-top">back to top</a>)</p> <!-- SUPPORT --> ## ⭐️ Show your support <a name="support"></a> If you like this project please follow me on github & twitter and also connect on Linkedin. <p align="right">(<a href="#readme-top">back to top</a>)</p> <!-- ACKNOWLEDGEMENTS --> ## 🙏 Acknowledgments <a name="acknowledgements"></a> I would like to thank Microverse for this exercise. <p align="right">(<a href="#readme-top">back to top</a>)</p> <!-- LICENSE --> ## 📝 License <a name="license"></a> This project is [MIT](./LICENSE) licensed. <p align="right">(<a href="#readme-top">back to top</a>)</p>
In this activity I set up a JavaScript project for the leaderboard list app, using webpack and ES6 features.
css3,gitflow-workflow,html5,javascript,webpack,api-rest,api
2023-04-11T08:18:16Z
2023-04-12T14:30:35Z
null
1
3
26
1
0
2
null
MIT
JavaScript
Faezeh-khd/json-editor
main
# json-editor This project takes data from json file and allows to edit it.
A json editor using html, css, javascript, jquery and bootsrap.
bootstrap,css,html,javascript,jquery
2023-04-15T19:41:54Z
2023-05-17T09:18:40Z
null
1
0
12
0
0
2
null
null
JavaScript
1Sourav1/React_Weather
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)
null
api,javascript,reactjs
2023-04-21T06:54:30Z
2023-04-21T06:55:22Z
null
1
0
2
0
0
2
null
null
JavaScript
DianaBeki/To-Do-list
main
# 📗 Table of Contents - [📖 About the Project](#about-project) - [🛠 Built With](#built-with) - [Tech Stack](#tech-stack) - [Key Features](#key-features) - [💻 Getting Started](#getting-started) - [Setup](#setup) - [Prerequisites](#prerequisites) - [Install](#install) - [Usage](#usage) - [Run tests](#run-tests) - [👥 Authors](#authors) - [🔭 Future Features](#future-features) - [🤝 Contributing](#contributing) - [⭐️ Show your support](#support) - [🙏 Acknowledgements](#acknowledgements) - [📝 License](#license) <!-- PROJECT DESCRIPTION --> # 📖 To Do List <a name="about-project"></a> A simple To-Do List built to keep track of tasks that need to be done. Built with JavaScript, CSS, HTML, & Webpack ## 🛠 Built With <a name="built-with"></a> ### Tech Stack <a name="tech-stack"></a> <details> <summary>Client</summary> <ul> <li>html</li> <li>css</li> <li>javascript</li> <li>webpack</li> </ul> </details> <!-- Features --> ### Key Features <a name="key-features"></a> - **[Add what to do]** - **[Remove after completed]** - **[Great UI]** - **[Add live demo link]** <!-- Live Demo --> ## 🚀 Live Demo <a name="live-demo"></a> - [Live Demo Link](https://dianabeki.github.io/To-Do-list/dist/) <p align="right">(<a href="#readme-top">back to top</a>)</p> <!-- GETTING STARTED --> ## 💻 Getting Started <a name="getting-started"></a> To get a local copy up and running, follow these steps. ### Prerequisites In order to run this project you need the following tools: - Node.js in your computer - webpack - IDE(e.g.: Vscode,...) - Terminal ### Setup Clone this repository to your desired folder: Example commands: ```sh git clone git@github.com:DianaBeki/To-Do-list.git ``` ### Install - Install this project with: ```sh cd To-Do-List npm install or npm i ``` - Run an optimized build for prodction: ``` npm run build ``` ### Usage To run the project, execute the following command: ```sh npm run dev ``` ### Run tests To run tests, run the following command: ```sh npm run test ``` <p align="right">(<a href="#readme-top">back to top</a>)</p> ## 👥 Authors <a name="authors"></a> 👤 **Diana Beki** - GitHub: [@Github](https://github.com/DianaBeki) - Twitter: [@Twitter](https://twitter.com/home) - LinkedIn: [@LinkedIn](https://www.linkedin.com/notifications/) <p align="right">(<a href="#readme-top">back to top</a>)</p> <!-- FUTURE FEATURES --> ## 🔭 Future Features <a name="future-features"></a> - [ ] *add responsiveness* - [ ] *add more UX* <!-- CONTRIBUTING --> ## 🤝 Contributing <a name="contributing"></a> Contributions, issues, and feature requests are welcome! Feel free to check the [issues page](https://github.com/DianaBeki/To-Do-list/issues). <p align="right">(<a href="#readme-top">back to top</a>)</p> <!-- SUPPORT --> ## ⭐️ Show your support <a name="support"></a> > Follow me on my github if you like this project... <p align="right">(<a href="#readme-top">back to top</a>)</p> <!-- ACKNOWLEDGEMENTS --> ## 🙏 Acknowledgments <a name="acknowledgements"></a> I would like to thank Microverse as well as my coding partner(s) <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 simple To-Do List built to keep track of tasks that need to be done.
css3,html5,javascript,webpack
2023-04-10T16:29:31Z
2023-07-22T19:34:20Z
null
1
7
24
1
0
2
null
MIT
JavaScript
RohitSingh9191/Spring-boot-project-Book-Inventory-web-application-
master
null
Book Inventory: It is a listing, pricing, and selling tool for online booksellers. Technology used in this project - Frame Work: Spring Boot Language: java, html, Css, Js, bootstrap, thymeleaf. DataBase: MySql Tool: Spring Tool Suite(STS).
css,html5,java,javascript,spring-boot,sql,thymeleaf,java-8,springboot
2023-04-09T12:43:41Z
2023-04-09T12:46:56Z
null
1
0
1
0
0
2
null
null
HTML
arpitmiahra4/employee-management-system
main
# Employee Management System💻🎥 Employee Management System by all CRUD operation on Json-Server. We can track every Employee details by this Tool As easy as we can. ## Wanna Test The App.. Then Go On..🤷‍♂️🤷‍♂️ [Visit Now](https://employee-management-system-alpha.vercel.app/) 🚀 ## 🖥️ Tech Stack ![reactjs](https://img.shields.io/badge/React-20232A?style=for-the-badge&logo=react&logoColor=61DAFB)&nbsp; ![react-router](https://img.shields.io/badge/React_Router-CA4245?style=for-the-badge&logo=react-router&logoColor=white)&nbsp; ![chakra](https://img.shields.io/badge/Chakra%20UI-3bc7bd?style=for-the-badge&logo=chakraui&logoColor=white)&nbsp; ![javaScript](https://img.shields.io/badge/JavaScript-323330?style=for-the-badge&logo=javascript&logoColor=F7DF1E)&nbsp; ![json](https://img.shields.io/badge/json-5E5C5C?style=for-the-badge&logo=json&logoColor=white)&nbsp; ![Css3](https://img.shields.io/badge/CSS3-1572B6?style=for-the-badge&logo=css3&logoColor=white)&nbsp; **Deployed On:** ![vercel](https://img.shields.io/badge/Vercel-000000?style=for-the-badge&logo=vercel&logoColor=white)&nbsp; ## 🚀 Features - Able To Change Theme.... - Form To Submit Data.... - Able To Sort By A to Z & Z to A.... - Able To Filter.... - Able To Update.... - Able To Delete.... - Pagination.... ## Wanna Look of UI 🙈 : ## Dark Mode..🌙 ![Capture](https://i.ibb.co/V9qThy9/Screenshot-2023-04-14-114625.png) ## Light Mode..☀️ ![Capture](https://i.ibb.co/DCBpjcG/Screenshot-2023-04-14-114812.png) <table> <tr> <td><img src="https://i.ibb.co/9mPVmKs/Screenshot-2023-04-14-114901.png" alt="mockups" /></td> <td><img src="https://i.ibb.co/FmGB5Ky/Screenshot-2023-04-14-114923.png" alt="mockup" /></td> </tr> </table> <h2>📬 Contact</h2> If you want to contact Me, you can reach through below handles. ## Arpit Mishra [![linkedin](https://img.shields.io/badge/LinkedIn-0077B5?style=for-the-badge&logo=linkedin&logoColor=white)](https://www.linkedin.com/in/arpit-mishra-662199222/) [![Email](https://img.shields.io/badge/Gmail-D14836?style=for-the-badge&logo=gmail&logoColor=white)](mailto:arpitmiahra4@gmail.com) ## © 2023 arpit-mishra [![forthebadge](https://forthebadge.com/images/badges/built-with-love.svg)](https://forthebadge.com)
employee management system by all CRUD operation on Json-Server. We can track every employee details by this Tool
chakra-ui,crud-operation,javascript,pure-javascript,purecss,reactjs
2023-04-13T06:46:39Z
2023-04-21T04:02:29Z
null
1
0
25
0
0
2
null
null
JavaScript
eldorado-22/fitness
main
# FITNESS 🏋🏻‍♀️ # From || Eldar Jumashev # My Social Media Network 👇🏻 <br/> <h2> My instagram: https://www.instagram.com/eldar_jumashevv/ </h2> <h2> My Facebook: https://www.facebook.com/eldoradojumashevv/ </h2> <h2> My Twitter: https://twitter.com/jumashevv996 </h2> <h2> My LinkedIn: https://www.linkedin.com/in/eldar-jumashevv-51a792259/ </h2> <br/> <h1> See other projects..🗂️ <br/> acc:<a href="https://github.com/eldorado-22">@eldorado-22</a>
Fitness for GYM
design,framework,javascript,library,one,reactjs,scss,style,website
2023-04-14T13:52:19Z
2024-01-19T15:40:30Z
null
1
27
38
0
0
2
null
null
JavaScript
sam302rk/weblnp
main
[<img align="left" src="meta/icon.png" width="120" alt="WebLNP's icon">](https://weblnp.gamingcraft.de/) # [WebLNP](https://weblnp.gamingcraft.de/) > Leaflet-based line network map viewer WebLNP is a client-sided and Leaflet-based web viewer for line network maps using OpenStreetMaps with the ability to add historic maps and/or different transit maps per city. [![](meta/header.png)](https://weblnp.gamingcraft.de/) > 📍 Albtalbahnhof, Karlsruhe – 2018 ## Development <details><summary><h3>CLI Command Overview</h3></summary> Action | Linux/MacOS | Windows | Description ------ | ----------- | ------- | ----------- View Command Overview | `./weblnp help` | `weblnp help` | Display a list with commands available on your platform. Start WebLNP | `./weblnp serve` | `weblnp serve` | Starts a minimal static web server for Testing.<br>Runs on `localhost:8000`.<br>Requires Python 3. Sort KML files | `./weblnp sort` | `weblnp sort` | All KML files in the root `kml` directory get their own directory named after the file<br>and the file itself gets moved inside renamed to `main.kml`.<br>Requires Python 3. View License | `./weblnp license` | `weblnp license` | Prints the license of WebLNP.<br>Requires GNU `cat` when using the Bash version. Reload Enviroment | `./weblnp reload` | (not included) | Rebinds the WebLNP CLI to the enviroment.<br>[Learn more](#weblnp-as-enviroment-function-linux) Exit Enviroment | `./weblnp exit` | (not included) | Removes the WebLNP CLI from the enviroment.<br>[Learn more](#weblnp-as-enviroment-function-linux) </details> <details><summary><h3>Contributing</h3></summary> ```sh # 1. Fork it # https://github.com/sam302rk/weblnp/fork # 2. Create your feature branch $ git checkout -b feature/fooBar # 3. Commit your changes $ git commit -a # 4. Push to the branch $ git push origin feature/fooBar # 5. Create a new pull request # https://github.com/samuel-302/weblnp/compare ``` </details> <details><summary><h3>WebLNP as enviroment function (Linux)</h3></summary> For convenience you can also bind the function `weblnp()` running `./weblnp $1` under the hood into the enviroment. ```sh # Expose function to the enviroment $ source ./weblnp_env # Calling the CLI via the enviroment instead of using the Bash file directly $ weblnp <command> # Reload $ weblnp reload # ...or $ ./weblnp reload # Remove from enviroment $ weblnp exit # or... $ ./weblnp exit ``` </details> ## Meta ### Contributors - [Sam M.](https://www.github.com/sam302rk) – [@sam302](https://zug.network/@sam302) - Ebou B. – [@ebou.bobb](https://www.instagram.com/ebou.bobb/) - Justin O. – [@\_justin\_oltmann\_](https://www.instagram.com/_justin_oltmann_/) - [Mario C.](https://github.com/marioboss56) - [@Mariology](https://soundcloud.com/riomusic01) Distributed under the MIT license. See [``LICENSE``](https://github.com/samuel-302/weblnp/blob/main/LICENSE) for more information. > **Warning**<br/> > The license does **not** apply to the [`kml`](https://github.com/samuel-302/weblnp/tree/main/kml) folder and it's subfolders!
Leaflet-based line network map viewer
javascript,leaflet,openstreetmaps,openstreetmaps-api
2023-04-12T21:23:22Z
2024-02-15T19:39:13Z
null
3
2
80
0
1
2
null
MIT
JavaScript
cingfong/AutoChess
main
# 自走棋遊戲 九宮格自走棋遊戲,使用 HTML CSS Javascript 製作,遊戲簡單易上手 功能: - 棋盤布置棋子 - 戰鬥流程 - 戰鬥加速 - 戰鬥結束事件 - 多國語系 - 售出棋子事件 基礎設定: - 總共有九種兵種棋子 - 兵種之間有相剋,相剋時傷害雙倍 - 戰鬥時棋子陣亡,則移出棋盤 - 戰鬥結束時棋盤上棋子,可恢復所受到傷害的50% - 三種相同等級的兵種可以升級,最高三級(每級為前一級的1.6倍血量與傷害) - 棋子售出1級為原價售出(2級以上,合成所需的棋子總價*0.8) - 刺客、醫療兵、戰鼓者非攻擊單位 - 總計20關 - 每次通過可以得到金幣 往後計畫: - 線上多人對戰模式 - 單人模式關卡隨機性 ## [DEMO](https://auto-chess.vercel.app/) 本地運行 NPM ```bash npm i npm run dev ``` http://127.0.0.1:81 下載最新檔案: ```bash git clone https://github.com/cingfong/auto-chess.git ``` 或 [download archive](https://github.com/cingfong/auto-chess/archive/refs/heads/main.zip) # Auto Chess Game
The auto chess game
es6,game,javascript,auto-chess,autochess
2023-04-11T07:50:16Z
2023-09-20T09:28:11Z
null
1
0
131
0
0
2
null
null
JavaScript
sakib2005/MMU-Club-Registration-Portal
master
# MMU-Club-Registration-Portal This is a frontend only website built using HTML, CSS and JavaScript. It is a simple registration portal for clubs in Multimedia University (MMU).
This is a frontend only website built using HTML, CSS and JavaScript. It is a simple registration portal for clubs in Multimedia University (MMU).
css,html,javascript,landing-page,portal
2023-04-18T06:58:38Z
2023-06-11T06:18:30Z
null
4
0
43
0
0
2
null
null
CSS
mdsiaofficial/Learn-Web-And-Back-End
master
# Learn-Web-And-Back-End Live View: https://mdsiaofficial.github.io/Learn-Web-And-Back-End/ My Blog Site: https://mdsiaofficial.blogspot.com/
https://mdsiaofficial.github.io/Learn-Web-And-Back-End/ My Blog: https://mdsiaofficial.blogspot.com/
html-css-javascript,javascript
2023-04-10T11:47:51Z
2024-04-12T16:52:42Z
null
1
1
243
0
0
2
null
null
JavaScript