Skip to content
Luka8st edited this page Apr 18, 2023 · 17 revisions

Ri-Event

Table of contents

About Ri-Event

How to use Ri-Event

Tools & technologies

About Ri-event

Ri-Event is a web application that allows it's users to create social events in the area of Rijeka. Users can create their personal events or create events for organizations they represent. This project's idea is to give users a clear and concise view of events.

How to use Ri-Event

To use the app, user must create an account.

When creating an event, user is requested to input the event's general information - name, location, date, starting time and description.

For user to be able to create events for an organization, it first needs to create that organization. After the organization is created, it will automatically be connected to that user, and the user then has an option to switch from their account to the organization's account. Each user can represent multiple organizations, but an organization can be represented by only one user.

Tools & technologies

Laravel

To create our backend API, we decided to use Laravel, a well-known PHP framework.

Laravel Sanctum

Laravel Sanctum is a lightweight authentication system for SPAs, mobile applications, and token based APIs. It is provides a simple way to authenticate API requests using tokens instead of cookies.

Docker

To create a development environment that would be the same on all devices, we used Docker, which is a tool that uses OS-level virtualization to deliver software inside containers. In Docker, we created two containers:

  • Laravel - we connected our backend Laravel application with Docker using Laravel Sail
  • PostgreSQL

Laravel Sail

Laravel Sail is a tool that makes working with Docker and managing containers easier

PostgreSQL

PostgreSQL is an open-source relational database management system that we used to create our database and manage data in it.

Postman

Postman is an API platform where developers can create HTTP requests to test whether their backend API is working properly or not. We decided to use Postman because it allowed us to create an environment and store variables, which was neccessary for testing user authentication.

React

For our frontend application, we decided to use React, which is a popular JavaScript library for building user interfaces. We chose React because it allows developers to break down the UI into smaller, reusable components, which makes the code more modular and easier to maintain. Our frontend application runs on localhost:3000.