Skip to content

This is the server for the project Error reporting and Logging.

Notifications You must be signed in to change notification settings

pranaygupta1999/ReportService-Server

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Report Service server

The server for accepting the error logs and obtaining all the customers, users and app registered.

The idea

There are lot of companies whose apps are being used by the users worldwide. It becomes crucial for the company to identify if the app works properly.

This is where the Error Logging and reporting System comes into play. The Report service provides set of tools and software to deal with the errors and logs being thrown by apps used by people worldwide.

Tools and Softwares under ReportService

  • A framework - Used by developer instead of using traditional console logs the framework provides logging the error directly to our server
  • The Server - Connects to the database and post all error to the database post validation.
  • The App - The app provides the way to see all the errors logged by the apps of the particular company.
    • Each developer of the company gets an account for the usage of the app
  • The Database - The mysql database to keep the record of al the companies, their developers(users) and their apps(web or mobile) and the errors logged by these apps

Starting the server

  • Clone the repository
  • Start the mysql server(Clone this repo for data insertion and table creation query)
  • Open the terminal and run following commands
    • npm install
    • export MYSQL_USER=<your mysql username or root>
    • export MYSQL_PASSWORD="<your mysql password>"
    • npm start

Project structure [src]

  • Starting point is index.js
  • All routes are defined in routes.ts
  • db connection is established in db.ts
  • All controllers for routes are in controllers folder

Releases

No releases published

Packages

No packages published