Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

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: 25 days 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
```