Giter Club home page Giter Club logo

authentication's Introduction

authentication

codecov

Service to handle JWT and Firebase services. To be accessed from backend.

Configuration

The configuration file is located in config/config.yml. It provides configuration for

  • The port where the service will be listening for requests
  • The amount of hours the tokens will be valid for.

Launching directly

go get .
go run . 

Tests

go test

Launching through Docker

docker build --tag IMAGE_NAME .
docker run --rm -p 8002:8002 --name CONTAINER_NAME IMAGE_NAME

Where IMAGE_NAME is the name chosen in the previous step and CONTAINER_NAME is a name to identify the container running the app
Notice --rm tells docker to remove the container after it stops, and -p 8002:8002 maps the port 8002 in the container to the port 8002 in the host.

authentication's People

Contributors

facundopareja avatar marianocinalli avatar

Watchers

 avatar

authentication's Issues

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.