undernightcore / mockos-back

Backend for Mockos, create mock server on the web seamlessly. As easy as "sacarse los mocos".

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Banner

Mockos - Build mocks for your API without code or config files

Mockos is a useful and practical tool for developers looking to test their applications with custom API mocks, in a collaborative way and without the need to install anything on their computer.

Deployments

If you find any bugs/vulnerabilities feel free to open a new issue or/and contact me at undernightcore@gmail.com.

Features

  • Create API responses using a simple JSON editor.
  • Stay in sync with other people thanks to realtime and compare capabilities.
  • Create multiple projects and invite multiple members to help you mock API responses.
  • Simplified branch system in case you introduce breaking changes.

Run for development (only backend)

Clone the project

  git clone https://github.com/undernightcore/mockos-back.git

Install dependencies

  npm install

Set up DB connection in .env

  cp .env.example .env

Only need to change following variables

PG_HOST=<change me> 
PG_PORT=<change me>
PG_USER=<change me>
PG_PASSWORD=<change me>
PG_DB_NAME=<change me>

Run migrations

  node ace migration:run

Start the server

  node ace serve --watch

Host your own instance using Docker

Roadmap

FAQ

What tech stack is this using?

For the Frontend: Angular, Angular Material, JSON editor, Socket.io, Luxon, Swal and Ngrx Translate.

For the Backend: AdonisJS, Socket.io and PostgreSQL.

How can I contribute?

Thank you for considering contributing! I am working in an easy contributing guide that you can easily follow.

Support

For support, email undernightcore@gmail.com or my twitter @undernightcore. I will happily solve any issue that you may encounter, but first check if there is an already open one.

About

Backend for Mockos, create mock server on the web seamlessly. As easy as "sacarse los mocos".


Languages

Language:TypeScript 99.8%Language:Dockerfile 0.2%