Code Monkey home page Code Monkey logo

mockserver's Introduction

Quick start

Run the mock server

node src/index.js

Run the frontend server

  • Use the following application ID: 923937b3467b9ea668a5e9fdd573cc338a1ae529a46feb12a509b4eccf3f057b
  • Run the frontend application on http://localhost:4200

Session

Use any user and password to login.

Use the following credentials to simulate specific scenarios:

Scenario Email Password Level OTP code
Login a level 3 member * * 3
Login a level 1 member [email protected] 123123 1
Login a level 2 member [email protected] 123123 2
Login a level 3 admin [email protected] 123123 3
Error invalid email or pass [email protected] 123123
OTP code is requested [email protected] 123123
OTP code is valid [email protected] 123123 123456
Login a level 3 admin tower [email protected] 123123 3
Login a level 3 superadmin tower [email protected] 123123 3
Login a level 3 accountant tower [email protected] 123123 3
Login a level 3 compliance tower [email protected] 123123 3
Login a level 3 technical tower [email protected] 123123 3
Login a level 3 support tower [email protected] 123123 3

mockserver's People

Contributors

akhlopiachyi avatar akushniruk avatar calj avatar dnfd avatar elviramiro avatar gfedorenko avatar josadcha avatar m-an avatar nmuzychuk avatar olekstkachenko avatar oyershov avatar vpetrusenko avatar ysv avatar yuriitkachuk avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

mockserver's Issues

What is each branch for?

Hi.. there are some branches. May i know what each branch for?

For instance master branch and v2 branch. Do you plan to merge them?

Transfer API

Hi,

we are developing our app to use transfer API. Is it possible for you to build mockserver to support that?

File not matched

Hello @calj Camille,

i encounter this issue and could not understand why it cannot locate the file even though the file exists in the directory. What am i missing?

Mock v2: Reading from src/mocks-v2/api/v2/barong/resource/users/me/GET.mock file: Matched
Mock v2: Reading from src/mocks-v2/api/v2/barong/identity/sessions/OPTIONS.mock file: Matched
Mock v2: Reading from src/mocks-v2/api/v2/barong/identity/sessions/OPTIONS.mock file: Matched
Mock v2: Reading from src/mocks-v2/api/v2/barong/identity/sessions/POST--{"email":"[email protected]","password":"123123","totp_code":"","recaptcha_response":""}.mock file: Not matched
Mock v2: Reading from src/mocks-v2/api/v2/barong/identity/sessions/POST.mock file: Matched
Mock v2: Reading from src/mocks-v2/api/v2/barong/identity/sessions/POST--{"email":"[email protected]","password":"123123","totp_code":"","recaptcha_response":""}.mock file: Not matched
Mock v2: Reading from src/mocks-v2/api/v2/barong/identity/sessions/POST.mock file: Matched

Best regards,

Ian

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.