• Stars
    star
    212
  • Rank 186,122 (Top 4 %)
  • Language
    JavaScript
  • License
    MIT License
  • Created about 11 years ago
  • Updated over 1 year ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

A laravel gym management system

LaraGym - A Laravel gym management system

Finally a gym management system build with laravel and reactjs. Comes with powerful features that will allow you to scale and easily manage your gym or fitness centers.

My Image

Features

  1. packages - create custom packages.
  2. members - user management system.
  3. services and billing cycles - annually, weekly, daily, fixed etc.
  4. attendance - tracks who is currently on the gym.
  5. activities or system logs
  6. subscription management

For professional support please email me at [email protected]

Installation

  1. API Setup
$ git clone [email protected]:johndavedecano/laragym.git project
$ cd project
$ composer install
$ cp .env.example .env # THEN EDIT YOUR ENV FILE ACCORDING TO YOUR OWN SETTINGS.
$ php artisan migrate
$ php artisan db:seed
$ php artisan serve
  1. Frontend Setup
$ cd project/resources/apps/frontend
$ cp .env.example .env # edit this file accordingly
$ yarn
$ yarn start
$ yarn build # for production

Tests

If you want to contribute to this project, feel free to do it and open a PR. However, make sure you have tests for what you implement.

In order to run tests:

  • create a homestead_test database on your machine;
  • run ./vendor/bin/phpunit;

If you want to specify a different name for the test database, don't forget to change the value in the phpunix.xml file.

Routes

Method URI Name Action Protected Version(s)
POST /api/auth/signup App\Api\V1\Controllers\SignUpController@signUp No v1
POST /api/auth/login App\Api\V1\Controllers\LoginController@login No v1
POST /api/auth/recovery App\Api\V1\Controllers\ForgotPasswordController@sendResetEmail No v1
POST /api/auth/reset App\Api\V1\Controllers\ResetPasswordController@resetPassword No v1
POST /api/auth/logout App\Api\V1\Controllers\LogoutController@logout No v1
POST /api/auth/refresh App\Api\V1\Controllers\RefreshController@refresh No v1
GET /api/me App\Api\V1\Controllers\UserController@me No v1
GET /api/cycles cycles.index App\Api\V1\Controllers\CycleController@index No v1
POST /api/cycles cycles.store App\Api\V1\Controllers\CycleController@store No v1
GET /api/cycles/{cycle} cycles.show App\Api\V1\Controllers\CycleController@show No v1
PUT /api/cycles/{cycle} cycles.update App\Api\V1\Controllers\CycleController@update No v1
DELETE /api/cycles/{cycle} cycles.destroy App\Api\V1\Controllers\CycleController@destroy No v1
GET /api/services services.index App\Api\V1\Controllers\ServiceController@index No v1
POST /api/services services.store App\Api\V1\Controllers\ServiceController@store No v1
GET /api/services/{service} services.show App\Api\V1\Controllers\ServiceController@show No v1
PUT /api/services/{service} services.update App\Api\V1\Controllers\ServiceController@update No v1
DELETE /api/services/{service} services.destroy App\Api\V1\Controllers\ServiceController@destroy No v1
GET /api/packages packages.index App\Api\V1\Controllers\PackageController@index No v1
POST /api/packages packages.store App\Api\V1\Controllers\PackageController@store No v1
GET /api/packages/{package} packages.show App\Api\V1\Controllers\PackageController@show No v1
PUT /api/packages/{package} packages.update App\Api\V1\Controllers\PackageController@update No v1
DELETE /api/packages/{package} packages.destroy App\Api\V1\Controllers\PackageController@destroy No v1
GET /api/users users.index App\Api\V1\Controllers\UserController@index No v1
POST /api/users users.store App\Api\V1\Controllers\UserController@store No v1
GET /api/users/{user} users.show App\Api\V1\Controllers\UserController@show No v1
PUT /api/users/{user} users.update App\Api\V1\Controllers\UserController@update No v1
DELETE /api/users/{user} users.destroy App\Api\V1\Controllers\UserController@destroy No v1
GET /api/activities activities.index App\Api\V1\Controllers\ActivityController@index No v1
POST /api/activities activities.store App\Api\V1\Controllers\ActivityController@store No v1
GET /api/activities/{activity} activities.show App\Api\V1\Controllers\ActivityController@show No v1
PUT /api/activities/{activity} activities.update App\Api\V1\Controllers\ActivityController@update No v1
DELETE /api/activities/{activity} activities.destroy App\Api\V1\Controllers\ActivityController@destroy No v1
GET /api/subscriptions subscriptions.index App\Api\V1\Controllers\SubscriptionController@index No v1
POST /api/subscriptions subscriptions.store App\Api\V1\Controllers\SubscriptionController@store No v1
GET /api/subscriptions/{subscription} subscriptions.show App\Api\V1\Controllers\SubscriptionController@show No v1
PUT /api/subscriptions/{subscription} subscriptions.update App\Api\V1\Controllers\SubscriptionController@update No v1
DELETE /api/subscriptions/{subscription} subscriptions.destroy App\Api\V1\Controllers\SubscriptionController@destroy No v1
POST /api/upload App\Api\V1\Controllers\ImageController@store No v1
GET /api/refresh Closure No v1

Feedback

I currently made this project for personal purposes. I decided to share it here to help anyone with the same needs. If you have any feedback to improve it, feel free to make a suggestion, or open a PR!

License

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

More Repositories

1

node-rtmp-hls

NodeJS live stream server with HLS ABR support
JavaScript
65
star
2

betting-api-starter

A set of microservices for building your next betting site
JavaScript
40
star
3

CoderJobs

A job board application built using Elixir and Phoenix Framework.
Elixir
28
star
4

laravel-marketplace

A fully featured classified ads application using laravel 5.5 and VueJS
PHP
26
star
5

libreslot

A free appointment and CMS system for everyone
Svelte
17
star
6

svelte-easy-toast

A pretty simple toast library for svelte
Svelte
13
star
7

svelte-resume-builder

Svelte Resume Builder
Svelte
12
star
8

svelte-mini-table

A simple data table implementation on svelte.js.
Svelte
12
star
9

Icecast-Centova-LastFM-API

Creates a radio player that integrates with your centova or directly to your icecast server
JavaScript
10
star
10

ReactJS-Redux-CamanJS-Image-Manipulation

A very simple image manipulation application using ReactJS and CamanJS
CSS
9
star
11

PHPLotterySystem

6/42 Lottery System Made in Slim PHP Framework and Twitter Bootstrap 3
JavaScript
8
star
12

react-piano-app

A piano app built with ReactJS
JavaScript
7
star
13

reactjs-electron-editor

A very basic editor demo for reactjs, electron, ace editor and webpack
JavaScript
7
star
14

liveselling

A live selling platform for NodeJS
JavaScript
6
star
15

FlaskDataTables

A straight-forward datatables integration for flask
Python
6
star
16

yoyo-todo-py

This is a standard web application that provides a simple organizer for the user to store notes and TODOs.
CSS
6
star
17

diwata

Diwata Programming Language
JavaScript
6
star
18

paymongo-nodejs

Unofficial nodejs client for paymongo
TypeScript
5
star
19

PHPLaravelPokerPointingSystem

A poker room system to manage members points every time they seat on a table. The points given depends on their membership level, blind and minute to points conversion
CSS
4
star
20

svelte-country-select

A very simple and easy to use country select field.
JavaScript
4
star
21

LaravelRESTAPIGenerator

Generate RESTapi with Artisan
PHP
4
star
22

audrey-va

Audrey VA enables you to create multiple chat widgets to embed to your website and integrate to your dialogflow bot.
Svelte
4
star
23

ultimate-frontend-boilerplate

Your last frontend starter kit.
JavaScript
4
star
24

react-simple-timeago

A very simple time ago component for ReactJS
JavaScript
4
star
25

svelte-todoapp

JavaScript
3
star
26

svelte-auth-sample

Authentication Example for Svelte
JavaScript
3
star
27

svelte-quilljs

Svelte
3
star
28

rust-self-study

Rust
3
star
29

svelte-mention

A mention library for SvelteJS. This enables you to have a facebook-like user mentions in a textareas
Svelte
3
star
30

ReactJS-Redux-Starter

A very basic redux application setup.
JavaScript
2
star
31

laravel-svelte-demo

PHP
2
star
32

JRequests

A request abstraction for Laravel. It helps you to standardize the structure of your response and eliminate fat controllers.
PHP
2
star
33

kwerk

A co-working directory built with elixir language and phoenix framework
Elixir
2
star
34

redux-lesson-batch-39

JavaScript
2
star
35

PinoyPHPFramework

A very minimal php framework
PHP
2
star
36

svelteadmin

Simple admin dashboard for svelte and bootstrap
HTML
1
star
37

live-stream-app

Objective-C
1
star
38

walletapp-react

CSS
1
star
39

FlaskBoilerPlate

A straight-forward flask application structure
Python
1
star
40

reactjs-canvas-drawing

CSS
1
star
41

resman-monorepo

1
star
42

PythonImageResizer

pyqt and pil
Python
1
star
43

react-milligram

React Components using Milligram CSS Framework
JavaScript
1
star
44

nodejs-assignment

TypeScript
1
star
45

deepstream-keyclock-example

HTTP Authentication example using keycloak and deepstreamIO
JavaScript
1
star
46

events-starter

Easily start up your recurring events application.
PHP
1
star
47

expressjsapi-lesson

JavaScript
1
star
48

backend-api-starter

PHP
1
star