/gostack-backend-gobarber

Backend in Node.js for the GoBarber Project from Rocketseat GoStack class.

Primary LanguageTypeScript

GoBarber's Backend

  • ⚙️Node.js
  • 🧑🏻‍💻TypeScript
  • 💪🏻SOLID
  • ⚛️JWT

This project consists of a Node.js Server to provide the usability of GoBarber Web and GoBarber Mobile

Steps to use

  • Clone it
  • Run yarn inside it's folder
  • Run yarn dev:server

and you are good to go! 🙂

server will be listening at

🌐 http://localhost:3333/

Endpoints

Appointments

  • List appointments: [GET] - /appointments

  • Create appointments: [POST] - /appointments

  • Update appointments: [PUT] - /appointments/:id

  • Delete appointments: [DELETE] - /appointments/:id

Auth

  • Login: [POST] - /sessions

Users

  • List: [GET] - /users
  • Create [POST] - /users
  • Update Avatar [PATCH] - /users/avatar
  • Delete User [DELETE] - /users

Enjoy!

OBS: This is a Work In Progress

Give a star if you found it 👍🏻