Skip to content

An Node JS supercool REST API for administer users

Notifications You must be signed in to change notification settings

denisdnc/open-users

Repository files navigation

USERS SERVICES

An Node JS supercool REST API to administrate users

The idea was to build an REST API in Node JS using best practices, patterns and frameworks that can be used in an enterprise application.

Build Status JavaScript Style Guide

TODOs

  • Refactor to use promises and validate
  • Refactor to use async and validate
  • Integration Test for repositories
  • Clean up database before End to End tests

USER entity

{
    "_id": "7d092a2c-1d4f-498a-9fb7-c3a939f4c6a3",
    "email": "jack@jackdaniels.com",
    "name": "Jack Daniels",
    "createdAt": "2018-11-06T22:57:00.000Z"
}

Documentation:

access: http://localhost:3000 or doc.raml

For this, was used:

Architecture:

Design patterns:

Java Script:

Application Frameworks:

Testing Strategies

Testing Frameworks:

Code quality tools:

Package manager:

Running:

  • clone the repository
  • "docker-compose up" in main directory
  • "npm install" to install dependencies
  • "npm start" to start the application
  • "npm test" to run @unit and @component tests
  • "npm test -- --grep @unit", to run only unit tests
  • "npm test -- --grep @component", to run only component tests
  • "npm test -- --grep @e2e", ro run only end to end tests
  • "npm run lint-js" to lint js files
Refencences:

About

An Node JS supercool REST API for administer users

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published