Giter VIP home page Giter VIP logo

underdogg-forks / reciper Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 33.63 MB

๐Ÿด ๐Ÿฅฃ ๐Ÿฅ™ ๐Ÿง It's a free web application that unites people who love cooking and charing their recipes with other people. People can register and have their own account where they can publish cooking recipes, and earn experience and popularity points for different actions.

License: MIT License

PHP 74.77% Dockerfile 0.19% Shell 0.13% Vue 2.38% HTML 22.54%

reciper's Introduction

reciper

About

What is it?

It's a free web application that unites people who love cooking and charing their recipes with other people. People can register and have their own account where they can publish cooking recipes, and earn experience and popularity points for different actions. Such as publishing recipe, likes, views and starts that they receive from other users. Every register user also has free access to the statistic page, where they can watch stats. For example chart (chart.js with vue.js) with data that shows how many likes, views and stars they received in particular month and general statistic.

Languages

Where we at?

For this moment, the application fully supports Russian language and will be supporting English as well. There is no hard coded text in blade files, all text is going through trans() laravel function and @lang() blade directive.

Files

All Russian translation files are in resources/lang/ru folder, they will be copied to resources/lang/en folder and translated to English in a future.

Database tables

The idea is that depending on what language is currently selected, user or visitor sees materials with chosen language. I have some duplicate fields in database like title_ru and title_en, text_ru and text_en etc.. And depending on what language is selected it shows needed fields. Also any author of the recipe will be able to translate his or her recipe from Russian to English or vice versa.

Get started

For non docker people
  • Clone and enter downloaded folder
  • cp .env.example .env copy the env.example and create .env
  • Open just created .env file and fill database credentials
  • Create database with the name that you filled in .env file in DB_DATABASE field
  • composer install to install all PHP packages
  • npm install to install node modules
  • npm run prod to compile sass and vue files
  • php artisan key:generate to generate laravel app key
  • php artisan wipe, migrate all migrations and seed the database
  • php artisan storage:link, create a link in public folder to storage
  • php artisan serve to start a server (go to localhost:8000) *. vendor/bin/phpunit make sure tests are green
For docker people
  • Clone, enter reciper folder and run ./run.sh

Editional information

Used technologies
Used frameworks

reciper's People

Contributors

serhiicho avatar

Watchers

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