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

https://github.com/kzamanbd/express-practice

A simple express app
https://github.com/kzamanbd/express-practice

docker docker-compose express mongoose nginx nodejs socket-io

Last synced: 3 months ago
JSON representation

A simple express app

Awesome Lists containing this project

README

          

# Express Js

Simple Basic Express Js application

## Features

- Authentication (JWT)
- Authorization (JWT)
- CRUD Operations
- File Upload
- Chat Application (Socket.io)
- Dockerize Application
- Scale Application
- Logging (Winston)

## Run Application

To run the application copy the .env.example to .env and update the values

```bash
npm install
npm start
```

## Dockerize Application

To run the application in docker container

```bash
docker-compose up -d --build
```

## Run Application Scale Mode

To run the application in scale mode

```bash
docker-compose up -d --build --scale express-app=3
```

## Show Application container Logs

To show the application container logs

```bash
docker logs -f
```