Recycleio API is a RESTful web service that allows users to create and manage waste collection requests. It was developed using Node.js, Express, and MySQL.
To get started with the Recycleio API, follow these steps:
- Clone this repository to your local machine.
- Run
npm install
to install the project dependencies. - Copy the
.env.example
file to.env
and update the database credentials. - Run the database migrations using
npx sequelize-cli db:migrate
. - Start the application using
npm start
.
The Recycleio API provides the following endpoints:
HTTP Method | Endpoint | Description |
---|---|---|
GET | /users | Returns a list of all users. |
POST | /users | Creates a new user. |
DELETE | /users/:id | Deletes the user with the specified ID. |
Contributions to the Recycleio API are welcome! To contribute:
- Fork this repository.
- Create a new branch for your feature or bug fix.
- Commit your changes with clear commit messages.
- Push your changes to your fork.
- Submit a pull request.
The Recycleio API is open source software licensed under the MIT license.# Recycleio API