Skip to content

Latest commit

 

History

30 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Authentication

Api for an authentication service that allows for the registration/authentication of users and their retrieval.

Build Status Maintainability

Getting Started

Prerequisites

  • Ruby 2.3
  • Rails 5.1
  • Postgres
  • An RSA key pair

Installation

Environment Variables

dot-env gem is installed and so you can set up all your environment variables in a .env file at the root of the project. The following environment variables need to be set:

DB_USER = username for you DB
DB_PWD = password for your DB user
RSA_PUBLIC_KEY = Your public RSA key (don't worry about \n, they are handled)
RSA_PRIVATE_KEY = Your RSA private key (don't worry about \n, they are handled)

The production environment only needs RSA_PRIVATE_KEY and RSA_PUBLIC_KEY set up.

Database

$ bundle exec rails db:setup

Documentation

http://auth-mservice.herokuapp.com/api_docs/swagger#/Authentication

Running the Tests

bundle exec rspec

Author

About

Authentication microservice for university final year project

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages