A RESTful API for generating dummy data against a schema.
Genny can be configured using the following environment variables. .env
files are supported.
name | default | description |
---|---|---|
MONGODB_URI |
mongodb://localhost:27017/genny |
The connection URI for the MongoDB server |
PORT |
8080 |
The port for the API to listen on. |
git clone https://github.com/TSI-Training-Team/genny
cd genny
npm install
For development, it's recommended to run the API and frontend independently, to benefit the most from the Vite dev server.
npm run api:dev
# Then, in a separate terminal window:
npm run fe:dev
Or to run both in the same terminal session concurrently:
npm run dev
npm ci
npm run build
npm start
use the open source swagger editor: https://swagger.io/tools/swagger-editor/
then copy the openapi.yaml file into the editor