Code Monkey home page Code Monkey logo

hm24-app's Introduction

HM24 Case App

This repo was developed for hm24 case. Built-in Golang.

Installation

You only need to download go modules.

go mod tidy

Running Service

This application is a basic api. In main directory, you should execute following command.

go run cmd/main.go 

Using Service

Postman collection is prepared for you to see all endpoints and ready to use. 2 Files are ready in the repo, HM24-App.postman_collection.json and HM24-App - Local.postman_environment.json You should import them into postman. Please follow this url to learn how to import:

https://learning.postman.com/docs/getting-started/importing-and-exporting-data/#importing-data-into-postman

After that, please select environment on the right top corner. Finally, left-side menu, you can see collections and use HM24 case collections to test app.

Endpoints

Case Task URL
Test Test
HTML Version /analyse/html-version?url={URL}
Page Title /analyse/title?url={URL}
Headings count by level /analyse/hx?url={URL}
Amount of internal and external links /analyse/links?url={URL}
Amount of inaccessible links /analyse/links?url={URL}
If a page contains a login form /analyse/login-form?url={URL}

Contributing

Pull requests are welcome. Anything want to discuss, please open an issue then we can have a chat what you would like to change. As I mentioned, It is for case. So, I already know there some part could be improved or refactored. However, Just completed to provide expected case.

License

MIT

hm24-app's People

Contributors

mehmetcanhoroz avatar

Watchers

 avatar  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.