Tech-Ro Events Web Application is designed to manage and facilitate the booking of tickets for technology training seminars organized by the Tech-Ro Foundation. Users can read about, register for, and book tickets to various seminars. Administrators can manage users, events, and bookings to ensure a smooth operation.
public/
: Contains static files like CSS and JavaScript.views/
: HTML templates for rendering pages.routes/
: Application routes for different functionalities.models/
: MongoDB models for data handling.server.js
: Main application file.
-
Clone the repository:
git clone https://github.com/pkourr/Tech-Ro-events-Web-Application.git
-
Navigate to the project directory:
cd Tech-Ro-events-Web-Application
-
Install dependencies:
npm install
-
Configure MongoDB Atlas:
- Create a MongoDB Atlas account and set up a cluster.
- Obtain the connection string and update it in
config.js
.
-
Start the application:
node server.js
-
Access the application:
- Open your web browser and navigate to
http://localhost:3000
.
- Open your web browser and navigate to
- User Registration: Sign up and manage personal profiles.
- Event Booking: Browse and book tickets for upcoming seminars.
- Admin Panel: Manage users and events, view booking statistics.
users
Collection:_id
name
username
password
email
city
country
address
events
Collection:_id
name
date
location
description
availableSeats
bookings
Collection:_id
userId
eventId
seatsBooked
bookingDate
- Login as Admin:
- Default credentials:
username: admin
,password: admin
.
- Default credentials:
- Manage Users and Events:
- View, edit, and delete users and events from the admin panel.
- Track booking statistics and manage event capacities.
Contributions are welcome! Please follow these steps to contribute:
- Fork the repository.
- Create a new branch (
git checkout -b feature-branch
). - Commit your changes (
git commit -m 'Add some feature'
). - Push to the branch (
git push origin feature-branch
). - Open a pull request.
This project is licensed under the MIT License. See the LICENSE file for details.
Note: Ensure you have the necessary permissions and configurations on your server to avoid any issues during setup.