https://github.com/fbukevin/nodejs-logfile-session
Sample of express project with log to file and remote session server
https://github.com/fbukevin/nodejs-logfile-session
Last synced: 17 days ago
JSON representation
Sample of express project with log to file and remote session server
- Host: GitHub
- URL: https://github.com/fbukevin/nodejs-logfile-session
- Owner: fbukevin
- Created: 2018-03-27T03:03:36.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2018-03-27T03:28:00.000Z (over 8 years ago)
- Last Synced: 2025-02-26T10:16:40.891Z (over 1 year ago)
- Language: JavaScript
- Size: 3.91 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Usage
1. `npm install`
2. `npm start`
# logfile
Use morgan logger to create access log and configure to write logs to specific file in app.js.
# session
User Redis to create session server and adopt tj/connect-redis(Redis client) in express project.