This is a full-stack task management application with a React frontend and a Go backend, using PostgreSQL for the database.
The application is live at the following URLs:
- Frontend: https://tasktrackhub.netlify.app
- Backend: https://task-manager-ov06.onrender.com
- Go
- PostgreSQL
- Node.js and npm (for the React frontend)
-
Install PostgreSQL and create a new database.
-
Set up your database user and password, ensuring they have the necessary permissions to access and modify the database.
-
Update the backend
.env
file with your database credentials and other environment variables.
-
Clone the repository and navigate to the
backend
directory:git clone https://github.com/souravkumar0546/TaskManager cd backend
-
Install dependencies:
go mod download
-
Set up environment variables (e.g., in a
.env
file):DB_HOST=your_database_host DB_USER=your_username DB_PASSWORD=your_password DB_NAME=your_database_name DB_PORT=your_database_port API_URL=your_backend_app_url APP_URL=your_frontend_app_url
-
Run the backend server:
go run main.go
-
Navigate to the
frontend
directory:cd frontend
-
Install dependencies:
npm install
-
Update Backend URL:
- Navigate to
src/services/apiService.js
. - Locate and update the
API_URL
constant with your backend URL.
- Navigate to
-
Run the frontend development server:
npm start
- User authentication
- Task management with CRUD operations
- Task filtering and searching capabilities
- User profiles with avatars
- Responsive design for both desktop and mobile devices
- Server-side validation and error handling
- New User Default Avatar: Upon signup, each new user is assigned a default avatar. Users can change their avatars in the profile section.
- Third-Party Cookies: If you encounter issues with logging in or fetching tasks, ensure that third-party cookies are enabled in your browser. This is necessary for the application to manage authentication correctly when accessing cross-site resources.