Skip to content

Latest commit

 

History

History
55 lines (35 loc) · 787 Bytes

README.md

File metadata and controls

55 lines (35 loc) · 787 Bytes

SETUP

Installation

This project uses a containerized mysql database, node server, and mysql admin client. Follow these steps to set up your own demo database that lets you perform sigma client operations.

1. Create the infrastructure

make start

On first time docker infrastructure creation, nodemon make some time to initialize. Just check the logs:

make logs

wait for the line :

node-prisma | [nodemon] starting node app.js

2. Introspect the database

make introspect

3. Test the app endpoint

curl --location --request GET 'localhost:3000/' 

4. Show the app logs

make logs

Troubleshoot

Show Makefile help

make 

Connect to node container

make connect