Broadcaster enables any/every citizen to bring any form of corruption to the notice of appropriate authorities and the general public.
- User can sign up
- User can sign in
- User can create a red-flag
- User can retrive all his/her red-flag
- User can retrieve a specified red-flag
- User can update a comment of a red-flag
- User can update a location of a red-flag
- User can delete a red-flag
- User can restart his/her red-flag
- Admin can sign in
- Admin can change a status of a red-flag
To get started with this app you have to follow all instruction below carefully and implement.
First all of, Install the softwares on your local machine
Make sure that you have cloned this Repo to your local machine
- By running
git clone - or download the Ziped folder on
GitHub - Then after run
cd Broadcasterto open the folder or simplly double on the downloaded folder - To install all dependencies locally run this command
npm iornpm installin terminal
- run
npm run serverto start server - run
npm run testto run tests - run
npm run devto start development - run
npm run coverageto run and view test coverages
API endpoints with no authentication
-
POST
api/v1/auth/signupUser Sign up. -
POST
api/v1/auth/signinUser Sign in. -
POST
api/v1/admin-panel/signinAdmin Sign in. -
POST
api/v2/auth/signupUser Sign up. -
POST
api/v2/auth/signinUser Sign in.
API endpoints with no authentication
-
POST
api/v1/red-flagsCreate a red-flag -
GET
api/v1/red-flagsView all red-flag -
GET
api/v1/red-flags/:red-flag-idGet a specific red-flag -
PATCH
api/v1/red-flags/:red-flag-id/commentModify a red-flag's comment -
PATCH
api/v1/red-flags/:red-flag-id/locationModify a red-flag's location -
DELETE
api/v1/red-flags/:red-flag-idDelete a red-flag -
PATCH
api/v1/red-flags/:red-flag-id/restartModify a red-flag's status to draft status -
PATCH
api/v1/admin-panel/:red-flag-id/pendingModify a red-flag's status to pending status -
PATCH
api/v1/admin-panel/:red-flag-id/statusModify a red-flag's status to solved or rejected status -
POST
api/v2/red-flagsCreate a red-flag -
GET
api/v2/red-flagsView all red-flag -
GET
api/v2/red-flags/:red-flag-idGet a specific red-flag -
PATCH
api/v2/red-flags/:red-flag-id/commentModify a red-flag's comment -
PATCH
api/v2/red-flags/:red-flag-id/locationModify a red-flag's location -
DELETE
api/v2/red-flags/:red-flag-idDelete a red-flag -
PATCH
api/v2/red-flags/:red-flag-id/pendingModify a red-flag's status pending status
- link Broadcaster web
- Home page for sign-up or sign-in link
- Once the user logs-out, their will back to this page Sign-in link
- Create an incident link
- Draft list of Red-flag or Intervention link
- List of Records that are (in-process, reject or all records) for Red-flag or Intervention link
- Admin Sign-in link
- List of available records to be investigated on, about Red-flag or Intervention link
- List of records in the process, about Red-flag or Intervention link
- List of all records, about Red-flag or Intervention link
- Node JS
- Express (Framework)
- HTML
- CSS
- Javascript
- link Broadcaster-app
link: API documentation with POSTMAN
- SHYAKA Jasmin [email protected]
Copyright (c) Jasmin SHYAKA, Software Developer