Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/jetsadawijit/project-express-reg-lg


https://github.com/jetsadawijit/project-express-reg-lg

Last synced: about 1 month ago
JSON representation

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.