[go: up one dir, main page]

Skip to content

casanet/mock-server

Repository files navigation

Casanet Mock Server

This service is used to mock Casanet server APIs based on on-demand logon.

The behavior is when any user login, the mock server generates a new session and clones predefined data set, then the user can use this session to edit and play with the session data till logout or data TTL (about 10 minutes).

The API generate based on the casanet server spec by Swagger gen to nodejs-server.

Overview

This server was generated by the swagger-codegen project. By using the OpenAPI-Spec from a remote server, you can easily generate a server stub.

Running the server

To run the server, run:

yarn start

To view the Swagger UI interface:

open http://localhost:8080/docs

This project leverages the mega-awesome swagger-tools middleware which does most all the work.

Releases

No releases published

Packages

No packages published