Skip to content

Commit

Permalink
update README endpoints paths
Browse files Browse the repository at this point in the history
  • Loading branch information
gruvix committed Jan 31, 2024
1 parent d3fbd9d commit b8171f5
Showing 1 changed file with 6 additions and 8 deletions.
14 changes: 6 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ This proyects implements a CRUD (create, read update delete) of football teams w

`npm install`

`npm run dev:templateNodemonConfig`
`npm run dev:templateNodemon`

The server will run on port 8000.

Expand All @@ -25,24 +25,22 @@ main adress: `localhost:8000`

Homepage: `/` (GET)

Login: `/login` (POST)
Login: `/user/login` (POST)

Teams list: `/user/teams` (GET)
Logout: `/user/logout` (POST)

Team details: `/user/teams/:teamId` (GET)
Teams list: `/user/teams` (GET)

Edit a team: `/user/teams/:teamId` (PATCH)
Team details: `/user/team/:teamId` (GET, PATCH, PUT, DELETE)

Delete a team: `/user/teams/:teamId` (DELETE)
Add a team: `/user/team/add` (GET, POST)

Reset a team: `/user/reset/:teamId` (PUT)

Reset all teams: `/user/reset/all` (PUT)

Error page: `/error` (GET)

Logout: `/logout` (POST)

## Credits
[Javascript Course Argentina Programa](https://argentinaprograma.com/)

Expand Down

0 comments on commit b8171f5

Please sign in to comment.