Skip to content

Repository files navigation

Alt text

Find a Roomie

Introduction

"Find a Roomie" is a web application designed to assist students across the globe in finding suitable accommodation. With a focus on ease of use and security, it offers a platform for users to list or search for rooms with just a few clicks.

Key Features

  • User-Friendly Interface: Intuitive design for effortless navigation.
  • Secure Login: Ensures a safe, personalized user experience.
  • Dual Functionality:
    • List a Room: Users can list their available rooms with detailed preferences.
    • Find a Room: Advanced search options with customizable filters.
  • Additional Implementations: Blog integration, advanced security features, and confidentiality of personal information.

Set up project in VS code:

  1. Clone the Repository:

    git clone <repository-url>
    cd <repository-directory>
  2. Open Project in VS Code: Open VS Code and navigate to File -> Open... or use the command line:

    code .
  3. Environment Variables Ensure to set up these environment variables before running the application:

    • MONGODB_URI: MongoDB connection string for the 'roomies' database.
    • PORT: Port number on which the server will run (e.g., 3002).
    • REACT_APP_API_BASE_URL: Base URL for the API server (e.g., http://localhost:3002).
  4. Install Dependencies: If your project requires dependencies (typically managed via package.json for Node.js projects, install them using:

    npm install-all   # From root folder for installing backend and frontend dependencies
    or
    npm install # To be run individually from backend and frontend
  5. Run Project

    Start Backend Server

    To start the backend server, run:

    npm run start-backend # run from root folder

    This will start the server using node backend/server.js.

    Start Frontend Development Server

    To start the frontend development server, run:

    npm run start-frontend # run from root folder

    This will navigate to the frontend directory and start the development server using npm start.

    Start Both Backend and Frontend Concurrently

    To start both the backend and frontend concurrently (in development mode), run:

    npm start # run from root folder

    This uses concurrently to run both npm run start-backend and npm run start-frontend simultaneously.

  6. Git Workflow

    1. Creating a new branch:

      git branch new-branch-name
      git checkout new-branch-name
      # or using a single command
      git checkout -b new-branch-name
    2. Commit Changes:

      git add .
      git commit -m "Your commit message"
      git push origin new-branch-name

These commands help in creating a new branch, switching to it, staging changes, committing them, and pushing the changes to the remote repository.

Object Model Using Domain Driven Design

Alt text

Find a Roomie - User Stories and Corresponding REST API Resources

Team Maverick Team 35

About

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages