/node-api-bootstrap

Node API bootstrap using Typescript with Express, Mongo and Jest.

Primary LanguageTypeScript

Node API Bootstrap

Node API bootstrap using Typescript with Express, Mongo and Jest. Simple to start a new node API project with a good base configuration and a solid file structure.

Requirements

You need to have node installed

You need to have MongoDB running on your machine

1. Setup

yarn install

duplicate the file config/local.env.sample.ts and rename it to local.env.ts

2. Run

yarn dev

3. Test

yarn test

4. Build

yarn build

Contributions

Clone repo:
git clone git@github.com:marco-martins/node-api-bootstrap.git

TODO

  • Add scripts to generate the models and controllers