GithubHelp home page GithubHelp logo

dhiyo7 / karirpad-be Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 72 KB

Backend test in Karirpad using Laravel

Home Page: https://karirpad-test-backend.herokuapp.com/

Shell 0.83% PHP 96.00% Blade 3.17%
laravel mysql heroku

karirpad-be's Introduction

Karirpad Backend Test

Built with PHP using the Laravel Framework.

Laravel is a web application framework with expressive, elegant syntax. We’ve already laid the foundation — freeing you to create without sweating the small things..

Contents

Description

This is RESTful api design for

Karirpad Backend Test.

Built withPHP, using Laravel framework and other libraries.

Requirements

Installation

  1. Open your terminal or command prompt

  2. Type git clone https://github.com/dhiyo7/Karirpad-BE.git

  3. Open the folder and type composer update for install dependencies

  4. Register an account or create new database

  5. Create file .env in root folder with the following contents :

DB_CONNECTION=mysql

DB_HOST=127.0.0.1

DB_PORT=3306

DB_DATABASE=namedatabase

DB_USERNAME=usernamedb

DB_PASSWORD=passwddb
  1. Type php artisan server in terminal for run this backend.

Endpoint

BaseURL

https://karirpad-test-backend.herokuapp.com

Category Router

Used for suplyind data of category

No Method Endpoint Header Info
1 POST /api/category Accept : application/json Create new Category
2 PUT /api/category/{id} Accept : application/json Edit Category
3 GET /api/category Accept : application/json Show list of category
4 DELETE /api/category/{id} Accept : application/json Delete category

Stuff Router

Used for supplying data of all stuff

No Method Endpoint Header Info
1 POST /api/stuff Accept : application/json Create new Stuff
2 PUT /api/stuff/{id} Accept : application/json Edit Stuff
3 GET /api/stuff Accept : application/json Show list of stuff
4 DELETE /api/stuff/{id} Accept : application/json Delete stuff

karirpad-be's People

Contributors

dhiyo7 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.