Skip to content

a personal site backend service build with express and mongodb

License

Notifications You must be signed in to change notification settings

Jin-Yanhong/blogServer

Repository files navigation

Personal website backend service

this is backend service, the website is here

Technology stack

  • Express.js
  • MongoDB
  • Mongoose
  • Redis
  • jwt
  • multer
  • multer-gridfs-storage

Recommend VScode editor settings

{
	"eslint.enable": true,
	"eslint.alwaysShowStatus": true,
	"eslint.quiet": true,
	"eslint.lintTask.enable": true,
	"eslint.run": "onSave",
	"eslint.validate": ["javascript", "javascriptreact", "html", "vue", "typescript", "typescriptreact"],
	"eslint.format.enable": true,
	"prettier.arrowParens": "avoid",
	"prettier.bracketSpacing": true,
	"prettier.embeddedLanguageFormatting": "auto",
	"prettier.htmlWhitespaceSensitivity": "strict",
	"prettier.insertPragma": false,
	"prettier.jsxSingleQuote": true,
	"prettier.printWidth": 360,
	"prettier.proseWrap": "always",
	"prettier.quoteProps": "as-needed",
	"prettier.semi": true,
	"prettier.singleQuote": true,
	"prettier.tabWidth": 4,
	"prettier.trailingComma": "es5",
	"prettier.useTabs": true
}

How to start

you should startup your mongoDB server and redis server, next run the flowing command

npm i

and then, run the command below

npm start

Releases

No releases published

Packages

No packages published

Languages