Skip to content

Commit

Permalink
Merge pull request #40 from Pomog/Pomog-patch-1
Browse files Browse the repository at this point in the history
Update README.md
  • Loading branch information
TartuDen committed Dec 9, 2023
2 parents d31dd48 + 15a40ab commit 7c8070f
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,31 @@
# ForumFFF
Online forum for MMORPG fans and friends!

## Project Overview

This project is one of the starting tasks from the Kood/Jõhvi Retraining Program. The description can be found [here](https://github.com/01-edu/public/tree/master/subjects/forum).

## Features

This is a Web Application written in Golang, utilizing only standard [Go libraries](https://pkg.go.dev/std) and the following external packages:
- `github.com/google/uuid v1.4.0`
- `github.com/mattn/go-sqlite3 v1.14.18`

### Database
- We are using the SQLite driver. However, our application implements The Repository pattern, and to switch databases, the `DatabaseInt` interface (located in the `repository` package) should be implemented for database systems.

### Template Rendering
-

### HTTP server `routes` - HTTP request multiplexer
- sets up a basic HTTP server with route handlers for static files and various application endpoints, using the http.ServeMux as the multiplexer.
- The handlers are defined in the handler package, and the `routes` function is responsible for configuring the routing logic for the application.

## Unsolved Issues
1. Not optimized requests to the Database. Sometimes there are several requests per function or method.
2. No Middleware.
3. User's passwords are stored as strings in the Database.

## SQL schema
<img src="https://github.com/Pomog/ForumFFF/blob/25c4eb9089759d55ed4141969cdd4ca707d5ceca/SQL_schema.jpg?raw=true" alt="example" style="width:50%;">

Expand Down

0 comments on commit 7c8070f

Please sign in to comment.