GithubHelp home page GithubHelp logo

go-blog's Introduction

GoBlog app

Welcome to our GoBlog app! This is a simple web application where users can create, read, update, and delete blog posts.

Features

  • User Authentication: Users can sign up, log in, and log out securely.
  • Create Blog Posts: Authenticated users can create new blog posts with a title, content, and an optional image thumbnail.
  • Read Blog Posts: Users can view all blog posts or search for specific posts using keywords.
  • Update Blog Posts: Users can edit their own blog posts, including changing the title, content, or thumbnail image.
  • Delete Blog Posts: Users can delete their own blog posts if they no longer wish to keep them.
  • Search Blog: Users can search blog based on title or body blog.

Getting Started

To run this application locally, follow these steps:

  1. Clone this repository to your local machine.
  2. Install dependencies by running go mod tidy.
  3. Set up the database according to the provided SQL scripts.
  4. Configure the environment variables for database connection.
  5. Run the application using go run main.go.
  6. Access the application in your web browser at http://localhost:3000.

Dependencies

  • Fiber: A web framework for Go, providing fast and flexible routing.
  • UUID: A package for generating universally unique identifiers.

License

This project is licensed under the MIT License - see the LICENSE file for details.


go-blog's People

Contributors

rizkirdm avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.