Connect app to MySQL database at 192.168.4.20
This commit is contained in:
57
README.md
Normal file
57
README.md
Normal file
@@ -0,0 +1,57 @@
|
||||
# Ultimate Lists App
|
||||
|
||||
A powerful, self-hosted todo list application built with Next.js that works as a Progressive Web App (PWA).
|
||||
|
||||
## Features
|
||||
|
||||
- 📱 Works as a Safari web app (no App Store needed)
|
||||
- 🗄️ Self-hosted with SQLite database
|
||||
- ✅ Multiple lists with custom colors
|
||||
- 📋 Rich todo items with descriptions, priorities, and due dates
|
||||
- 🎨 Clean, responsive design
|
||||
- ⚡ Fast server-side rendering
|
||||
|
||||
## Getting Started
|
||||
|
||||
1. Install dependencies:
|
||||
```bash
|
||||
npm install
|
||||
```
|
||||
|
||||
2. Set up the database:
|
||||
```bash
|
||||
npm run db:push
|
||||
```
|
||||
|
||||
3. Run the development server:
|
||||
```bash
|
||||
npm run dev
|
||||
```
|
||||
|
||||
4. Open [http://localhost:3000](http://localhost:3000) in Safari
|
||||
|
||||
## Adding to Home Screen (Safari)
|
||||
|
||||
1. Open the app in Safari
|
||||
2. Tap the Share button
|
||||
3. Select "Add to Home Screen"
|
||||
4. The app will now work like a native app!
|
||||
|
||||
## Deployment
|
||||
|
||||
Build for production:
|
||||
```bash
|
||||
npm run build
|
||||
npm start
|
||||
```
|
||||
|
||||
The app uses SQLite, so no external database setup is required.
|
||||
|
||||
## Tech Stack
|
||||
|
||||
- **Next.js 14** - React framework with App Router
|
||||
- **Prisma** - Database ORM
|
||||
- **SQLite** - File-based database
|
||||
- **Tailwind CSS** - Styling
|
||||
- **TypeScript** - Type safety
|
||||
- **Lucide React** - Icons
|
||||
Reference in New Issue
Block a user