You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# Room Run
Room Run is a web application that connects users with delivery services for food, groceries, and medicines directly to their hostel rooms. This project utilizes Node.js, Express, and MongoDB to provide a seamless experience for users.
## Features
- User registration and authentication
- Order creation and management
- Delivery tracking
- User-friendly front-end interface
## Project Structure
```
room-run
├── src
│ ├── server.js # Entry point of the application
│ ├── config
│ │ └── db.js # MongoDB connection configuration
│ ├── controllers
│ │ ├── authController.js # Handles user authentication
│ │ └── orderController.js # Manages order-related operations
│ ├── models
│ │ ├── User.js # User model
│ │ ├── Order.js # Order model
│ │ └── Item.js # Item model
│ ├── routes
│ │ ├── api
│ │ │ ├── auth.js # Authentication routes
│ │ │ └── orders.js # Order routes
│ │ └── index.js # Main application routes
│ ├── middleware
│ │ └── auth.js # Authentication middleware
│ └── utils
│ └── logger.js # Logger utility
├── public
│ ├── index.html # Main HTML file
│ ├── css
│ │ └── style.css # CSS styles
│ └── js
│ └── main.js # Front-end JavaScript
├── .env.example # Example environment variables
├── .gitignore # Git ignore file
├── package.json # NPM configuration
└── README.md # Project documentation
```
## Installation
1. Clone the repository:
```
git clone
cd room-run
```
2. Install dependencies:
```
npm install
```
3. Set up environment variables:
- Copy `.env.example` to `.env` and fill in the required values.
4. Start the application:
```
npm start
```
## Usage
- Navigate to `http://localhost:3000` in your web browser to access the application.
- Register a new account or log in to manage your orders.
throw err;
^
# change to project root
cd "C:\Users\sumit\Desktop\ROOM RUN\room-run"
# install deps (first time)
npm install
# start server directly
node src/server.js
# OR if you have nodemon/dev script in package.json
npm run dev# ROOM-RUN