Giter Club home page Giter Club logo

qadhiaty's Introduction

Qadhiaty - قضيتي

This repository contains the source code for Qadhiaty website, a web application to know what to boycott to support Palestine.

Table of Contents

Installation

To install and run Qadhiaty on your local machine, follow these steps:

  1. Clone the repository:
git clone https://github.com/Hetari/qadhiaty.git
  1. Install the dependencies:
npm install
  1. Set up the environment variables:

Create a .env file in the server directory of the project and add the following lines:

DATABASE_HOST
DATABASE_USER
DATABASE_PASSWORD
DATABASE_NAME

Replace the values with your own database configuration.

  1. Start the backend:
cd server
node app.js // or nodemon app.js
  1. Open the frontend:
cd client/src
index.html

The backend should now be running on http://localhost:3000.

Configuration

The application requires a .env file to store configuration variables. The following variables are required:

  • DATABASE_HOST: The host address of the database server.
  • DATABASE_USER: The username for the database connection.
  • DATABASE_PASSWORD: The password for the database connection.
  • DATABASE_NAME: The name of the database to use.

Make sure to update these variables with your own database configuration.

Usage

Once the backend, frontend, and database are up and running, in your web browser, you can write any product's barcode and see the results.

Contributing

Contributions to Qadhiaty are welcome! If you find a bug or have a feature suggestion, please open an issue or submit a pull request. Make sure to follow the existing coding style and conventions.

qadhiaty's People

Contributors

hetari avatar

Stargazers

Moh'd AL-Sulami avatar Mohammed Hasan Hael Al-Salehi avatar Hazim avatar

Watchers

 avatar

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.