Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/markiiankostiv/fullstack-project


https://github.com/markiiankostiv/fullstack-project

Last synced: 3 days ago
JSON representation

Awesome Lists containing this project

README

        

# API Routes

## Users

### Get all [`http://localhost:3002/api/users`]

### Get by Id [`http://localhost:3002/api/users/:id`]

- You need to substitute user id in place of :id

### Update user by id [`http://localhost:3002/api/users/:id`]

- You need get user data using [`Get user by id`] request
- You need to substitute user id in place of :id

### Delete user by id [`http://localhost:3002/api/users/:id`]

- You need to substitute user id in place of :id

## Fighters

### Get all [`http://localhost:3000/api/fighters`]

### Get by Id [`http://localhost:3000/api/fighters:id`]

- You need to substitute fighter id in place of :id

### Update user by id [`http://localhost:3000/api/fighters:id`]

- You need get fighter data using [`Get user by id`] request
- You need to substitute fighter id in place of :id

### Delete user by id [`http://localhost:3000/api/fighters:id`]

- You need to substitute fighter id in place of :id