slack-url-shortener

Project Type

Backend backend is done with Node.js and Express.js
Databse used is MongoDB Atlas

Deployed link

https://slack-url-shortener.onrender.com/

slack chanel invitation link

https://join.slack.com/t/peoplebox-assignment/shared_invite/zt-2d720xx4x-Q6Ohz0f5znshfs6heiCtgQ (nk is only valid for 29 days from when it added)

demonstration vidio

https://www.loom.com/share/9508b2d79fd545148e0af9a664383623?sid=c4c22c8d-045a-4068-a053-43d5226fb723

Directory Structure

slack-url-shortener/
├─ config/
├─ controllers/
│ ├─ urlRoute.js
├─model
| ├─urlmodel.js
├─index.js

Installation & Getting started

clone the repository

npm install
npm start


## API Endpoints

POST api/slack/events - to get the event from slack and emit messages back <br/>
GET /api/:encoded  - to get the original longURL from shortURL and redirecting to the original URL

## Technology Stack
List and provide a brief overview of the technologies used in the project.

- Node.js
- Express.js
- MongoDb
- slack api