Skip to content

Commit 84e7950

Browse files
committed
Make some changes
1 parent 65f4b27 commit 84e7950

File tree

24 files changed

+113
-101468
lines changed

24 files changed

+113
-101468
lines changed

.env.example

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
APP_NAME=Laravel
1+
APP_NAME=Laravel-React-Redux
22
APP_ENV=local
33
APP_KEY=
44
APP_DEBUG=true

.github/CONTRIBUTING.md

Lines changed: 51 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,51 @@
1+
# Contributing
2+
3+
Contributions are **welcome** and will be fully **credited**.
4+
5+
Please read and understand the contribution guide before creating an issue or pull request.
6+
7+
## Etiquette
8+
9+
This project is open source, and as such, the maintainers give their free time to build and maintain the source code
10+
held within. They make the code freely available in the hope that it will be of use to other developers. It would be
11+
extremely unfair for them to suffer abuse or anger for their hard work.
12+
13+
Please be considerate towards maintainers when raising issues or presenting pull requests. Let's show the
14+
world that developers are civilized and selfless people.
15+
16+
It's the duty of the maintainer to ensure that all submissions to the project are of sufficient
17+
quality to benefit the project. Many developers have different skillsets, strengths, and weaknesses. Respect the maintainer's decision, and do not be upset or abusive if your submission is not used.
18+
19+
## Viability
20+
21+
When requesting or submitting new features, first consider whether it might be useful to others. Open
22+
source projects are used by many developers, who may have entirely different needs to your own. Think about
23+
whether or not your feature is likely to be used by other users of the project.
24+
25+
## Procedure
26+
27+
Before filing an issue:
28+
29+
- Attempt to replicate the problem, to ensure that it wasn't a coincidental incident.
30+
- Check to make sure your feature suggestion isn't already present within the project.
31+
- Check the pull requests tab to ensure that the bug doesn't have a fix in progress.
32+
- Check the pull requests tab to ensure that the feature isn't already in progress.
33+
34+
Before submitting a pull request:
35+
36+
- Check the codebase to ensure that your feature doesn't already exist.
37+
- Check the pull requests to ensure that another person hasn't already submitted the feature or fix.
38+
39+
## Requirements
40+
41+
If the project maintainer has any additional requirements, you will find them listed here.
42+
43+
- **[PSR-2 Coding Standard](https://github.com/php-fig/fig-standards/blob/master/accepted/PSR-2-coding-style-guide.md)** - The easiest way to apply the conventions is to install [PHP Code Sniffer](https://pear.php.net/package/PHP_CodeSniffer).
44+
45+
- **Document any change in behaviour** - Make sure the `README.md` and any other relevant documentation are kept up-to-date.
46+
47+
- **One pull request per feature** - If you want to do more than one thing, send multiple pull requests.
48+
49+
- **Send coherent history** - Make sure each individual commit in your pull request is meaningful. If you had to make multiple intermediate commits while developing, please [squash them](https://www.git-scm.com/book/en/v2/Git-Tools-Rewriting-History#Changing-Multiple-Commit-Messages) before submitting.
50+
51+
**Thanks for Contributing**

.github/ISSUE_TEMPLATE/config.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
blank_issues_enabled: false
2+
contact_links:
3+
- name: Request a feature
4+
url: https://github.com/Nilanth/laravel-react-redux/discussions/new?category=ideas
5+
about: Share ideas for new features
6+
- name: Report a bug
7+
url: https://github.com/laravel-react-redux/issues/new
8+
about: Report a reproducable bug

.github/SECURITY.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
# Security Policy
2+
3+
If you discover any security related issues, please email [email protected] instead of using the issue tracker.

README.md

Lines changed: 24 additions & 46 deletions
Original file line numberDiff line numberDiff line change
@@ -1,62 +1,40 @@
11
<p align="center"><a href="https://laravel.com" target="_blank"><img src="https://raw.githubusercontent.com/laravel/art/master/logo-lockup/5%20SVG/2%20CMYK/1%20Full%20Color/laravel-logolockup-cmyk-red.svg" width="400"></a></p>
22

3-
<p align="center">
4-
<a href="https://travis-ci.org/laravel/framework"><img src="https://travis-ci.org/laravel/framework.svg" alt="Build Status"></a>
5-
<a href="https://packagist.org/packages/laravel/framework"><img src="https://img.shields.io/packagist/dt/laravel/framework" alt="Total Downloads"></a>
6-
<a href="https://packagist.org/packages/laravel/framework"><img src="https://img.shields.io/packagist/v/laravel/framework" alt="Latest Stable Version"></a>
7-
<a href="https://packagist.org/packages/laravel/framework"><img src="https://img.shields.io/packagist/l/laravel/framework" alt="License"></a>
8-
</p>
3+
## Laravel React Redux Boilerplate
94

10-
## About Laravel
5+
### Laravel react redux boilerplate is pre configured with
116

12-
Laravel is a web application framework with expressive, elegant syntax. We believe development must be an enjoyable and creative experience to be truly fulfilling. Laravel takes the pain out of development by easing common tasks used in many web projects, such as:
7+
- Laravel 8
8+
- Laravel Sanctum for SPA Auth
9+
- React 17
10+
- Redux
11+
- React Router
12+
- Axios
13+
- Ant Design
14+
- Redux Saga
15+
- SASS
16+
- EsLint
17+
- Preconfigured store, actions, sagas
1318

14-
- [Simple, fast routing engine](https://laravel.com/docs/routing).
15-
- [Powerful dependency injection container](https://laravel.com/docs/container).
16-
- Multiple back-ends for [session](https://laravel.com/docs/session) and [cache](https://laravel.com/docs/cache) storage.
17-
- Expressive, intuitive [database ORM](https://laravel.com/docs/eloquent).
18-
- Database agnostic [schema migrations](https://laravel.com/docs/migrations).
19-
- [Robust background job processing](https://laravel.com/docs/queues).
20-
- [Real-time event broadcasting](https://laravel.com/docs/broadcasting).
19+
### Preconfigured Modules
2120

22-
Laravel is accessible, powerful, and provides tools required for large, robust applications.
23-
24-
## Learning Laravel
25-
26-
Laravel has the most extensive and thorough [documentation](https://laravel.com/docs) and video tutorial library of all modern web application frameworks, making it a breeze to get started with the framework.
27-
28-
If you don't feel like reading, [Laracasts](https://laracasts.com) can help. Laracasts contains over 1500 video tutorials on a range of topics including Laravel, modern PHP, unit testing, and JavaScript. Boost your skills by digging into our comprehensive video library.
29-
30-
## Laravel Sponsors
31-
32-
We would like to extend our thanks to the following sponsors for funding Laravel development. If you are interested in becoming a sponsor, please visit the Laravel [Patreon page](https://patreon.com/taylorotwell).
33-
34-
### Premium Partners
35-
36-
- **[Vehikl](https://vehikl.com/)**
37-
- **[Tighten Co.](https://tighten.co)**
38-
- **[Kirschbaum Development Group](https://kirschbaumdevelopment.com)**
39-
- **[64 Robots](https://64robots.com)**
40-
- **[Cubet Techno Labs](https://cubettech.com)**
41-
- **[Cyber-Duck](https://cyber-duck.co.uk)**
42-
- **[Many](https://www.many.co.uk)**
43-
- **[Webdock, Fast VPS Hosting](https://www.webdock.io/en)**
44-
- **[DevSquad](https://devsquad.com)**
45-
- **[Curotec](https://www.curotec.com/)**
46-
- **[OP.GG](https://op.gg)**
21+
- User Login
22+
- User Register
23+
- Auth Routes
4724

4825
## Contributing
4926

50-
Thank you for considering contributing to the Laravel framework! The contribution guide can be found in the [Laravel documentation](https://laravel.com/docs/contributions).
27+
Please see [CONTRIBUTING](.github/CONTRIBUTING.md) for details.
5128

52-
## Code of Conduct
29+
## Security Vulnerabilities
5330

54-
In order to ensure that the Laravel community is welcoming to all, please review and abide by the [Code of Conduct](https://laravel.com/docs/contributions#code-of-conduct).
31+
Please review [our security policy](../../security/policy) on how to report security vulnerabilities.
5532

56-
## Security Vulnerabilities
33+
## Credits
5734

58-
If you discover a security vulnerability within Laravel, please send an e-mail to Taylor Otwell via [[email protected]](mailto:[email protected]). All security vulnerabilities will be promptly addressed.
35+
- [Nilanth](https://github.com/nilanth)
36+
- [All Contributors](../../contributors)
5937

6038
## License
6139

62-
The Laravel framework is open-sourced software licensed under the [MIT license](https://opensource.org/licenses/MIT).
40+
The MIT License (MIT). Please see [License File](LICENSE.md) for more information.

app/Http/Controllers/Api/Auth/AuthController.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,6 @@ class AuthController extends Controller
2020
*/
2121
public function authenticate(Request $request): JsonResponse
2222
{
23-
2423
$request->validate([
2524
'email' => 'required|email|exists:users,email',
2625
'password' => 'required|min:6',
@@ -37,7 +36,6 @@ public function authenticate(Request $request): JsonResponse
3736

3837
public function register(Request $request): JsonResponse
3938
{
40-
4139
$request->validate([
4240
'name' => ['required', 'string', 'max:255'],
4341
'email' => ['required', 'string', 'email', 'max:255', 'unique:users'],

composer.json

Lines changed: 16 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,22 @@
11
{
2-
"name": "laravel/laravel",
2+
"name": "Nilanth/laravel-react-redux",
33
"type": "project",
4-
"description": "The Laravel Framework.",
4+
"description": "Laravel React Redux Boilerplate",
55
"keywords": [
6-
"framework",
7-
"laravel"
6+
"laravel",
7+
"laravel-8",
8+
"react",
9+
"react-redux",
10+
"redux",
11+
"antd",
12+
"react-router",
13+
"sanctum",
14+
"axios",
15+
"redux-saga",
16+
"authentication",
17+
"scss",
18+
"larave-react-redux-boilerplate",
19+
"larave-react-redux"
820
],
921
"license": "MIT",
1022
"require": {

package.json

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,10 +23,8 @@
2323
"@ant-design/icons": "^4.4.0",
2424
"antd": "^4.12.2",
2525
"axios": "^0.21.1",
26-
"lodash": "^4.17.20",
2726
"react": "^17.0.1",
2827
"react-dom": "^17.0.1",
29-
"react-refresh": "^0.9.0",
3028
"sass": "^1.32.6",
3129
"sass-loader": "^11.0.0",
3230
"react-redux": "^7.2.2",

0 commit comments

Comments
 (0)