Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ressuman/next-events-handler-project
This application allows users to explore, search for, and view details of various events. Built with the Pages Router, the app features a modular design, reusable components, and CSS Modules for styling. Users can search events by date, view event details, and it integrates dynamic routing, and supports error handling for a seamless user experience
https://github.com/ressuman/next-events-handler-project
css-modules dynamic-routing html-css-javascript nextjs pages-router reactjs
Last synced: 20 days ago
JSON representation
This application allows users to explore, search for, and view details of various events. Built with the Pages Router, the app features a modular design, reusable components, and CSS Modules for styling. Users can search events by date, view event details, and it integrates dynamic routing, and supports error handling for a seamless user experience
- Host: GitHub
- URL: https://github.com/ressuman/next-events-handler-project
- Owner: ressuman
- Created: 2024-09-03T16:45:49.000Z (2 months ago)
- Default Branch: main
- Last Pushed: 2024-10-11T12:14:05.000Z (24 days ago)
- Last Synced: 2024-10-15T17:35:09.762Z (20 days ago)
- Topics: css-modules, dynamic-routing, html-css-javascript, nextjs, pages-router, reactjs
- Language: JavaScript
- Homepage: https://ressuman-next-events-handler-local-app.vercel.app/
- Size: 516 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Events Handler App
The **Events Handler App** is a dynamic events management application built with **Next.js 14** (Pages Router). It allows users to browse, search for, and view details of various events. The application includes a responsive interface, modular components, and a smooth navigation experience for exploring event details.
## Table of Contents
- [Events Handler App](#events-handler-app)
- [Table of Contents](#table-of-contents)
- [Features](#features)
- [Folder Structure](#folder-structure)
- [Gif](#gif)
- [](#)
- [Getting Started](#getting-started)
- [Learn More](#learn-more)
- [Deploy on Vercel](#deploy-on-vercel)## Features
- List and view event details.
- Search for events by date (year and month).
- Modular and reusable components.
- Integration of SVG icons for logistics.
- Styled using CSS Modules.## Folder Structure
```bash
πcomponents
βββ πerror-alert
β βββ error-alert.js
β βββ error-alert.module.css
βββ πevent-content
β βββ event-content.js
β βββ event-content.module.css
βββ πevent-item
β βββ event-item.js
β βββ event-item.module.css
βββ πevent-list
β βββ event-list.js
β βββ event-list.module.css
βββ πevent-logistics
β βββ event-logistics.js
β βββ event-logistics.module.css
βββ πevent-search
β βββ event-search.js
β βββ event-search.module.css
βββ πevent-summary
β βββ event-summary.js
β βββ event-summary.module.css
βββ πicons
β βββ address-icon.js
β βββ arrow-right-icon.js
β βββ date-icon.js
βββ πlogistics-item
β βββ logistics-item.js
β βββ logistics-item.module.css
βββ πresults-title
β βββ results-title.js
β βββ results-title.module.css
βββ πui
β βββ button.js
β βββ button.module.css
πdata
βββ dummy-data.js
πpages
βββ πevents
β βββ π[...slug]
β β βββ index.js
β βββ π[eventId]
β β βββ index.js
β βββ index.js
βββ _app.js
βββ _document.js
βββ index.js
πpublic
βββ πimages
β βββ ai-event.avif
β βββ coding-event.avif
β βββ cybersecurity-event.avif
β βββ data-event.avif
β βββ extrovert-event.avif
β βββ introvert-event.avif
β βββ javascript-event.avif
β βββ uiux-event.avif
βββ icon.svg
πstyles
βββ globals.css
πwrapper
βββ πheader
β βββ main-header.js
β βββ main-header.module.css
βββ πlayout
βββ layout.js
.eslintrc.json
.gitignore
jsconfig.json
next.config.mjs
package-lock.json
package.json
README.md
```````
## Installation
1. Clone the repository:
```bash
git clone https://github.com/your-username/events-handler-app.git
```2. Navigate to the project directory:
```bash
cd events-handler-app
```3. Install the dependencies:
```bash
npm install
```## Running the App
1. Start the development server:
```bash
npm run dev
```2. Open [http://localhost:3000](http://localhost:3000) in your browser to view the app.
## Technology Stack
- **Next.js 14** (Pages Router)
- **React**
- **CSS Modules** for styling
- **JavaScript**## Components Overview
- **ErrorAlert**: Displays error messages.
- **EventContent**: Manages event content layout and details.
- **EventItem**: Represents an individual event in the event list.
- **EventList**: Displays a list of events using `EventItem`.
- **EventLogistics**: Displays logistics such as date and location for an event.
- **EventSearch**: Search form for filtering events by year and month.
- **EventSummary**: Provides an overview of an event's title.
- **Icons**: Includes SVG icons for logistics and navigation.
- **LogisticsItem**: Handles the display of logistics-related items (date, location).
- **ResultsTitle**: Displays the title of search results.
- **Button**: Reusable button component for navigation and interactions.## License
This project is licensed under the MIT License.
````
This `README.md` reflects your folder structure, project details, and key components. You can replace the GitHub repository link placeholder with your actual URL when sharing it.
## Gif
Here is an expected gif of the preview of the App(Events Handler App)
## ![Events Handler App gif](./assets/training-auth.gif)
This is a [Next.js](https://nextjs.org/) project bootstrapped with [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packages/create-next-app).
## Getting Started
First, run the development server:
```bash
npm run dev
# or
yarn dev
# or
pnpm dev
# or
bun dev
```Open [http://localhost:3000](http://localhost:3000) with your browser to see the result.
You can start editing the page by modifying `pages/index.js`. The page auto-updates as you edit the file.
[API routes](https://nextjs.org/docs/api-routes/introduction) can be accessed on [http://localhost:3000/api/hello](http://localhost:3000/api/hello). This endpoint can be edited in `pages/api/hello.js`.
The `pages/api` directory is mapped to `/api/*`. Files in this directory are treated as [API routes](https://nextjs.org/docs/api-routes/introduction) instead of React pages.
This project uses [`next/font`](https://nextjs.org/docs/basic-features/font-optimization) to automatically optimize and load Inter, a custom Google Font.
## Learn More
To learn more about Next.js, take a look at the following resources:
- [Next.js Documentation](https://nextjs.org/docs) - learn about Next.js features and API.
- [Learn Next.js](https://nextjs.org/learn) - an interactive Next.js tutorial.You can check out [the Next.js GitHub repository](https://github.com/vercel/next.js/) - your feedback and contributions are welcome!
## Deploy on Vercel
The easiest way to deploy your Next.js app is to use the [Vercel Platform](https://vercel.com/new?utm_medium=default-template&filter=next.js&utm_source=create-next-app&utm_campaign=create-next-app-readme) from the creators of Next.js.
Check out our [Next.js deployment documentation](https://nextjs.org/docs/deployment) for more details.