Files

992 B

esforum

Overview

esforum is a simple forum application built in Go. It allows users to create and manage posts in a forum-like environment.

Project Structure

esforum
├── cmd
│   └── main.go        # Entry point of the application
├── pkg
│   └── esforum
│       └── esforum.go # Main logic for the esforum package
├── go.mod             # Module definition file
└── README.md          # Project documentation

Setup Instructions

  1. Clone the repository:
    git clone https://github.com/yourusername/esforum.git
    
  2. Navigate to the project directory:
    cd esforum
    
  3. Install dependencies:
    go mod tidy
    

Usage

To run the application, execute the following command:

go run cmd/main.go

API Endpoints

  • POST /posts: Create a new post.
  • GET /posts: Retrieve all posts.

Contributing

Feel free to submit issues or pull requests for improvements and bug fixes.