Coder Social home page Coder Social logo

request-logger-test's Introduction

request-logger-test

Codacy Badge Codacy Badge

Documentation

API Docs: https://rafael-dsb.stoplight.io/docs/request-logger/branches/main/d64oqw1kq2kd1-request-logger-test

Architecture Docs: https://whimsical.com/request-logger-test-867g42awzqSxD9hhrhgmt6@7YNFXnKbYn8S1mpfLepg9

Architecture

Technologies

Summary of Technologies Used in the Application Architecture:

Nest.js: Nest.js was utilized as the backend framework, providing a modular and scalable structure for building the API.

Jest: Jest served as the testing framework, enabling the creation of unit and integration tests to ensure code reliability and quality.

Docker: Used to create containerized environment for the application.

Docker-compose (Local Development): Streamlined local development by managing multi-container applications, like the rest api and mongodb.

Cloud Run: Google Cloud Run was utilized as the serverless compute platform, facilitating automatic scaling and easy deployment of containerized applications.

MongoDB: MongoDB serverless was chosen as the NoSQL database solution, providing flexibility and scalability for data storage and retrieval.

Sentry: Integrated for real-time error monitoring and tracking to identify and resolve issues promptly.

Stoplight: Stoplight was used for API design and documentation, streamlining the process of creating, testing, and documenting APIs efficiently.

These technologies collectively contribute to the robust and efficient architecture of the application.

How to run?

How to Start Client Runner

Before getting started with Client Runner, ensure that you have Node.js installed on your machine.

Follow these steps to set up Client Runner:

npm install -g pm2
pm2 start ./scripts/logger-runner.js

pm2 startup

Running pm2 startup will provide a command for you to execute.

Next, perform the following:

pm2 save

Now, the process will run automatically when the operating system boots up.

How To Start the Web Server

To begin, make a copy of the .env-local file using the following command:

cp .env-local .env

This file already contains all the necessary configurations to run the application smoothly.

Now, you can launch the application using Docker Compose:

docker-compose up

By following these steps, you'll have the web server up and running.

request-logger-test's People

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.