/base-mvc

Skeleton for model-view-controller projects

Primary LanguageTypeScript

MVC Skeleton

Description

Skeleton for TypeScript/MongoDB/Mongoose projects, using the Model-View-Controller architectual pattern, Repository desing pattern and Mappers.

Features Docker files so it can be containerized and easily deployed. (You need Docker installed to use this feature).

Setup

1º Create a MongoDB database instance > Tutorial

2º Copy the connection URI to the MONGO_URI env variable (see .env.example).

3º Open a new terminal in the project root directory, type:

npm i
npm run dev