Coder Social home page Coder Social logo

npm-free-registry's Introduction

$# npm-free-registry A registry implementation compatible with npm registry protocol.

This registry is born out of the idea to have a free and extensible registry which is compatible with the npm client. The registry is (will be) used as backend for the Openscad-Module project.

The development of the registry is based on the following guidelines:

  • seperation of application and backend (this is the main drawback of the npm-registry-couchapp backend)
  • extensibility and plugability (in the future, we want to try out microservice architectures)
  • agile, test-driven development with continuous integration and continuous delivery
  • Hyper-* (tm) :-)

Registry API specification

Roadmap

  • Implementation of API Spec. from NPM by reimplementing npm-registry-couchapp backend
  • Integrate services on backend side supporting Openscad-Module project:
    • linting service for openscad-modules
    • namespace conflict warnings
    • semantic versioning checks (as far as possible)
    • more to be added...

Development

Getting started

  1. First, you need to install docker-ce and docker-compose
  2. Run the following command to start up the REST API:
$ docker-compose up
  1. That's it. Now, you should be able to fire some requests against your local running API under http://localhost:3000.

Tests

  • To run all test (e.g. unit and acceptance) use the following command:
$ docker-compose run --rm api npm run test
  • If you only want to run a specific set of tests, use:
$ docker-compose run --rm api npm run test:<unit | acceptance>

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.