https://github.com/dominuskelvin/platformatic-polls-api
Platformatic DB Polls API
https://github.com/dominuskelvin/platformatic-polls-api
platformatic
Last synced: 11 months ago
JSON representation
Platformatic DB Polls API
- Host: GitHub
- URL: https://github.com/dominuskelvin/platformatic-polls-api
- Owner: DominusKelvin
- Created: 2023-03-12T13:50:02.000Z (over 3 years ago)
- Default Branch: develop
- Last Pushed: 2023-03-14T18:36:12.000Z (over 3 years ago)
- Last Synced: 2025-07-19T08:21:26.835Z (11 months ago)
- Topics: platformatic
- Language: JavaScript
- Homepage: https://dominuskelvin.dev/blog/platformatic-polls-api
- Size: 111 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Platformatic DB API
This is a generated [Platformatic DB](https://oss.platformatic.dev/docs/reference/db/introduction) application.
## Requirements
Platformatic supports macOS, Linux and Windows ([WSL](https://docs.microsoft.com/windows/wsl/) recommended).
You'll need to have [Node.js](https://nodejs.org/) >= v16.17.0 or >= v18.8.0
## Setup
1. Install dependencies:
```bash
npm install
```
2. Apply migrations:
```bash
npx platformatic db migrations apply
```
## Usage
Run the API with:
```bash
npm start
```
### Explore
- ⚡ The Platformatic DB server is running at http://localhost:3042/
- 📔 View the REST API's Swagger documentation at http://localhost:3042/documentation/
- 🔍 Try out the GraphiQL web UI at http://localhost:3042/graphiql