Skip to content

safesuk-dev/express-mongo-typescript-template

Repository files navigation

template express api - mongo

Feature in this template

  • example of rest

  • example of graphQL

  • swagger

  • unit test

  • mongo as database

  • auth?

Swagger url

# example
http://localhost:3000/api-docs/

graphQL playground

http://localhost:3000/pg

How to run project

# npm
npm i
npm start # or npm run dev

# yarn
yarn
yarn start # or yarn dev
npm run build

Do not use mongo dev in production 🔥🔥🔥

MONGO_CONNECTION_STRING

mongodb://mongoadmin:secret@localhost:27017

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published