Giter Club home page Giter Club logo

go-project's Introduction

Document Watermarking Service in Go

This is a simple web application written in Go that provides a service to watermark documents. The application is designed for a global publishing company that publishes books and journals. It allows specific users to watermark documents, which have a title, author, and a watermark property that can be in one of three states: Started, InProgress, and Finished.

Problem Statement

The publishing company needs a reliable way to protect their intellectual property by adding a watermark to their documents. The watermarking process should be performed by authorized users, and once a document is watermarked, it can never be re-marked.

Example Document

Here is an example of a document object:

{
  "content": "book",
  "title": "The Dark Code",
  "author": "Bruce Wayne",
  "topic": "Science"
}

Functionality

The Document Watermarking Service provides the following functionality:

  • Allow specific set of users to watermark documents.
  • Marking the document in one of three states: Started, InProgress, and Finished.
  • Preventing re-marking of a document after it has been watermarked.

Architecture

In this project, we will have 3 microservices: Authentication Service, Database Service and the Watermark Service. We have a PostgreSQL database server and an API-Gateway.

image info

Technologies Used

This application is built using the following technologies:

  • Go
  • Gin Web Framework
  • MongoDB

Getting Started

To use this application, you need to have Go and MongoDB installed on your machine. Follow these steps to get started:

  1. Clone the repository to your local machine.
  2. Navigate to the project directory and run go mod download to download the required packages.
  3. Start the server by running go run main.go.
  4. Open your web browser and go to http://localhost:8080 to access the application.

Conclusion

The Document Watermarking Service is a simple but effective solution for protecting the publishing company's intellectual property. It allows authorized users to watermark documents and ensures that once a document is watermarked, it can never be re-marked.

go-project's People

Contributors

lotfi-arif 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.