An open API service indexing awesome lists of open source software.

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

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

image

### Adding new entry:
image
image

### When clicking on map thumbnail:
image

## Mobile

image

### Adding new entry:
image
image

### When clicking on map thumbnail:
image

### 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