makima
v1.0.0
Published
A local development for your server applications
Downloads
5
Readme
💛 You can help the author become a full-time open-source maintainer by sponsoring him on GitHub.
makima
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