To build a task management system to handle user authentication, authorization and access management.
Youtube : https://youtu.be/7gSmqpifMhE?si=w6Kj16uWOxy7vrNz
To run , clone the repo git@github.com:Madraceee/gira.git
docker-compose up
The Frontend is accessible from http://localhost:3000
The Backend is accessible from http://localhost:8080
There are 2 types of users
- Master
- Member
Epics are the problem/project to be solved. Sprint is a fixed time period where teams complete the work. Tasks are smaller problems/work which are assigned to members and completed by them.
Master is like a scrum master. Master can create an Epic, make tasks, assign them to sprints.
- Master can Create an EPIC
- Master can invite MEMBERS to EPIC
- Master can create TASKS, sprints
- Master can assign TASKS to others.
- Master can create ROLES for TASKS and EPICS.
- Master can assign ROLES to MEMBERS.
- Master can remove assigned members from TASK
- Master can remove MEMBERS from EPIC
Member resembles anyone in a scrum team. They are invited to EPICS by a MASTER. Each member gets their task assigned by MASTER. For each task Developer can be a DEVELOPER or VIEWER
- Developer has full control over the assigned task
- View can only look at the tasks
GIRA allows the MASTER to create custom roles for the members.
Members can enjoy the priveledges provided by the roles assigned to them.
GIRA provides 3 methods to fully organise the task
Epic is the super set of all problems/tasks. It contains a requirement, features which are to be implemented.
Each Epic is broken down into TASKS
Each task is a small problem assigned to a member. GIRA allows members to update the task report lively which can be tracked by everyone.
A task contains a requirement, start date and end date which is set initially.
The assigned members can then update the task
The fields can be updated as and when required.
Sprint
Sprint is a timeline within which a big task is solved.
Each EPIC can have nultiple sprints.
A Task can be assigned to a sprint
- All endpoints are secured, only Authenticated users can access
- All CRUD operations can be accessed up Authorized users only.
- Users can Disable their account. Masters cannot add them or assign them task. BUT the information will exist.
- Users can Delete their account. This removes all the data.
- Responsive UI for the users
Master
Login into the site or create a new acc.
Create Epic
Invite Members
Create Roles
Assign Roles and Tasks to members
Once completed DELETE EPIC
Member
Create or Login into account
Wait for Scrum master to add you :)
Once in an EPIC, tasks can be finished
If docker is not working
cd ./frontend
npm i
npm run dev
Req: https://github.com/pressly/goose
Create a .env file in ./backend
PORT={YOUR PORT} DB_URL={DB URL WITH USERNAME PASSWORD AND DATABASE}
In backend directory run
goose -dir ./internal/sql/schema postgres {DB_URL} up
Once migration is over, run
go build -o main && ./main