This is meant to be some basic starter code for an Express API using MongoDB written in Typescript. It has already configured Mongo, Express, Typescript, Prettier/ESLint, and Jest to make it easy to get up and running. Some of the setup is opinionated, but there is nothing that can't be changed in a new project. The goal here is simply to provide everything you need to get started quickly. Just fork the repository and go.
- Fork this repository to your own GitHub account.
- Ensure NodeJS and Yarn (for package management) are installed locally.
- Install MongoDB locally. This project is currently set to use version 4.2.15 but that can be changed.
- Install packages:
yarn install
. - Run tests:
yarn test
/yarn test:watch
. - Run API locally:
yarn start
.