Project
CS2102 project using laravel
Install / Use
/learn @CS2102-Project/ProjectREADME
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:refreshphp 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
Related Skills
node-connect
351.4kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
110.7kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
351.4kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
qqbot-media
351.4kQQBot 富媒体收发能力。使用 <qqmedia> 标签,系统根据文件扩展名自动识别类型(图片/语音/视频/文件)。
