Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/pranavrajs/sails-attendance

Sails Attendance
https://github.com/pranavrajs/sails-attendance

Last synced: about 1 month ago
JSON representation

Sails Attendance

Awesome Lists containing this project

README

        

# attendance

Sails Application

#How to use

Clone the repo
Install dependancies
Lift the app
Add details using APIs

```
git clone https://github.com/pranavrajs/sails-attendance.git
cd sensomate-attendance
sudo npm install
```

Lift the app

Add sample data
```
localhost:1337/employee/create?name=Pranav&[email protected]&desig=Consultant&empid=1234&uid=EM-1234&phone=9446284490
```

Add attendance data through API

```
localhost:1337/attendance/pushtodb
```
using POST parameters

- uid : NFC scan ID
- capturedAt: timestamp (NFC Scan Time)
- deviceid: Device from which data is scanned

Attendance wraps up model association with Employee through `emp_entry` attribute which is generated automatically by the system by searching it with UID

New Update:
Adding Redis as Pub Sub