- Repositories (mock)
- MongoDB repository implementation
- User module
- getAll
- create
- confirmMail
- authenticate
- User module tests
- Auth middleware (role based)
- Products module
- Products module tests
Run on your terminal:
git clone https://github.com/llbarbosas/typescript-solid-api
cd typescript-solid-api
yarn
cp .env.example .env
Then, you can:
yarn test
yarn start