DEV Community

Cover image for How to track your coding time
Leo
Leo

Posted on

How to track your coding time

Have you ever wondered how much time you spend coding, if so, is there a way to track it. The extension Wakatime is available for many IDE's and text editors with this extension you can easily track your time: WakaTime - Dashboards for developers

Every week they email you a report and they have an option to display your time on Github

Image description

Personally I use it because I'm interested how much time I code per week, but it's also cool to show my friends the time on Github :D

Do you use Wakatime or don't like it?

Top comments (1)

Collapse
 
thomasbnt profile image
Thomas Bnt ☕ • Edited

Wakatime is a great tool!
I use this tool on most of my projects to see the time. Like on this project :

GitHub logo thomasbnt / DW_P7_Groupomania_backend_OC

Projet n°7 OpenClassrooms Développeur Web. — Partie Backend.

Fait avec MariaDB Propulsé par Prisma Réalisé avec ExpressJS Codacy Badge Wakatime

Groupomania logo

Projet n°7 OpenClassrooms Développeur Web. — 24 août 2022.

Introduction

Cette partie est spécialement pour le backend du projet. Il est sous ExpressJS côté serveur, et sous MariaDB côté base de données Pour le choix de l'ORM, Prisma a été choisi.

Note

Si vous souhaitez voir la page frontend, veuillez vous rendre sur ce dépôt GitHub.

Partie Backend

Installation

Pour pouvoir exécuter ce projet, veuillez suivre ces étapes.

  1. Installez NodeJS (>= 16.10) et npm.
  2. Installez les dépendances nécessaires.
  3. Copiez le fichier .env.example en .env et remplacez les valeurs par vos propres.
  4. N'oubliez pas d'avoir un accès à votre base de données MariaDB
  5. Exécutez le script backend, à coup de npm run serve. Port 3000
  6. Vous pouvez maintenant accéder à l'API.
  7. Pour la tester, allez sur localhost:3000/status devrait vous renvoyer un message de succès.

Configuration du .env

Exemple de .env :

FRONTEND_URL=http://localhost:5000
DATABASE_URL=mysql://USER:MDP@IP:3306/BDD
Enter fullscreen mode Exit fullscreen mode

Note &gt…