Qamous / Qamous-Backend

the backend for Qamous
Mozilla Public License 2.0
1 stars 0 forks source link
arabic-dialects arabic-language arabizi-arabic egypt

Qamous Backend

Description

The Qamous Backend serves as the server-side component of the Qamous application, which is a platform for users to contribute and explore definitions of Arabic and Franco-Arabic words. The backend is responsible for handling user authentication, word and definition management, as well as user interactions such as liking, disliking, and reporting definitions.

**If you're looking for the Front-End, find it here.

Technologies Used

Setup Instructions

  1. Clone the repository: git clone <repository-url>
  2. Navigate to the project directory: cd urban-dictionary-ar-backend
  3. Install dependencies: npm install
  4. Configure environment variables:
    • Create a .env file in the root directory.
    • Define the following environment variables:
      PORT=3000
      DB_HOST=<your-database-host>
      DB_PORT=<your-database-port>
      DB_USERNAME=<your-database-username>
      DB_PASSWORD=<your-database-password>
      DB_NAME=<your-database-name>
  5. Start the server: npm run start

API Endpoints

User Management

Countries Management

Word Management

Definition Management

Likes and Dislikes Management

Word Reports Management

Schema Details

The database schema for UrbanDictionaryAR consists of the following tables:

Contributors

License

This project is licensed under the Mozilla Public License Version 2.0 - see the LICENSE file for details.