https://github.com/mannoeu/ecoleta-backend
♻️The backend of a platform that provides waste disposal in an ecological way.
https://github.com/mannoeu/ecoleta-backend
Last synced: about 1 month ago
JSON representation
♻️The backend of a platform that provides waste disposal in an ecological way.
- Host: GitHub
- URL: https://github.com/mannoeu/ecoleta-backend
- Owner: mannoeu
- Created: 2020-06-03T18:38:45.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2023-01-11T02:57:47.000Z (over 2 years ago)
- Last Synced: 2025-02-09T11:18:16.884Z (3 months ago)
- Language: TypeScript
- Size: 380 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 10
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
♻️ The backend of a platform that provides waste disposal in an ecological way.## About
A platform to connect companies and entities that work with the collection of recyclable waste to people who need to dispose of their waste in an ecological way.
## Technologies
- Node.js
- TypeScript
- Express
- Cors
- Knex
- SQLite3
- Multer
- Celebrate## Usage
Change a URL for your ip in the files:
[ItemsController](src/controllers/ItemsController.ts)
[PointsController](src/controllers/PointsController.ts)```
image_url: `http://10.0.0.105:3333/uploads/${point.image}`,
```Run migrates
```
npm run knex:migrate
```Add collection items
```
npm run knex:seed
```Run application on http://locahost:3333/
```
npm run dev
```