Web service sederhana untuk absensi dengan fitur geolocation dengan menggunakana node.js
Node.js, Mysql.
-
Just go on official Node.js website and download the installer. Also, be sure to have
gitavailable in your PATH,npmmight need it (You can find git here). -
You can install nodejs and npm easily with apt install, just run the following commands.
$ sudo apt install nodejs $ sudo apt install npm -
You can find more information about the installation on the official Node.js website and the official NPM website.
If the installation was successful, you should be able to run the following command.
$ node --version
v8.11.3
$ npm --version
6.1.0
you can clone this repo or just download the archive file
$ git clone https://github.com/khad1r/web-absen
$ cd web-absen
$ npm install
Open .env then edit it with your settings. You will need:
- Mysql Database setting;
- server port;
Be sure you have run XAMPP
$ Node index.js