Git Product home page Git Product logo

start-mobile's Introduction

Symfony 5 web application libraries

Getting started

To get it working, follow these steps:

  • Clone the repository from github
    https://github.com/SyntaxErrorLineNULL/start-mobile.git
    

If you have Docker installed

Init DataBase

  make init
  • run migrations
    php bin/console doctrine:migrations:migrate
    OR
    php bin/console doctrine:schema:create

if you don't want to work with an empty project, you can add data to the table

    php bin/console doctrine:fixtures:load

Start the built-in web server

You can use Nginx or Apache, but the built-in web server works great:

php -S 127.0.0.1:8000 -t public
        or
symfony server:start
Now check out the site at https://127.0.0.1:8000

What has not been done yet

  • not work docker container in use PHP-fpm, PHP-cli. Database is not connection for doctrine, with this config(PHP-fpm, cli, nginx).
  • create autoload OpenApi documentation

start-mobile's People

Contributors

syntaxerrorlinenull avatar

Watchers

 avatar

start-mobile's Issues

Админка

  1. Реализовать административную часть
    a. CRUD операции для авторов и книг
    b. вывести список книг с обязательным указанием имени автора в списке
    c. вывести список авторов с указанием кол-ва книг

RESTfull Api

  1. Реализовать выдачу данных в формате json по RESTful протоколу отдельным контроллером
    a. GET /api/v1/books/list получение списка книг с именем автора
    b. GET /api/v1/books/by-id получение данных книги по id
    c. POST /api/v1/books/update обновление данных книги
    d. DELETE /api/v1/books/id удаление записи книги из бд

Добавить header X-API

  1. Все запросы к API должны быть с заголовком X-API-User-Name = ‘admin’, в ином случае ответ 403

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.