Giter VIP home page Giter VIP logo

spirit-rating's Introduction

Flaviar - PHP Backend Engineer Test Assignment


Flaviar assignment

๐Ÿ“ About The Assignment

Project is providing simple Symfony web application that enables users to rate different spirits after tasting them.

๐Ÿงฐ Built With

๐Ÿ“š Getting Started

Provided instructions how to setup and run package on your computer. I used xampp on windows, so I placed project to xampp/htdocs folder

โ„น๏ธ Prerequisites

To start using the project, you need to have installed composer and yarn package manager.

โ˜‘๏ธ Installation

  1. Download Git repository
  2. Place it on your server directory (for me it was htdocs, since I use xampp)
  3. Install Composer dependencies composer install
  4. Install Yarn dependecies yarn install
  5. Start server symfony server:start
  6. Create database php bin/console doctrine:database:create
  7. Prepare table php bin/console doctrine:migrations:migrate
  8. Compile build npm run build

๐Ÿ–ฑ๏ธ Usage

User have to register and create account. After registering user will have to login using created account. After login user is redirected to rating page, where user rate spirits after tasting them.

๐Ÿ“” API endpoints

List of all available REST API endpoints.

Request type URL Description
GET /api/ratings Retrieves the collection of Rating resources
POST /api/ratings Creates a Rating resource
GET /api/ratings/{id} Retrieves the Rating resource
PUT /api/ratings/{id} Replaces the Rating resource
DELETE /api/ratings/{id} Removes the Rating resource
PATCH /api/ratings/{id} Updates the Rating resource

โ— Notes

  • In case you get error "The metadata storage is not up to date" remove your database version provider from .env file at ?serverVersion

spirit-rating's People

Contributors

mskraban avatar

Watchers

James Cloos avatar  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.