This project is a part of the Enterprise Application Development course at PUGC. The project is developed by the students of the BS Computer Science program at PUGC. The project is developed using the Laravel framework for the API server and the React-Native framework for the mobile app.
A Laravel API server for the PUGC Events Mobile App
Explore the docs »
Report Bug
.
Request Feature
PUGC Events is a Laravel API server for the PUGC Events Mobile App. The API server is built using the Laravel framework and provides endpoints for the mobile app to interact with the database. The API server is responsible for handling user authentication, event creation, event registration, event management, and other features of the mobile app.
- User Registration: User can register using their name, email and password.
- User Login: User can login using their email and password.
- User Logout: User can logout from the app.
- User Profile: User can view their profile information.
-
Event Creation: Admin can create an event with the following details:
- Event Title
- Event Description
- Event Date
- Event Time
- Event Location
-
Event Update: Admin can update the event details.
-
Event Deletion: Admin can delete the event.
-
Event Details: User can view the event details.
-
Event List: User can view the list of all events.
- Event Registration: User can register for an event.
- Event Unregistration: User can unregister from an event.
- PHP - PHP is a popular general-purpose scripting language that is especially suited to web development.
- Composer - Composer is a dependency manager for PHP.
- Node.js - Node.js is a JavaScript runtime built on Chrome's V8 JavaScript engine.
- NPM - npm is the package manager for JavaScript.
- MySQL - The world's most popular open-source database.
- Git - Git is a free and open-source distributed version control system.
-
Clone the repo
git clone https://github.com/itxSaaad/pugc-events-server-laravel.git
-
Install NPM packages
npm install
-
Install Composer packages
composer install
-
Create a new database in MySQL
-
Copy the
.env.examplefile to.envand update the database credentialscp .env.example .env
-
Generate a new application key
php artisan key:generate
-
Run the database migrations
php artisan migrate
-
Start the Laravel server
php artisan serve
-
The Laravel server will start at
http://localhost:8000 -
You can now access the API server at
http://localhost:8000/api -
For Hot Reload, you can run the following command
npm run dev
See the open issues for a list of proposed features (and known issues).
Contributions are what make the open-source community such an amazing place to learn, inspire, and create. Any contributions you make are greatly appreciated.
- If you have suggestions for adding or removing projects, feel free to open an issue to discuss it, or directly create a pull request after you edit the README.md file with necessary changes.
- Please make sure you check your spelling and grammar.
- Create individual PR for each suggestion.
If you have a suggestion that would make this better, please fork the repo and create a pull request. You can also simply open an issue with the tag "enhancement". Don't forget to give the project a star! Thanks again!
- Fork the repo
- Clone the project
- Create your feature branch (
git checkout -b feature/AmazingFeature) - Commit your changes (
git commit -m "Add some AmazingFeature") - Push to the branch (
git push origin feature/AmazingFeature) - Open a pull request
- Muhammad Saad - itxsaaad
- Mirza Moiz - mirza-moiz
- Hassnain Raza - hassnain512
See also the list of contributors
Distributed under the MIT License. See LICENSE for more information.
Give ⭐️ if you like this project!
