Skip to content

Starter template for a backend using Node.JS, Typescript, TypeORM, Inversify and Mongodb

Notifications You must be signed in to change notification settings

aescarcha/node-typeorm-inversify-mongo-backend

Repository files navigation

Node.JS, Typescript, Express, TypeORM, Inversify and Mongodb started

This is a starter template for a backend in Node using the mentioned technologies, it implements endpoints on /api/v1/users to handle login using passport

Running

To run the starter template, just run

npm ci
npm run start

The backend will bind to port 3000 and listen there. Keep in mind it will crash if you don't have a mongodb instance running in port 27017 (check config/default.json for the expected credentials, or change them)

To run mongo on Docker and bind to the port:

docker run -d  --name mongo-container \
-e MONGO_INITDB_ROOT_USERNAME=example \
-e MONGO_INITDB_ROOT_PASSWORD=example \
-p 27017:27017 mongo

To see Mysql version check the mysql branch

About

Starter template for a backend using Node.JS, Typescript, TypeORM, Inversify and Mongodb

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published