GithubHelp home page GithubHelp logo

cheq-workshop's Introduction

User Management Application

Welcome to the User Creation Workshop! This workshop will guide you through developing and understanding an application dedicated to creating users in various ways. The application is built with NestJS and utilizes several key technologies and practices.

Codecov Coverage

Prerequisites

  1. Docker installed
  2. Node.js 18.x installed
  3. Git installed

Quickstart

  1. Clone the repository, don't fork it, as we work under the origin master branch.
    git clone https://github.com/omermorad/cheq-workshop.git
  2. Run the bootstrap script to install the dependencies and set up the environment.
    npm run bootstrap
  3. Start the application.
    npm run start:dev
  4. Go on and try creating a user using the Swagger UI or the API (http://localhost:8080/api)
  5. Create a new feature branch and start working, please use the convention feature/your-private-name for the branch name.

Introduction

The core functionality of the application revolves around creating users. It supports four main operations:

Swagger is also enabled for the application, allowing you to interact with the API and test its functionality, browse to the http://localhost:8080/api endpoint to access the Swagger UI.

Key Technologies

  • Database: PostgreSQL
  • Framework: NestJS
  • ORM: Prisma
  • Async Context Management: The application uses CLS and async hooks for context management. Learn more about CLS.

Testing and CI

The project is set up with GitHub Actions for continuous integration, running lint checks, and both unit and integration tests. Tests are divided into separate projects for unit and integration tests, allowing for targeted test execution.

Take a look on the jest.config.ts file to explore the test configuration. We use two different kind of projects, one for unit, and one for integration. Those projects are also running separately in the CI pipeline.

Useful Links

cheq-workshop's People

Contributors

omermorad avatar

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.