Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Easy Server to use in any project

NotificationsYou must be signed in to change notification settings

poode/readyServer

Repository files navigation

Server Feature

  • Logger using winston.
  • Most important middlewares.
  • We can use it with http or https via environment variables.
  • Socket support (http & https) but not working with cluster (known issue it needs socket Adapter with redis server).
  • Implemented Localized and translation could be found in (req.app.locals.trans) Object.
  • Response compressor for response size more than 1 M.
  • Graphql implemented (The Example is not working but it is for clarifications)

How to Use

  • clone repogit clone https://gitlab.com/Fagr/readyServer.git.
  • runnpm i.
  • create.env file usingcp .env.example .env.
  • runnpm run secret to generate secret key will be used to hash passwords or any use in environment variable calledAPP_SECRET.
  • runnpm run start to start server.
  • runnpm run dev to start server withnodemon for development.
  • please follow .env.example comments.
  • to use graphql open (http://localhost:3000/graphql) Note: orhttps if you used it and maybe another port as per.env file pre-configration by you.

Examples for APIs

  • Inapi/v1 folder

About

Easy Server to use in any project

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published

Contributors2

  •  
  •  

[8]ページ先頭

©2009-2025 Movatter.jp