Advanced template for Node + Typescript
Usage
- Clone this repository
- Remeber to delete
.gitignore
and then rungit init
to start your own git
Dependencies
- Run
yarn
ornpm install
if you're using npm
Creating database (not necessarily docker)
sudo docker run --name postgresDatabase -e POSTGRES_PASSWORD=docker -p 5432:5432 -d postgres
sudo docker run --name mongoDatabase -p 27017:27017 -d -t mongo
Enviroment
- Duplicate
.env.example
to create.env
and.env.test
and put the variables there
Features
-
Pre Setup Made
- JWT Authentication
- Yup validation
- Tests with Jests
-
Code Formatter
- Eslint
- Prettier
- Module import
@
- Import Helpers