Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/mohazamani/suggestion-api
https://github.com/mohazamani/suggestion-api
Last synced: 11 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/mohazamani/suggestion-api
- Owner: MohaZamani
- Created: 2022-07-20T08:54:35.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2022-08-14T04:55:56.000Z (over 2 years ago)
- Last Synced: 2024-11-11T14:48:50.346Z (2 months ago)
- Language: Go
- Size: 4.88 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Suggestion-Api
this Api is a service for Registering offers and suggestions.
in this Api we have these endpointes :
```
1. GET /
2. POST /signup
3. POST /login
4. POST /suggestions
5. GET /suggestions```
### Get /
```
for checking the service is up.
```### POST /signup
```
for signup and if the username and password be valid this api return ok and token.
```
### POST /login
```
in this endpoint users can login for working with suggestions feature.
```### POST /suggestions
```
this endpoint is for Registering offers and suggestions.
for suggestions you should loged in.
```
### GET /suggestions
```
this api returns all suggestions.
```