GithubHelp home page GithubHelp logo

phuctm97 / go-restful Goto Github PK

View Code? Open in Web Editor NEW
77.0 77.0 15.0 77 KB

๐Ÿš€ A real world production-grade RESTful Web Services proof-of-concept project.

License: Apache License 2.0

Go 71.85% Shell 8.01% Dockerfile 20.14%
clean-architecture docker go go-modules golang proof-of-concept restful vscode web-services

go-restful's People

Contributors

phuctm97 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

go-restful's Issues

Implement user-related entities components, without unique validation

Motivation

Have enterprise business rules implemented first, which are User model, its attributes and a set of validation methods:

  • Username: unique, only allow digits, underscores, dashes, dots and alphabetical letters, begins with an underscore or alphabetical letter, at least 1-character length and at most 32-character length.
  • Email: valid and unique.
  • Full name: at least 1-character length and at most 128-character length.
  • Bio: optional, at most 256-character length.

Unique validation should not be implemented now, because it involves interface adapters, which need to be defined later.

Document base directory structure

Motivation

Developers know what responsibilities that specific files or directories take and know which they should focus on when they're resolving specific issues.

Fix VSCode Remote-Containers workspace mount

Motivation

Local workspace is currently mounted to default directory defined by VSCode Remote-Containers (/workspaces/go-restful), which is a wrong location for a Go package.

Local workspace should be mounted to /go/src/github.com/the-evengers/go-restful instead.

Support VSCode remote container development

Motivation

Be able to use container as full-time development environment with local-quality VSCode development experience โ€” including full IntelliSense (completions), code navigation, and debugging.

Implement a simple HTTP view as PoC

Motivation

Get to know how to declare HTTP views and handle HTTP requests in Go.
Select a package (or some packages) to achieve HTTP features.
Define a mechanism to declare HTTP views.

Support go-dep as dependency management

Motivation

To have proper Go dependency management.

Acceptance criteria

  • go-dep installed and usable in dev container.
  • dep ensure should be run once VSCode Remote-Containers attached containers.
  • .gitignore should be updated appropriately.
  • .vscode/settings.json should be updated appropriately to ignore auto-generated files.

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.