Git Product home page Git Product logo

flybooker's Introduction

Flybooker

✈️ MERN app with Keycloak

flybooker.png

Flybooker is a web application built on the MERN (MongoDB, Express, React, Node.js) stack, secured with Keycloak. It allows users to book flights and manage flight listings. After logging in as a regular user, you can access the flight list, while admins have additional privileges such as deleting flights. The project includes a Docker Compose configuration for running Keycloak and MongoDB. Follow the instructions below to get started with Flybooker.

🛠️ Technologies Used

Flybooker is built using the following technologies:

  • MongoDB
  • Express
  • React
  • Node.js
  • JavaScript
  • Keycloak

🚀 Getting Started

To start the Flybooker application, follow these steps:

  1. Run the following command to start Keycloak and MongoDB using Docker Compose:

    docker-compose up
  2. After the containers are up and running, execute the script.sh script to start the frontend and backend:

    ./script.sh

    This script installs the necessary dependencies and starts the frontend and backend servers.

  3. Access the Flybooker application by opening your web browser and navigating to http://localhost:3000.

🔑 Login Credentials

Use the following credentials to log in:

Regular User:

  • Username: myuser
  • Password: myuser

Admin:

  • Username: myadmin
  • Password: myadmin

🎉 Features

Flight Listing

Upon logging in as a regular user, you gain access to a flight listing section. Browse through a curated selection of example flights and view their details.

Admin Section

As an admin, you have additional privileges. In addition to accessing the user flight listing, you can also navigate to the admin section. Explore a broader range of flights and enjoy the ability to delete unwanted flights from the database.

📄 License

Flybooker is licensed under the MIT License. See the LICENSE file for more information.

flybooker's People

Contributors

piterson25 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.