Ecosyste.ms: Awesome
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: 25 days ago
JSON representation
A modified version of the Petstore API offered by SwaggerHub
- Host: GitHub
- URL: https://github.com/vicradon/petstore
- Owner: vicradon
- Created: 2023-07-25T04:55:55.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-06-14T08:29:11.000Z (7 months ago)
- Last Synced: 2024-06-14T09:43:55.696Z (7 months ago)
- Topics: api, javascript, openapi
- Language: JavaScript
- Homepage: https://petstore-e7b0.onrender.com
- Size: 123 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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
```