Skip to content

brasmith9/incident-reporting

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

incident-reporting

A simple project with Endpoints to submit and list incident reports for insurance clients.

Quick Start

# Install dependencies
npm install
# create an .env file with .env.examples as template
# fill in the database and Openweathermap API
# start the server
npx modemon

Making a get request

# endpoint - /reports

Making a post request

# endpoint - /report-incident

x-www-form-urlencoded parameter

  1. client_id
  2. incident_desc
  3. city
  4. country

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published