Skip to content

Latest commit

 

History

History
20 lines (16 loc) · 510 Bytes

README.md

File metadata and controls

20 lines (16 loc) · 510 Bytes

Environment

cp .env.example .env # Copy the environment file

PORT=3000 # Port to run the server (default 3000)
MONGO_URI=mongodb://user:user@localhost:27017 # MongoDB URI

Express

yarn install # Install the dependencies

yarn start # Start the server

yarn dev # Start the server in development mode

Dependencies

  • express - Web framework
  • mongoose - MongoDB ORM
  • dotenv - Environment variables
  • tsconfig-paths - Resolve aliases in ts-node
  • ts-node - Run typescript files