Create your personalized schedule by selecting date ranges and days of the week. This tool helps visualize structured data in an easy-to-understand format based on user preferences.
The Schedule Generator is a React-based application built with Next.js. It allows users to create and visualize schedules based on custom date ranges and selected days of the week. Each period is represented as a week starting from a user-defined start date, and includes only the selected days within those periods.
To set up the project locally, follow these steps:
Clone the repository:
git clone https://github.com/valik3201/nextjs-schedule-generator.git
Navigate to the project directory:
cd nextjs-schedule-generator
Install dependencies:
npm install
Start the development server:
npm run dev
Open your browser and go to http://localhost:3000
.
Setup your schedule parameters:
Generate the schedule:
View the schedule:
Delete a period:
This application is a utility for creating and displaying structured data based on a user-selected date range and a set of days of the week. It allows the user to configure the generation parameters and view the results in a convenient format where each entry represents a specific period of time, starting from the specified start date, and includes the selected days of the week within each of these periods. For example, if the user selects a date range and chooses Monday and Wednesday, the schedule will contain week numbers and the corresponding dates of these Mondays and Wednesdays.
Select Date Range:
Select Days of the Week:
Generate and View Schedule:
Delete a Period:
Example Output:
0: { period: 'I', dates: '8, 10 Jul 2024'}
1: { period: 'II', dates: '15, 17 Jul 2024'}
2: { period: 'III', dates: '22, 24 Jul 2024'}
...
The application supports multiple languages. Localization files are located in the app/[lang]/dictionaries
directory.
Tailwind CSS is used for styling. Configuration can be found in tailwind.config.ts
.
Contributions are welcome! Please follow these steps:
git checkout -b feature-branch
).git commit -m 'Add some feature'
).git push origin feature-branch
).