backend-application
backend-application copied to clipboard
Public clone of https://git.amazingcat.net/cattr/core/cattr-backend
Cattr Backend Application
Here is an official development repository: https://git.amazingcat.net/AmazingTime/core/cattr-backend
!!!WARNING!!!
BACKEND AND FRONTEND APPLICATION HAS BEEN MERGED SINCE v4.0.0 AND NOW AVAILABLE AT https://github.com/cattr-app/server-application
About Cattr
Cattr is an open-source time tracking solution, designed to be flawlessly integrated with your infrastructure. Superpowered with features like built-in screenshot capture and activity detection, it's a great instrument to boost your team's performance straight to the top.
Screenshots
Dashboard | Project report |
---|---|
![]() |
![]() |
Demo
The demo app is available here: demo.cattr.app
Install Cattr Backend
Installation manual on the documentation website.
composer install
composer run-script config:init
Don't forget to init git submodules
After should be edited .env
file (e.g. for DB connection)
php artisan migrate
Run Local server
local server by default will be run as http://127.0.0.1:8000
php artisan serve
Migrations
-
php artisan migrate
- apply all not applied migrations -
php artisan make:migration <MigrationName>
- create new migration -
php artisan migrate:fresh
- drop all tables and re-run all migrations -
php artisan db:seed
- apply all DB seeders -
php artisan db:seed --class=<SeederClassName>
- apply specific seeders only -
php artisan make:seeder <SeederClassName>
- create new seeder
Before you will be able to work with Cattr you should run:
php artisan db:seed --class=InitialSeeder
App will not start without them
Generate IDE helpers
composer dumphelpers
Generate documentation
npm install
npm run custom-api
Then you can open apidoc/index.html
Links
https://github.com/cattr-app/desktop-application – Cattr Desktop Application. You can also download the built app for any OS from the official site.
https://github.com/cattr-app/frontend-application – Cattr Frontend Application.
https://github.com/cattr-app/backend-application – Cattr Backend Application.
Documentation
You can find the Cattr documentation on the website.
Checkout the Getting Started page for a quick overview.
Questions
For questions and support please use the official forum.