100lvlmaster / 5chan-go

Backend for 5chan

Home Page:https://fivechan-go.herokuapp.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

5chan

The 4chan clone with a one up

https://fivechan-go.herokuapp.com

5chanlogo.png

This repository contains the backend code for the 5chan project.

It uses Gofiber.

Installing:

go install

Debug:

air

Build:

go build

Copy the env.example and rename it as .env and set the env vars as required.

Fetching data:

Posts:

https://fivechan-go.herokuapp.com/api/v1/posts

Posts by Id:

https://fivechan-go.herokuapp.com/api/v1/posts/[id]

Replies:

https://fivechan-go.herokuapp.com/api/v1/replies

Replies for a post:

https://fivechan-go.herokuapp.com/api/v1/replies/[postID]

About

Backend for 5chan

https://fivechan-go.herokuapp.com


Languages

Language:Go 93.3%Language:Dockerfile 5.0%Language:Shell 1.7%