Sign inSign up

frontendermagazine/user

By frontendermagazine

•Updated over 7 years ago

users micro-service

Image
0

100K+

frontendermagazine/user repository overview

⁠user.frontender.info

Service to control users

⁠Installation

⁠Environment variables

Copy ./.env.sample to ./.env end make sure all variables are set. You may enter any JWT_SECRET value, but make sure to be consistent in all projects with jwt authorization.

cp ./.env.sample ./.env
vi ./.env
⁠MongoDB

Download and run MongoDB Server⁠. You should also set configuration for different environments in the ./config/application.YOUR_ENVIRONMENT.json. Don't forget to create database. In MongoDB console run use fm;

⁠Build

Install dependencies and build project.

npm i
npm run build
npm start

Then you may access service on http://localhost:3055/⁠.

Tag summary

Content type

Image

Digest

Size

27.8 MB

Last updated

over 7 years ago

docker pull frontendermagazine/user