https://github.com/datumbrain/tasker-api
Tasker API
https://github.com/datumbrain/tasker-api
Last synced: 8 months ago
JSON representation
Tasker API
- Host: GitHub
- URL: https://github.com/datumbrain/tasker-api
- Owner: datumbrain
- Created: 2024-09-27T09:52:09.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-10-08T10:00:48.000Z (over 1 year ago)
- Last Synced: 2025-08-31T16:04:16.978Z (10 months ago)
- Language: JavaScript
- Size: 53.7 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Tasker API
[](https://github.com/naumanzchaudhry/tasker-api/actions/workflows/ci.yml)
This is the API for a sample app created for [TDD in Legacy Code Transformation](https://github.com/naumanzchaudhry/tdd-in-legacy-codebase) journey
## Getting Started
### Setup .env
Copy `.env.sample` to `.env` and update the values accordingly.
Configure the `DATABASE_URL` to point to your PostgreSQL database by modifying username, password, and database name.
### Install Dependencies
```bash
npm install
```
### Start the server
```
npm run dev
```
### Run Unit Tests with [Vitest](https://vitest.dev/)
```sh
npm run test:unit
```
### Run Integration Tests with [Vitest](https://vitest.dev/)
```sh
npm run test:integration
```
### Run Component Tests with [Vitest](https://vitest.dev/)
```sh
npm run test:component
```
### Run Contract Tests with [Vitest](https://vitest.dev/)
```sh
npm run test:contract
```
### Run All Tests
```
npm run test
```
## Contributors
| Name | Role |
| ------------- | ----------------- |
| Nauman Zafar | Frontend Engineer |
| Muaviya Imran | Frontend Engineer |