GitXplorerGitXplorer
m

ktlog

public
2 stars
0 forks
10 issues

Commits

List of commits on branch main.
Unverified
8d4fde7f088962bdd1e9d5666f82a79dc340b55f

:white_check_mark: Change type=button to type=submit for a button to login

mmahata committed a month ago
Unverified
bdba2ef90c2cce3cff0fa68e05a831ff70123248

:white_check_mark: Fix warning for useNavigate

mmahata committed a month ago
Verified
852ee57a7e0bff03eb8189fdaf860e4d1fce9d2a

:arrow_up: Bump org.jlleitschuh.gradle.ktlint in /backend (#441)

ddependabot[bot] committed a month ago
Unverified
dc3d727ee7083cfd19fde1d771d8c0077bb47b81

:white_check_mark: Fix failing tests

mmahata committed a month ago
Unverified
11a573053e62028e9f6d520510aa1f88d5e30518

:recycle: Get rid of code that touches window.href directly

mmahata committed a month ago
Unverified
a21cddf8f81f41509800fc9c134b7e95f2c79b4e

:sparkles: Redirect users when they are not logged in and try to write articles

mmahata committed a month ago

README

The README file for this repository.

CI - frontend Status CI - backend Status

ktlog

Project Overview

This is an implementation of a blog platform, crafted using Spring Boot with Kotlin, and React with TypeScript. It's still under heavy development (meaning it's almost unusable right now).

Prerequisites

  • Java 21 or higher
  • Node 20 or higher
  • Docker

Local Development Instructions

To streamline the setup process and ensure consistency across platforms, we utilize Docker for our development environment. This contains all the necessary third-party software required for this project.

Run the following command in the project's root directory:

$ docker compose up

Also, the app requires service domain except localhost so that login cookie works. Let's add a line like following in /etc/hosts:

127.0.0.1	ktlog.local

It's recommended to set up a pre-commit hook to ensure code quality. Run the following commands to set up the pre-commit hook:

mkdir -p .git/hooks
echo "make -j 4 pre-commit" > .git/hooks/pre-commit
chmod +x .git/hooks/pre-commit

Backend Instructions

Execute the following commands to boot up the Spring Boot process.

$ cd backend
$ ./gradlew bootRun

Frontend Instructions

By running the following commands, React will start monitoring changes in the frontend/ directory. If any changes are detected, React will automatically restart to reflect the changes.

$ cd frontend
$ npm i
$ npm run dev

Together with Backend, the entire system will start serving at http://ktlog.local:5173