GithubHelp home page GithubHelp logo

fyp_user_service's Introduction

Where you should clone this project

At $GOPATH/src/rj, git clone this project.

Pre

For TLS cert

https://workaround.org/ispmail/jessie/create-certificate

In development (Deprecated)

openssl req -newkey rsa:4096 -nodes -sha512 -x509 -days 3650 -nodes -out ./key/certs/mycert.pem -keyout ./key/private/mykey.pem

In production (Deprecated)

openssl genrsa -out ./key/private/mykey.pem 4096

openssl req -new -key ./key/private/mykey.pem -out ./key/certs/mycert.csr

Docker Compose

MongoDB

Server

Some Dependecies

go get google.golang.org/grpc

go get google.golang.org/api/oauth2/v2

Folder Structure

  • api
    • proto
      • ${services}.proto
  • cmd
    • - main.go (setup server)
    • key (dir that save key)
  • pkg
    • api
      • ${services}
        • ${services}.pb.go
    • service
      • ${services}
        • ${services}.go (file, main part of the service)
        • src (dir for any extra go program)

For more of google services, please look at https://github.com/googleapis/google-api-go-client

fyp_user_service's People

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.