jamilxt / techbuzz

A place for techie to share knowledge, blog posts, tech news etc

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

TechBuzz

TechBuzz is a place to share the interesting tech news such as blog posts, videos, release news etc.

Build

Features

  • Login with username/password
  • Register with username/password
  • Account activation by email verification
  • View posts by category with pagination
  • Create post
  • Update post
  • Delete post
  • Up/Down vote a post

Tech Stack

  • Java, SpringBoot
  • Postgres, jOOQ, FlywayDb
  • Spring Security
  • Thymeleaf, Bootstrap, jQuery
  • JUnit 5, Testcontainers

Architecture Decision Records (ADRs)

HOW TO?

Run Unit / Integration Tests

$ ./mvnw verify

Format code

$ ./mvnw spotless:apply // to formatting code automatically
$ ./mvnw spotless:check // to verify the code formatting

Run application locally

If you want to start the required services (database, mail server) using docker-compose and run the application locally:

$ ./run.sh start_infra
$ ./mvnw spring-boot:run

Instead, you can simply run ./mvnw spring-boot:test-run which will automatically spin up the required services as docker containers using Testcontainers and starts the application.

Run application using docker-compose

$ ./run.sh start

Run Gatling Tests

$ ./mvnw -pl gatling-tests gatling:test 

How to contribute?

  • If you find this project interesting, fork/clone it, run the application and provide feedback.
  • If you find any bugs or have suggestions for improvement, then please file an issue.
  • Of course, Pull Requests are most welcome.

About

A place for techie to share knowledge, blog posts, tech news etc

License:Apache License 2.0


Languages

Language:Java 78.2%Language:HTML 19.6%Language:JavaScript 1.1%Language:Shell 0.9%Language:CSS 0.1%