The TaskLink API provides backend services for the TaskLink task management application. It handles user registration, task creation, updating, listing, and deletion.
- Node.js: A JavaScript runtime built on Chrome's V8 JavaScript engine.
- Express.js: A web application framework for Node.js.
- Nest.js: A progressive Node.js framework for building efficient, reliable, and scalable server-side applications.
- Prisma: A modern database toolkit for Node.js and TypeScript.
- PostgreSQL: An open-source relational database management system.
To get a local copy of the TaskLink API up and running, follow the steps below.
-
Clone the repository:
git clone https://github.com/guifelippe/ApiTaskLink.git
-
Change your current directory to the project folder:
cd ApiTaskLink
-
Create a .env file in the root directory and configure your environment variables, including the database connection details and any other relevant settings.
-
Start the development server:
npm run start
-
The API server will be running at http://localhost:3000.
- POST /create-user: Register a new user.
- POST /login: Signin.
- POST /create-task: Create a new task.
- GET /get-tasks/:userId: Retrieve all tasks for a user.
- PUT /update-task/:taskId: Update a task's details.
- DELETE /delete-task/:taskId: Delete a task.
The source code for the TaskLink website is available in repository :TaskLink GitHub Repository.