https://github.com/mazkdevf/ictconscript-fullstack
ICTConscript - full-stack implementation
https://github.com/mazkdevf/ictconscript-fullstack
backend frontend full-stack
Last synced: 4 months ago
JSON representation
ICTConscript - full-stack implementation
- Host: GitHub
- URL: https://github.com/mazkdevf/ictconscript-fullstack
- Owner: mazkdevf
- Created: 2025-07-26T08:01:29.000Z (7 months ago)
- Default Branch: main
- Last Pushed: 2025-07-26T10:32:40.000Z (7 months ago)
- Last Synced: 2025-08-27T14:44:41.715Z (6 months ago)
- Topics: backend, frontend, full-stack
- Language: TypeScript
- Homepage:
- Size: 71.3 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# ICT Conscript Full Stack Implementation
### Frontend (Web Application)
* **Log Entry Listing:** Displays existing log entries in reverse chronological order (newest first).
* **New Entry Addition:** Allows users to add new entries via a modal/drawer, including a title, body (free text), and optional location (latitude/longitude).
* **Real-time Updates:** Newly submitted entries appear immediately in the list.
* **Mini-Map Thumbnail:** Displays a map thumbnail for log entries that include coordinate data.
* **Map Viewer:** Click a map thumbnail for more better view of the coordinate data.
## Desktop

### Adding new entry:

### When clicking on map thumbnail:

## Mobile

### Adding new entry:

### When clicking on map thumbnail:

### Backend (REST API)
* **Data Persistence:** Utilizes a SQLite database to store and manage log entries.
* **API Endpoints:**
* `GET /api/entries`: Retrieves all log entries, sorted by newest first top 10.
* `GET /api/entries/`: Fetches a single log entry by its ID, returning a 404 if not found.
* `POST /api/entries`: Accepts new log entries with `title`, `body`, and optional `lat`/`lon`. The server automatically assigns the `id`.
* `GET /health`: Provides a health-check endpoint, returning HTTP 200 with "OK".
* **API Specification:** Endpoints communicate using JSON over HTTP, with validation errors responding in HTTP 4xx and an explanatory JSON message.
## Technologies Used
* **Frontend:** Next.js, React, Tailwind CSS, Radix UI (Shadcn/UI)
* **Backend:** (Proposed: Nitro.js for REST API, SQLite for database)
## Test what was submitted to Puolustusvoimat!
https://github.com/mazkdevf/test-ictconscript-admission