Git Product home page Git Product logo

laravel-devstagram's Introduction

Laravel Logo

DevStagram

The project is a social network for developers, where they can share their projects and comment on other projects.

General Information

The project was developed with Laravel 9, using the Docker setup provided by Laravel Sail. Was created to practice the use of Laravel, and get familiar with the framework and its features.

Technologies

  • Laravel 9
  • Laravel Sail
  • Tailwind CSS
  • Livewire
  • PHP 8.1
  • MySQL 8.0
  • Docker

Features

  • Authentication
  • User profile
  • Follow/Unfollow users
  • Create/Delete posts
  • Comment posts
  • Like/Unlike posts
  • Feed with posts of the users that you follow

Requirements

To run the project you need to have installed:

Setup

After clone the repository you need install the dependencies:

composer update
./vendor/bin/sail composer install
./vendor/bin/sail npm install

Now you need to create an .env file and copy the content of .env.example to it. You can use the next command:

cp .env.example .env

After that to run the project use the next commands

./vendor/bin/sail up -d
./vendor/bin/sail artisan migrate
./vendor/bin/sail npm run dev

Now you can access the project in http://localhost

If you have problems with the validations of the forms, you can run the next command or project root dir to install the validation in spanish:

git clone https://github.com/MarcoGomesr/laravel-validation-en-espanol.git resources/lang

Then open the resources/lang/es/validation.php file and add the next code to the end of the file:

'attributes' => [
  'name' => 'nombre',
  'username' => 'usuario',
  'email' => 'correo electrónico',
  'password' => 'contraseña',
  'title' => 'título',
  'description' => 'descripción',
  'image' => 'imagen',
  'comment' => 'comentario'
],

This allows us to translate the attributes of the forms to spanish.

Demo

You can see a demo of the project in DevStagram

License

The Laravel framework is open-sourced software licensed under the MIT license.

laravel-devstagram's People

Contributors

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