Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/jetsadawijit/project-express-reg-lg
https://github.com/jetsadawijit/project-express-reg-lg
Last synced: about 1 month ago
JSON representation
- Host: GitHub
- URL: https://github.com/jetsadawijit/project-express-reg-lg
- Owner: JetsadaWijit
- License: mit
- Created: 2024-05-31T11:32:49.000Z (7 months ago)
- Default Branch: master
- Last Pushed: 2024-06-07T10:42:41.000Z (7 months ago)
- Last Synced: 2024-06-08T12:10:27.273Z (7 months ago)
- Language: JavaScript
- Size: 16.6 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
## Info
`This is a Node.js project using the Express framework to create a sample registration and login system`
# `Tools`
`Docker`## Environment Variables (needed)
`PORT` = `3000``SESSION_SECRET` = `node -e "console.log(require('crypto').randomBytes(256).toString('hex'))"`
# Running the Project
We use a `Dockerfile` to run this project for testing. Follow these steps:
- docker build -t {image} .
- docker run -d -p {port}:{port} {image}image is the name of the service, which we will set as the project name.
port is the port number used to run the server.