This project is for managing the time and prioritizing the task
Fork the repository & clone the repository using -
git clone https://github.com/{your_github_username}/time_managment_tool.git
Note - Your docker-deamon should be online
# Give the permission to execute the setup file
chmod +x setup.sh
# Run the setup script file
docker-compose up
Open the time_management_tool
directory in your preferred code editor or IDE.
Open a terminal for the directory, then run the following command in the terminal to install all the dependencies.
npm install
In the root of the directory, create a .env
file by copying the .env.example
file.
cp .env.example .env
In the .env
file, set up the application environment and authentication routes.
NODE_ENV=development
You can use a cloud service like Neon or Supabase, or run a local instance with Docker -
docker run -d \
--name cms-db \
-e POSTGRES_PASSWORD=password_db \
-e POSTGRES_DB=time_management \
-p 5432:5432 \
postgres
Update the .env
file with your PostgreSQL connection details -
DATABASE_URL=postgresql://postgres:password_db@localhost:5432/time_management
DATABASE_URL
to your cloud provider's URL.npm run db:generate
Run the application in development mode -
npm run dev
Visit the application at -
http://localhost:3000
npm run ui:add