An open API service indexing awesome lists of open source software.

https://github.com/vicradon/petstore

A modified version of the Petstore API offered by SwaggerHub
https://github.com/vicradon/petstore

api javascript openapi

Last synced: 11 months ago
JSON representation

A modified version of the Petstore API offered by SwaggerHub

Awesome Lists containing this project

README

          

# petstore

The Petstore API Spec offered by SwaggerHub

## Model Creation

npx sequelize-cli model:generate --name Pet --attributes name:string,status:string

npx sequelize-cli model:generate --name User --attributes username:string,firstName:string,lastName:string,password:string,phone:string,userStatus:integer

## Building the docker image

```bash
docker build -t /petstore .
```

## Running the image

```bash
docker run --name PetstoreApp -dp 3000:8000 /petstore
```