Coder Social home page Coder Social logo

defra.ivory-services's Introduction

Ivory API Service

Digital service to support the Ivory Act.

(Please note that this service is best installed through ivory)

Build Status Known Vulnerabilities Code Climate Test Coverage

Development Team

This module was developed by the Ivory team as part of a digital transformation project at DEFRA, a department of the UK government

Purpose

This service is part of a suite of services and modules working together to allow self registration of ivory items as required by the ivory act.

Prerequisites

Please make sure the following are installed:

Check that your environment is running the correct versions of node and npm:

$ npm --version
6.13.4
$ node --version
v10.18.1

Installation

Clone the repository and install its package dependencies:

git clone https://github.com/DEFRA/ivory-services.git && cd ivory-services
npm install

Setting up .env

Copy the .env.example file to .env and set it up for your environment

cp .env.example .env

Running the app

Make sure instances of redis and postgres are running and accessible

Run the app using npm

npm start

Unit testing the app

Use the following npm task. This runs the StandardJS linting as well as the unit tests to produce a coverage.html report

npm test

API Documentation using Swagger

Swagger can be accessed in the path "/documentation"

Contributing to this project

If you have an idea you'd like to contribute please log an issue.

All contributions should be submitted via a pull request.

License

THIS INFORMATION IS LICENSED UNDER THE CONDITIONS OF THE OPEN GOVERNMENT LICENCE found at:

http://www.nationalarchives.gov.uk/doc/open-government-licence/version/3

The following attribution statement MUST be cited in your products and applications when using this information.

Contains public sector information licensed under the Open Government license v3

About the license

The Open Government Licence (OGL) was developed by the Controller of Her Majesty's Stationery Office (HMSO) to enable information providers in the public sector to license the use and re-use of their information under a common open licence.

It is designed to encourage use and re-use of information freely and flexibly, with only a few conditions.

Environment Variables

The required environment variables for local development can be found in the .env.example file.

defra.ivory-services's People

Contributors

surgisonb avatar ajaxscape avatar dependabot-preview[bot] avatar davidharriswork avatar dependabot[bot] 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.