Skip to content

Latest commit

 

History

History
29 lines (24 loc) · 1.03 KB

README.md

File metadata and controls

29 lines (24 loc) · 1.03 KB

API for Monica 2.1 App

Software Development 2 Project by Raihan (140810160013), Rifqy (140810160055), and Patricia (140810160065).

Description

API for Monica 2.1 App using Laravel. It handles:

  1. Login user
  2. Create new user
  3. Get user data
  4. Create new committee

You can test by accessing the website using web browser of your choice or Postman.

Setting Up on Locals

This project is tested using localhost, so as prerequisites you need:

  1. XAMPP
  2. Apache
  3. MySQL

How to Use

  1. Create a file named .env. Example here.
  2. 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=
  3. All set. You can start test it on Postman to create user, post to http://localhost/monica-api/public/api/signup.