Skip to content

BrendoSPinheiro/Links-API

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

51 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

📑 About

This project aims to help you store and organize your most important and / or favorite links.

🖥 Technologies used

This project was built 100% on the express and its good practices, follows the list of dependencies used in this project.

  • Nodejs
  • Express
  • bycript
  • uuid
  • eslint
  • JsonWebToken
  • Postgres

⚙️ How to use

First clone the project

$ git clone https://github.com/BrendoSPinheiro/Links-API

🔥 Install dependencies

$ yarn

# or

$ npm install

💻 Functionalities

LinkManager(back-end) has 8 routes currently and 1 middleware the authentication:

Routes

Routes
Create User Create user
Update User User update, but for that you need to register, returning a token
Login login, but for that you need to register, returning a token
Create Link Create links, need to be logged in, to create you need to pass the valid id and token
List Links List Links, need to be logged in, to list links you need to pass the valid id and token
Find Link Find Link, need to be logged in, to find link you need to pass the valid id and token
Update Link Update Links, need to be logged in, to update link you need to pass the valid id and token
Delete Links Delete Links, need to be logged in, to delete link you need to pass the valid id and token

Middleware

Middleware
Auth Authenticates users, returning whether they have permission or not, implemented in the routes to create, update, list, find and delete links.

Releases

No releases published

Packages

No packages published