Skip to content

matheuslanduci/woovi-code-challenge

Repository files navigation

Woovi Code Challenge

Built With

Node GraphQL MongoDB Koa

Woovi Code Challenge

This is a code challenge for Woovi, a company that provides payment solutions. The challenge consists of creating a GraphQL API that allows users to create and manage transactions. The project is hosted on Railway, uses MongoDB as the database, Redis as event queue, and Jest for testing.

The API should support the following features:

  • Create an account
  • Transfer money between accounts
  • Refresh the (readonly) balance of an account
  • Withdraw money from an account

You can import the postman.json to your Postman to test the API. The base URL is https://woovi-code-challenge-production.up.railway.app/graphql.

Getting Started

To get a local copy up and running follow these simple example steps.

Prerequisites

  • Node.js

    https://nodejs.org/en/download/
  • PNPM

    npm install pnpm -g
  • Docker

    https://www.docker.com/get-started/

Installation

Clone the repo

git clone https://github.com/matheuslanduci/woovi-code-challenge.git
  1. Install packages
pnpm install
  1. Run the container(or stop it, if necessary):
pnpm compose:up
  1. Setup Configuration
pnpm config:local
  1. Run the Project
pnpm dev

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors