NATSLOCK (Next-generation And Smart Lifestyle Locker), merupakan API untuk Locker yang diakses melalui website dan menggunakan sistem OTP sebagai kuncinya
this project use full db local json, wkwk
https://github.com/fphaikal/natslock
- Nodemcu ESP8266
- Nodemcu ESP32
- Power Supply 12V
- Solenoid Doorlock 12V
- Relay
- LCD i2C 20x4
- DHT22
- Module Battery Charger
- Voltage Sensor DC
- TCRT5000 Sensor
- Pilot Lamp Indicator
- L298N Driver Motor
- Battery 12V
- Fan Cooler 12V
- LED Strip 12V/5V
- Router/Internet Access
- Temperature Sensor (DS18B20)
if you don't want to use i2c lcd, you can use this special UI website : https://github.com/Stalker-moment/NatsLock_UI
Clone this project
> git clone https://github.com/Stalker-moment/NatsLock_API/
> cd NatsLock_API
Install the dependencies:
> npm install
- run the Code
Hard Mode
> npm start
Nodemon
> nodemon app.js
- force stop the code
> ctrl + c