1.0.0 • Published 3 years ago

makima v1.0.0

Weekly downloads
-
License
MIT
Repository
-
Last release
3 years ago

💛 You can help the author become a full-time open-source maintainer by sponsoring him on GitHub.


makima

npm version

A local development tool for your server applications.

Install

npm i -g makima

This depends on Docker, make sure it's already installed on your machine.

Usage

makima "node server.js" --postgres --redis

Start postgres and redis and run the server with DATABASE_URL and REDIS_URL injected as environment variables.

Services

postgres

You can enable this service by passing --postgres flag.

A database is automatically created with a name inferred from current directory name or the name in your package.json, the latter takes higher pirority.

Injected environment variables:

  • DATABASE_URL

To access the psql command, you can run makima psql.

Based on Docker image timescale/timescaledb-postgis:latest-pg13

redis

You can enable this service by passing --redis flag.

Injected environment variables:

  • REDIS_URL

Based on Docker image bitnami/redis:6.0

TODO

  • mongodb
  • mysql

License

MIT © EGOIST

1.0.0

3 years ago

0.0.0

3 years ago