GithubHelp home page GithubHelp logo

person-microservice's Introduction

Person Microservice

๐Ÿš€ Getting Start

This microservice was created with the purpose of having a module, in Node js, for creating and maintaining the registration of a system. Below you will get information on what technology was used, how to run the application, among other information

โ›น๏ธโ€โ™‚๏ธ Run aplication

The application runs on the door 3333. If you need to change, change directly in the env

  1. Go to the root of the project and run the docker:
docker-compose up -d
  1. To start Adonis js you must run
adonis key:generate

adonis server --dev
  1. Migration run:
adonis migration:run

๐Ÿ›ค Routes

(POST) /user => Create user
(POST) /user/verifyEmail => Validates the email using the token
(POST) /user/session => Creates the user session

๐Ÿ” Inter-service authentication

Get the APP_KEY in the .env and pass the request header. Imagine i have this app key 1f9d0DA209fas so I will declare as follows:

curl --request POST \
  --url .../user \
  --header 'app-key: 1f9d0DA209fas`' \
  --data '{
      ...
  }'

Ready requests will only work if the other micro service has the app_key.

๐Ÿ‘จโ€๐Ÿ’ป Technology

AdonisJSย  ย  ย  Adonis Personย  ย  ย  Adonis Bullย  ย  ย  Redisย  ย  ย  Dockerย  ย  ย 

๐Ÿคž Coming Soon

  1. Email update
  2. Password update
  3. Forgot password

person-microservice's People

Watchers

 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.