This cool API is going to be used for tracking your time.
For now, I just created some end points for starting, pausing and adjusting time for one project, however, it should be easily add more features soon.
- Clean architecture (Mix of onion architecture);
- CQRS
- Event Sourcing
- DDD
- .NET Core 1.1
- XUnit
- EF Core
- Docker
- Migrations
- Postgres
- Microsoft .NET Core - Version: 1.1.0
- Docker - Version: 1.13.0
git clone git@github.com:mayconbeserra/timetracking.gitcd timetrackingdotnet restoredocker run --name postgres-timetracking -p 5432:5432 -e POSTGRES_PASSWORD=sql -e POSTGRES_DB=timertracking -d postgres:latestdotnet run -p Visma.TimeTracking.MigrationsEventSourcingdotnet run -p Visma.TimeTracking.MigrationsProjection- (Mac or Linux)
export DB_CONNECTION_STRING="Host=localhost;Port=5432;Database=timertracking;UserID=postgres;Password=sql;Pooling=true;" - (Windows)
set DB_CONNECTION_STRING="Host=localhost;Port=5432;Database=timertracking;UserID=postgres;Password=sql;Pooling=true;" dotnet run -p Visma.TimeTracking.API
- Please, after exec the API, you can access
http://localhost:5000/swagger/index.html