todos

module
v0.0.0-...-a131ce6 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 20, 2023 License: MIT

README

TODOs: A todo-list written in Go, with Clean Architecture.

Build Status Go.Dev Go Report Card codecov

If github failed to render mermaid graphs, click the button below to see the Documentation at HackMD

hackmd-github-sync-badge

It's a project based on Advanced patterns for building APIs and web applications in Go,

I modify the architecture of code to clean architecture, change the purpose of the code (from movie information service to todo list), add some tests, deploy it to my own server in digitalocean. You can visit the api at API Endpoint

[TOC]

Quick Start

Clone the repository

$  git clone https://github.com/unknowntpo/todos.git

Use the default .envrc file

cp .envrc.example .envrc

Set up mailtrap for receiving email (for testing purpose)

Change username and password in app_config-dev.yml to your username and password.

smtp:
    host: "smtp.mailtrap.io"
    port: 25
    username: "<your-username>"
    password: "<your-password>"
    sender: "TODOs <[email protected]>"

Run the project

$ make run/compose/up

Stop the project

$ make run/compose/down

Warning:

Please Use this dummy user for testing at production environment because the production server is not ready for sending email to your email account yet!

email: [email protected]
password: pa55word

Project Walkthrough

TODOs - Project Walkthrough

🚧 Not Finished!

Directories

Path Synopsis
cmd
Package docs GENERATED BY THE COMMAND ABOVE; DO NOT EDIT This file was generated by swaggo/swag
Package docs GENERATED BY THE COMMAND ABOVE; DO NOT EDIT This file was generated by swaggo/swag
internal
pkg

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL