Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/garrlker/timeclock
https://github.com/garrlker/timeclock
buefy bulma laravel spacetime vue
Last synced: about 1 month ago
JSON representation
- Host: GitHub
- URL: https://github.com/garrlker/timeclock
- Owner: garrlker
- Created: 2020-03-07T00:30:07.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2020-03-13T03:11:49.000Z (almost 5 years ago)
- Last Synced: 2024-12-16T15:55:02.251Z (about 1 month ago)
- Topics: buefy, bulma, laravel, spacetime, vue
- Language: PHP
- Size: 827 KB
- Stars: 1
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Timeclock
# Getting started
## Installation
Please check the official laravel installation guide for server requirements before you start. [Official Documentation](https://laravel.com/docs/7.x#installation)
Clone the repository
git clone [email protected]:garrlker/timeclock.git
Switch to the repo folder
cd timeclock
Install all the dependencies using composer
composer install
Copy the example env file and make the required configuration changes in the .env file
cp .env.example .env
Generate a new application key
php artisan key:generate
Run the database migrations (**Set the database connection in .env before migrating**)
php artisan migrate
Run the database seed (**Set the database connection in .env before migrating**)
php artisan db:seed
Start the local development server
php artisan serve
You can now access the server at http://localhost:8000
**TL;DR command list**
git clone [email protected]:garrlker/timeclock.git
cd timeclock
composer install
cp .env.example .env
php artisan key:generate
**Make sure you set the correct database connection information before running the migrations** [Environment variables](#environment-variables)php artisan migrate
php artisan db:seed
php artisan serve## Folders
- `app` - Contains the TimeclockEntry and User models
- `app/Http/Controllers` - Contains the Timeclock controller
- `app/Http/Middleware` - Contains the LoginAsGuest middleware
- `database/migrations` - Contains all the database migrations
- `database/seeds` - Contains the database seeder
- `routes` - Contains all the api routes defined in api.php file