Giter VIP home page Giter VIP logo

taskmanager's Introduction

Task Management Application

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:

Local Setup

Prerequisites

Database Setup

  1. Install PostgreSQL and create a new database.

  2. Set up your database user and password, ensuring they have the necessary permissions to access and modify the database.

  3. Update the backend .env file with your database credentials and other environment variables.

Backend Setup

  1. Clone the repository and navigate to the backend directory:

    git clone https://github.com/souravkumar0546/TaskManager
    cd backend
  2. Install dependencies:

    go mod download
  3. 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
  4. Run the backend server:

    go run main.go

Frontend Setup

  1. Navigate to the frontend directory:

    cd frontend
  2. Install dependencies:

    npm install
  3. Update Backend URL:

    • Navigate to src/services/apiService.js.
    • Locate and update the API_URL constant with your backend URL.
  4. Run the frontend development server:

    npm start

Features

  • 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

Assumptions and Notes

  • New User Default Avatar: Upon signup, each new user is assigned a default avatar. Users can change their avatars in the profile section.

Troubleshooting

  • 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.

taskmanager's People

Contributors

souravkumar0546 avatar

Watchers

Lucian avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.