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 Broadcaster
to open the folder or simplly double on the downloaded folder - To install all dependencies locally run this command
npm i
ornpm install
in terminal
- run
npm run server
to start server - run
npm run test
to run tests - run
npm run dev
to start development - run
npm run coverage
to run and view test coverages
API endpoints with no authentication
-
POST
api/v1/auth/signup
User Sign up. -
POST
api/v1/auth/signin
User Sign in. -
POST
api/v1/admin-panel/signin
Admin Sign in. -
POST
api/v2/auth/signup
User Sign up. -
POST
api/v2/auth/signin
User Sign in.
API endpoints with no authentication
-
POST
api/v1/red-flags
Create a red-flag -
GET
api/v1/red-flags
View all red-flag -
GET
api/v1/red-flags/:red-flag-id
Get a specific red-flag -
PATCH
api/v1/red-flags/:red-flag-id/comment
Modify a red-flag's comment -
PATCH
api/v1/red-flags/:red-flag-id/location
Modify a red-flag's location -
DELETE
api/v1/red-flags/:red-flag-id
Delete a red-flag -
PATCH
api/v1/red-flags/:red-flag-id/restart
Modify a red-flag's status to draft status -
PATCH
api/v1/admin-panel/:red-flag-id/pending
Modify a red-flag's status to pending status -
PATCH
api/v1/admin-panel/:red-flag-id/status
Modify a red-flag's status to solved or rejected status -
POST
api/v2/red-flags
Create a red-flag -
GET
api/v2/red-flags
View all red-flag -
GET
api/v2/red-flags/:red-flag-id
Get a specific red-flag -
PATCH
api/v2/red-flags/:red-flag-id/comment
Modify a red-flag's comment -
PATCH
api/v2/red-flags/:red-flag-id/location
Modify a red-flag's location -
DELETE
api/v2/red-flags/:red-flag-id
Delete a red-flag -
PATCH
api/v2/red-flags/:red-flag-id/pending
Modify 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 jajajaden01@gmail.com
Copyright (c) Jasmin SHYAKA, Software Developer