https://github.com/sharpai/apiserver
On cloud or premise, the AutoML controller for DeepCamera
https://github.com/sharpai/apiserver
api deepcamera face-recognition
Last synced: 7 months ago
JSON representation
On cloud or premise, the AutoML controller for DeepCamera
- Host: GitHub
- URL: https://github.com/sharpai/apiserver
- Owner: SharpAI
- License: mit
- Created: 2020-09-07T10:03:46.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2022-09-01T22:57:27.000Z (over 3 years ago)
- Last Synced: 2025-04-02T20:38:29.932Z (10 months ago)
- Topics: api, deepcamera, face-recognition
- Language: JavaScript
- Homepage:
- Size: 546 MB
- Stars: 11
- Watchers: 4
- Forks: 6
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Get started [](https://travis-ci.org/SharpAI/ApiServer)
## [Install Meteor(Offical)](https://www.meteor.com/install)
### Windows
```
choco install meteor
```
### OSX/Linux
```
curl https://install.meteor.com/ | sh
```
## Start API Server
```
git clone https://github.com/SharpAI/ApiServer
cd ApiServer
meteor run
```
## Test REST API
### Register New User
```
curl -X POST -H "Content-type: application/json" http://localhost:3000/api/v1/sign-up -d '{"username": "test11", "email": "xxxx@xxx.xx", "password": "xxxxxx"}'
{
"success": true
}
```
### Get Token
```
curl -X POST http://localhost:3000/api/v1/login/ -d "username=test11&password=xxxxxx"
{
"status": "success",
"data": {
"authToken": "mGRTZ_aNbL2EAobchvLmmlLmbn2e5EXdj8WR8DmSZw0",
"userId": "s9pxAWqwHzLaBKP5w"
}
}
```
### Delete Token
```
curl -X POST -H "X-Auth-Token: mGRTZ_aNbL2EAobchvLmmlLmbn2e5EXdj8WR8DmSZw0" -H "X-User-Id: s9pxAWqwHzLaBKP5w" http://localhost:3000/api/v1/logout
{
"status": "success",
"data": {
"message": "You've been logged out!"
}
}
```
# [Full API Document](API.md)
## Test API Server setup at 165.232.62.29