Skip to content

caesarc6/Backend-Messaging-App

Repository files navigation

Backend-Messaging-App

CSCI 380 Project

An accessibility based messaging web application.

Team Members

Caesar Cuzco Student at John Jay College of Criminal Justice. Majoring in Computer Science.

Christian Dane i'm a student at john jay majoring in CSIC

Sonyl Nagale (Adjunct Lecturer) I am a Solutions Architect and an instuctor at John Jay and Baruch Colleges

William Zhicay Student at John Jay College. Majoring in Computer Science and Information Technology

Damian Perera (Student) I am a computer science student at John Jay College

Ramee Yudeh CS student at John Jay!

How to use

In terminal..

Go into the backend directory: cd backend

To install needed packages npm install

To start server npm start

Open web browser to: http://localhost:3001

API Endpoints for Frontend

Send a POST request in JSON. Header values must contain secured value name and key.

Send POST request to this Route:

http://MY-URL-ENDPOINT.COM/send

In header request:

Proper key values must be send in header to secure connection. Save value of keys in an .env file.

In header, pass variable and value. Use Authorization x-post protocol.

key variable: X-post-380 
key value : SECRET_TOKEN_HERE

Key will be provided in class 👍

Data in POST requests must be send in JSON format with the corresponding variables.

JSON Format:

JSON fields example:

"name": "Joe",
"message": "Hello this is Backend, lorem ipsum ;)",
"phone": "+0000000000",

Tech

Backend used

Requirements

Have NPM installed in system. Have Twilio's access tokens. An IDE to run the code.

About

CSCI 380 Project

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 6