Coder Social home page Coder Social logo

ticketing's Introduction

Ticketing Microservice

Ticketing is a microservice application that allows users to register, log in, and log out using a ticketing system. It utilizes the following technologies and frameworks:

Technologies and Frameworks

  • Kubernetes: Container orchestration platform for deploying and managing the application.
  • Docker: Container platform for packaging and distributing the application.
  • Skaffold: Tool for automating the development workflow, including building, pushing, and deploying the application.
  • TypeScript: Programming language for the application.
  • React: JavaScript library for building user interfaces.
  • Mongoose: Object Data Modeling (ODM) library for MongoDB and Node.js.
  • JSON Web Tokens (JWT): An open standard for securely transmitting information between parties as a JSON object.
  • Cookie-session: Middleware for Express that stores session data in cookies.
  • Express: Web application framework for Node.js.

Authentication (auth) Microservice

The auth microservice is responsible for handling user registration, login, and logout functionality. It uses jsonwebtoken and cookie-session to manage user authentication and authorization.

Client Microservice

The client microservice displays the simplest window view for interacting with the authentication microservice.

Running Tests

To run the tests for the auth microservice, use the following command:

npm run test

Deploying the Application

To deploy the application using Skaffold, run the following command:

skaffold dev

This will build the Docker images, push them to a Docker registry, and deploy the application to the Kubernetes cluster.

Testing

The following testing frameworks are used in the project:

  • Supertest: For testing the HTTP API.
  • Jest: JavaScript testing framework.
  • ts-jest: TypeScript preprocessor for Jest.

Contributing

If you would like to contribute to the Ticketing project, please follow the standard GitHub workflow:

  1. Fork the repository.
  2. Create a new branch for your feature or bug fix.
  3. Make your changes and commit them.
  4. Push your changes to your forked repository.
  5. Create a new pull request.

We welcome all contributions and appreciate your help in improving the Ticketing application.

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.