Software Development 2 Project by Raihan (140810160013), Rifqy (140810160055), and Patricia (140810160065).
API for Monica 2.1 App using Laravel. It handles:
- Login user
- Create new user
- Get user data
- Create new committee
You can test by accessing the website using web browser of your choice or Postman.
This project is tested using localhost, so as prerequisites you need:
- XAMPP
- Apache
- MySQL
- Create a file named
.env
. Example here. - Set the connection to MySQL localhost database. Make sure you type correctly for username and password as they're needed for authentication purposes.
DB_CONNECTION=mysql
DB_HOST=localhost
DB_PORT=3306
DB_DATABASE=monica_db
DB_USERNAME=root
DB_PASSWORD=
- All set. You can start test it on Postman to create user, post to http://localhost/monica-api/public/api/signup.