/desafiowevy

Primary LanguageTypeScript

logo wevy task ref: freepik WevyTask Project | Wevy Challenge

💙 This project is a simple to-do list application, developed in Node.js with Fastify on the backend and React on the frontend.

alt text alt text

Features

  • Authentication:

    • User login with JWT authentication.
    • Logout functionality.
  • Tasks:

    • Full CRUD operations for tasks (add, update, delete).
    • Lists for pending and completed tasks.
    • Search functionality for tasks.
    • Expansion of inputs for accessibility

Technologies Used

  • Backend:
    • Node.js
    • Fastify
    • JWT for authentication
    • Prisma for ORM and database interaction
  • Frontend:
    • React
    • TypeScript
    • Axios for HTTP requests

Installation

  1. Clone the repository:

    git clone https://github.com/NatanBB/desafiowevy.git
    cd desafiowevy
  2. Setup Backend:

    cd server
    npm install
    npm run dev
  3. Setup Frontend:

    cd web
    npm install
    npm start

Usage

Login:

  • Login with fixed credentials. (Obs: Logging functionality may be added in the future.)

Login with different users:

With the application running:

  • First Login:
user: admin
password: admin
  • Second Login:
user: natanboos
password: fakepasswevy

Task Management:

  • Add new tasks.
  • Mark tasks as completed.
  • Update task informations.
  • Delete unnecessary tasks or completed tasks.

Search:

  • Use the search bar to find specific tasks.

Logout:

  • End your session when done.

Contributing

Feel free to contribute improvements to this project! If you have suggestions, open an issue or submit a pull request.