Skip to content

Latest commit

 

History

History
42 lines (27 loc) · 703 Bytes

File metadata and controls

42 lines (27 loc) · 703 Bytes

StageFinder

StageFinder app API service.

Prerequisites

  • Node.js 20.6.0 or higher
  • Npm
  • MongoDB

Getting Started

Run a Docker container of MongoDB

docker run -d --rm -e MONGO_INITDB_ROOT_USERNAME=user -e MONGO_INITDB_ROOT_PASSWORD=secret -p 27018:27017 --name mongodb mongo:8.0
  • Create application configuration
cp .env.example .env
nano .env

In the .env file, set the MONGODB_URL to mongodb://127.0.0.1:27017/stagefinder

Installation

  • Install dependencies
npm install
  • Start Application
npm start

The application is launched by Nodemon, which automatically restart the application on file change.