Public
Like
my-first-val
Val Town is a collaborative website to build and scale JavaScript apps.
Deploy APIs, crons, & store data β all from the browser, and deployed in milliseconds.
A platform for sharing church notes and discussing spiritual insights with your community.
- π Notes Sharing: Post and view church notes with date, title, and content
- π¬ Real-time Chat: Discuss insights and ask questions in a community chat room
- π¨ Clean Interface: Accessible design focused on content and community
- πΎ Persistent Storage: All notes and messages are saved in SQLite database
- π± Responsive Design: Works great on desktop and mobile devices
- Visit the Platform: Click on
backend/index.ts
to access the main application - Share Notes: Use the "Share Your Notes" button to post insights from church services
- Join Discussion: Switch to the Discussion tab to chat with other community members
- Stay Connected: Your name is remembered for future chat sessions
βββ backend/
β βββ database/
β β βββ migrations.ts # Database schema setup
β β βββ queries.ts # Database query functions
β βββ index.ts # Main API server (Hono) - HTTP trigger
βββ frontend/
β βββ components/
β β βββ App.tsx # Main React application
β β βββ NotesSection.tsx # Notes posting and viewing
β β βββ ChatSection.tsx # Real-time chat interface
β βββ index.html # Main HTML template
β βββ index.tsx # Frontend entry point
βββ shared/
βββ types.ts # Shared TypeScript types
- Backend: Hono (API framework) with SQLite database
- Frontend: React with TypeScript and TailwindCSS
- Storage: SQLite for notes and chat history
- Styling: TailwindCSS for responsive design
GET /
- Main application pageGET /api/notes
- Retrieve all notesPOST /api/notes
- Create a new noteGET /api/messages
- Get recent chat messagesPOST /api/messages
- Send a new chat message
The application is ready to use! Simply click on the backend/index.ts
file to launch the platform and start sharing your church notes and connecting with your community.