- Create a database with name "jagnawaterworks"
- composer install
- cp .env.example .env
- Set your .env file (username, password, db name and etc);
- php artisan migrate
To run this project
- Run at the project's root directory
- php -S localhost:8000 -t public
Download https://www.getpostman.com/
- POST for request
- past the url (yourip/userApi/users)
- For the headers key=content-type,value=application/x-www-form-urlencoded
- For the body input key username="yourusername",password="yourpassword,userlevel="admin"
Link https://github.com/vlade2008/jagnawaterworksystem-react