https://github.com/51fe/shop-api
REST API for shopping-cart projects API
https://github.com/51fe/shop-api
demo express mongoose nodejs prisma restful-api shop-api
Last synced: 3 months ago
JSON representation
REST API for shopping-cart projects API
- Host: GitHub
- URL: https://github.com/51fe/shop-api
- Owner: 51fe
- Created: 2018-04-08T06:16:59.000Z (about 8 years ago)
- Default Branch: main
- Last Pushed: 2024-05-14T09:33:28.000Z (about 2 years ago)
- Last Synced: 2024-05-15T13:43:48.949Z (about 2 years ago)
- Topics: demo, express, mongoose, nodejs, prisma, restful-api, shop-api
- Language: TypeScript
- Homepage: https://51fe.site/vue-shop
- Size: 14.6 KB
- Stars: 3
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Shop API
> REST API project (Express + Postgres + Prisma) for:
* [Vue shop](https://github.com/51fe/vue-shop)
* [Reace shop](https://github.com/51fe/react-shop)
* [RN shop](https://github.com/51fe/rn-shop)
## Build Setup
``` bash
# install dependencies
npm install
# serve at localhost:3000
npm start
# introsect prisma schema
npx prisma db pull
# generate prisma client
npx prisma migrate dev --name init
```
For a detailed explanation on how things work, check out the [docs for Express](https://expressjs.com/) and [docs for Prisma](https://www.prisma.io/docs).