GithubHelp home page GithubHelp logo

tankztz / cs2102project_dsc Goto Github PK

View Code? Open in Web Editor NEW

This project forked from cs2102-project/project

1.0 2.0 0.0 6.81 MB

CS2102 project using laravel

TeX 8.33% PHP 49.74% Vue 0.27% HTML 41.66%

cs2102project_dsc's Introduction

project: CarouLend

CS2102 project using laravel (PHP framework)

  • Using localhost port 8000
  • Start the server by php artisan serve
  • Migrate the database by:
    • php artisan migrate:refresh
    • php artisan make:migration function --create=table_name

Project target

Topic C, Stuff Sharing: the system allows people to borrow or lend stuff that they own (tools, appliances, furniture or books) either free or for a fee. Users advertise stuff available (what stuff, where to pick up and return, when it is available, etc.) or can browse the available stuff and bid to borrow some stuff. The stuff owner or the system (your choice) chooses the successful bid. Each user has an account. Administrators can create, modify and delete all entries. Please refer to www.snapgoods.com, www.peerby.com or other stuff sharing sites for examples and data.

Trouble shooting

=== Usually when you clone a Laravel Repository, you have to make this Step:

  • Composer install
  • Copy .env.example to .env and set the good values inside .env
    • careful to use your own mysql settings

source: https://stackoverflow.com/questions/37419545/cannot-serve-cloned-git-repository-in-my-local-machine

=== Fixing RuntimeException No application encryption key has been specified error

  • simply run php artisan key:generate

source: https://stackoverflow.com/questions/44839648/no-application-encryption-key-has-been-specified-new-laravel-app

Complete Installation Guide

  • Install PHP7
  • Install Composer
  • Require Laravel using Composer
  • Install Mysql (suggested database, default option)
  • Suggested install: Mysql Workbench (GUI)

Notes for readers

  • The sql querying in this project is done using raw sql queries as required.
  • The connection is based on mysql, the settings are as follows:
    • username: root
    • password: admin
    • database: blog

Further work

  • Add avatars to the user profile
  • Security handling
  • Password changing logic

cs2102project_dsc's People

Contributors

shaocongdong avatar liuyulin0629 avatar

Stargazers

emiyak avatar

Watchers

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