Code Monkey home page Code Monkey logo

todo_app's Introduction

Installation

# clone the repo
$ git clone https://github.com/am-Hilal/cypress_task.git my-project

# go into app's directory
$ cd my-project

# install app's dependencies
$ composer install

# install app's dependencies
$ npm install

Copy file ".env.example", and change its name to ".env". Then in file ".env" complete this database configuration:

  • DB_CONNECTION=mysql
  • DB_HOST=127.0.0.1
  • DB_PORT=3306
  • DB_DATABASE=laravel
  • DB_USERNAME=root
  • DB_PASSWORD=

Set APP_URL

If your project url looks like: example.com/sub-folder Then go to my-project/.env And modify this line:

  • APP_URL =

To make it look like this:

Next step

# in your app directory
# generate laravel APP_KEY
$ php artisan key:generate
# Create a symbolink link for storage folder
$ php artisan storage:link

# run database migration and seed
$ php artisan migrate:refresh --seed

# generate mixing
$ npm run dev

# and repeat generate mixing
$ npm run dev

Set QUEUE_CONNECTION

# change Queue Connection/Drviver from Sync to
QUEUE_CONNECTION=database

Usage

# start local server
$ php artisan serve

# Or start local server with port number
$ php artisan serve --port=4041

# Run queue worker
$ php artisan queue:work

# test
$ php vendor/bin/phpunit

Open your browser with address: localhost:8000/sitemaster
Click "Login" on sidebar menu and log in with credentials:

The above user is an Admin role user.

#Link for postman collection
https://www.getpostman.com/collections/efb31b7182d3d1ac5e53
#Ends

todo_app's People

Contributors

clanofartisans avatar hilallko avatar marchershey avatar mrholek avatar rakieta2015 avatar vonsogt avatar xidedix 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.