Giter Site home page Giter Site logo

abass-dev / chat-app Goto Github PK

View Code? Open in Web Editor NEW
4.0 1.0 2.0 71 KB

This ChatApp/web application is proposed for beginners in order to learn the back-end and front-end before moving on to a framework or a library.

PHP 66.51% SCSS 26.56% Hack 2.71% Shell 1.94% JavaScript 2.28%

chat-app's Introduction

Chat App

This ChatApp/web application is proposed for beginners in order to learn the back-end and front-end before moving on to a framework or a library.

Required tools

PHP
MySQL
Composer
NodeJs
NPM(Node Package Manager)
Webpack
Sass

Basic Usage

Clone the project: git clone https://github.com/abass-bencheik/chat-app.git
cd chat-app
composer update
yarn build To build asset folder Or build-watch build-watch for building and observing changes. yarn start-sass to build/compile Sass folders yarn start-server to run php local server, then open the flowing address http://localhost:8000 in your browser
First you must configure your database information.
Example of database configuration into .env This file should not be committed, Please consult this file .env.example to better understand how you can configure your database information.

DB_HOST=example-host
DB_USER=example-dbuser
DB_NAME=example-dbname
DB_PASSWORD=example-dbpassword

Become a contributor ?

It's simple, just fork the project and propose us your changes. Thanks in advance 😊

chat-app's People

Contributors

abass-dev avatar todaydevs avatar zaid-maker avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar

chat-app's Issues

[WebPack] Problem when JS files are compiled!

yarn build OR npx webpack to compile/build the JavaScript file in the public folder
I have a problem with the form validation function, as the function is executed before I submit the form.

[Request AJAX]

I'm trying to make an AJAX/XMLHttpRequest with JavaScript Vanilla.
As you can see, the server is running in the public folder and I need to make this request outside.
I mean in the template folder...
This is an example of my request:
public/build/bundle.js
let xhr = new XMLHttpRequest();
xhr.onreadystatechange = () => {
if (xhr.readyState == 4) {
if (xhr.status == 200) {
document.querySelector("#appCore").innerHTML = xhr.responseText
}
}
}
xhr.open("GET", "../../template/login.php", true)
xhr.send()

Langue

Salut ,
Je vous propose d'écrire une langue soit français ou anglais,
dans about on a du french et le readme english

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.