8000 GitHub - qanghaa/togo
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

qanghaa/togo

 
 

Repository files navigation

TOGO

Description

  Simple API using Golang, Postgresql and jwt for authentication

1. How to run your code locally?

  • Requirements

  • Git clone repository

     git clone https://github.com/qanghaa/togo.git
  • Go to togo📂 directory

  • Using docker-compose commands with root permission

     # this command make sure next command working as expected
     sudo docker-compose down --volumes .
     sudo docker-compose up

2. Sample “curl” Command:

  API Document: here
  Note: Using Bearer Authorization Header for endpoints required

3. How to run your unit tests locally?

  • Go to togo📂 directory
  • type in cmd:
    go test ./...

4. What do you love about your solution?

  Overall, nothing outstanding. However I quite like the payment feature. Although the implementation is simple, it will help the user become a Premium user LOL. This feature helps users to overcome the limit of creating tasks in 1 day (20 tasks/day) instead òf 10 as usual. Not related to feature, probably Docker, I spent 2 days learning and trying to work on it and I was able to use it in this project :D.

5. What else do you want us to know about however you do not have enough time to complete?

Probably Testing. I haven't writed unit test enough possible scenarios with my API yet.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Go 98.5%
  • Other 1.5%
0