Giter Club home page Giter Club logo

gympoint's Introduction

Gympoint - API

Gympoint is a RocketSeat’s back-end project that I need to do a full api, with database communication and many routes with treat. Also using middlewares, docker, postgres, debug on vscode and other things. It is being used as a study project to improve my hard skills. This challenge is part of the course conclusion.

Features:

  • Session;
  • Create user;
  • Update user;
  • Create student;
  • Update student;
  • Show all students;

Routes:

Method Action Header Body Path
POST session [ ] B1 /sessions
POST create-user [ "token" ] B2 /users
PUT update-user [ "token" ] B3 /users
POST create-student [ "token" ] B4 /students
PUT update-student [ "token" ] B5 /students
GET show-students [ "token" ] /students
B1

Request body for session

{
    "email": "[email protected]",
    "password": "123456"
}
B2

Request body for create-user

{
    "name": "Alan Turing",
    "email": "[email protected]",
    "password": "123456"
}
B3

Only attributes that you wanna change. Request body for update-user

{
    "name": "Alan Turing",
    "email": "[email protected]",
    "oldPassword": "123456",
    "password": "1234567",
    "confirmPassword": "1234567",
}
B4

Request body for create-student

{
    "name": "Alan Turing",
	"email": "[email protected]",
	"age": 107,
	"height": 1.75,
	"weight": 70.00
}
B5

Only attributes that you wanna change. Request body for update-student

{
    "name": "Alan Turing",
	"email": "[email protected]",
	"age": 107,
	"height": 1.75,
	"weight": 72.00
}

gympoint's People

Contributors

igor-nm avatar jpcmf avatar

Watchers

James Cloos avatar  avatar

gympoint's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.