This is a backend project built with Node.js, which provides two API endpoints for fetching data. The API endpoints are:
To fetch tasks data, make a GET request to /tasks
. The response will contain a JSON object of tasks data.
To fetch users data, make a GET request to /users
. The response will contain a JSON object of users data.
- Clone the repository to your local machine.
- Run
npm install
to install the dependencies.
- Run
npm run dev
to start the server. - The server will listen on port
5001
by default. You can access the API endpoints using the base URLhttp://localhost:5001
.
- Node.js
- Express.js