Giter Site home page Giter Site logo

ayoub-kh / ikhtar_app_backend Goto Github PK

View Code? Open in Web Editor NEW

This project forked from imadbourouche/ikhtar_app_backend

0.0 0.0 0.0 23 KB

A backend application developed in Node.js and PostgreSQL that serves as the reporting system for child abuse. It provides an API for users to report incidents of child abuse, and administrators can manage and handle these reports.

JavaScript 100.00%

ikhtar_app_backend's Introduction

Ikhtar App Backend

A backend application developed in Node.js and PostgreSQL that serves as the reporting system for child abuse. It provides an API for users to report incidents of child abuse, and administrators can manage and handle these reports.

Features

  • User registration and authentication
  • Report creating using multiple methodes: Image, Video and Sound
  • Administrator dashboard for handling and manage reports
  • Role-based access control
  • Data persistence using PostgreSQL database

Technologies Used

  • Node.js
  • Express.js
  • PostgreSQL

Getting Started

To get started with the Ikhtar backend, follow these steps:

  1. Clone the repository: https://github.com/imadbourouche/Ikhtar_app_backend.git
  2. Install dependencies: npm install
  3. Set up the PostgreSQL database and configure the connection details in signalements.sql and admins.sql
  4. Start the server: npm start
  5. The server will be running at http://localhost:8888

Make sure to also set up the frontend application for a complete working system. Refer to the README of the frontend repository here:

API Endpoints

The following API endpoints are available:

  • POST /login: Login and obtain an authentication token
  • GET /signalements: Get all reports
  • GET /signalementsById/:id: Get reports by id
  • GET /signalementsByPhone/:phone: Get reports by phone number
  • POST /uploadMedia: Report with image
  • POST /uploadVocal: Report with vocal
  • POST /uploadVideo: Report with video
  • POST /updateStatus: Update the status of report

ikhtar_app_backend's People

Contributors

imadbourouche 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.