https://github.com/droidbg/fakedataapi
This is backend for fake data for products and cart
https://github.com/droidbg/fakedataapi
dummy-api dummy-data dummyapi dummyjson express fake-data fakedata-api nestjs nestjs-backend
Last synced: 10 months ago
JSON representation
This is backend for fake data for products and cart
- Host: GitHub
- URL: https://github.com/droidbg/fakedataapi
- Owner: droidbg
- Created: 2025-07-27T12:37:17.000Z (11 months ago)
- Default Branch: main
- Last Pushed: 2025-07-27T14:06:47.000Z (11 months ago)
- Last Synced: 2025-08-08T11:56:56.310Z (11 months ago)
- Topics: dummy-api, dummy-data, dummyapi, dummyjson, express, fake-data, fakedata-api, nestjs, nestjs-backend
- Language: TypeScript
- Homepage: https://fakedataapi.vercel.app/api/products
- Size: 85.9 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Fake Data API Starter Kit
## Features
- Feature-based folder structure
- NestJS API ready for Vercel serverless deployment
- Endpoints:
- `/api/products` – Get all products
- `/api/carts` – Get all carts
## Running Locally
```bash
npm install
npm run start:dev
```
Visit:
- http://localhost:3000/api/products
- http://localhost:3000/api/carts
## Deploying to Vercel
1. Push your code to a GitHub repository.
2. Connect the repo to Vercel.
3. Vercel will use the `vercel-build` script and `vercel.json` config.
## Environment Variables
- `PORT` (optional): Port to run the server locally (default: 3000)
## Production Readiness
- CORS enabled
- Modular, feature-based structure
- Ready for serverless deployment