48 lines
1.0 KiB
Markdown
48 lines
1.0 KiB
Markdown
# PRISM
|
|
|
|
PRISM is a construction job management system built with Bun, Hono, and PocketBase.
|
|
|
|
## Features
|
|
|
|
- **Authentication**: Login system powered by PocketBase
|
|
- **Dashboard**: Post-login dashboard with project overview
|
|
- **User Management**: Standard PocketBase users collection
|
|
- **API Integration**: Direct connection to PocketBase backend
|
|
|
|
## Getting Started
|
|
|
|
### Prerequisites
|
|
|
|
- [Bun](https://bun.sh/) runtime
|
|
|
|
### Installation
|
|
|
|
```bash
|
|
bun install
|
|
```
|
|
|
|
### Development
|
|
|
|
```bash
|
|
bun run dev
|
|
```
|
|
|
|
### Production
|
|
|
|
```bash
|
|
bun run build
|
|
bun run start
|
|
```
|
|
|
|
## Accessing the Application
|
|
|
|
- **Login Page**: Visit `http://localhost:3000` in your browser
|
|
- **Dashboard**: Available at `/dashboard.html` after authentication
|
|
- **Backend API**: `GET /health` - Health check endpoint
|
|
|
|
## PocketBase Configuration
|
|
|
|
The application connects to your PocketBase instance at `https://pocketbase.ccllc.pro` with:
|
|
- Users collection (standard PocketBase authentication)
|
|
- API collection for additional data
|
|
- Authentication rule: `id = @request.auth.id` |