Coder Social home page Coder Social logo

alkimabackend's Introduction

Laravel Logo

Build Status Total Downloads Latest Stable Version License

How to setup Laravel Project

All test task based on Laravel Framework. Development environment based on Docker. For setup project:

  • Pull this repository.
  • In command prompt setup docker:
docker compose build
docker compose up -d
  • Create Database fro test task (testTask)
  • Rename .env.example to .env
  • Setup Laravel Framework:
docker compose exec -it app /bin/bash
composer install
php artisan migrate

API Routes

Project has Swagger OA Documentation on link http://{IP_ADDRESS}/api

Check real development Swagger API for this test task on link: http://144.24.251.173/api

You can import Swagger JSON to Postman

Console commands

For import categories from json-file, it should be placed in storage directory.

php artisan command:parse:json:products {PATH_TO_FILE_IN_STORAGE.json}

Categories import example: /storage/import/json/categories.json

php artisan command:parse:json:products import/json/categories.json

Products import example: /storage/import/json/products.json

php artisan command:parse:json:products import/json/products.json

Please, pay attention, I used "categories" instead of "category" in import files for convention reasons.

alkimabackend's People

Contributors

vamelcore 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.