Skip to content

UTDallasEPICS/The-Lab-Makerspace-Scheduling

Repository files navigation

Overview

This project is a user friendly reservation and calendar system to display events and their details. This system is part of a larger project focused on integrating their calendar web application with their kiosk system.The goal is to enable the application to handle tasks typically performed by a receptionist, including​ checking in users, providing event details, and RSVPing for upcoming events​ using a key fob sign in system​.

This is a Next.js project bootstrapped with create-next-app.

Functional Requirements

The calendar page has a calendar view with all of events that will be happening that month, along with the start time. The user can click on a specific event to get more information about the event. This calendar can also be switched to weekly view, or a list of all events scheduled.
The Event Details page has specific information about a event including event name, description, start and end time, exclusivety, and location. At the bottom of this page is a RSVP button to register for events.
When the RSVP button is clicked, the user is asked to scan their fob id on a reader. This reader take the member id and send it to be validated.
If the validation is successful, the RSVP goes through.

Getting Started

Clone the repository.
Run npm install to download all the necessary packages and dependencies.
Create a .env file, copy over .env.example, and fill it with the your desired values. Ensure you edit the values in userStore.json to ensure that the jwt values can be interpreted with your JWT_SECRET.
Run docker-compose up.
Also run npx prisma migrate dev to initialize the database. First, run the development server:

npm run dev
# or
yarn dev
# or
pnpm dev

Open http://localhost:3000 with your browser to see the result.

You can start editing the page by modifying pages/index.tsx. The page auto-updates as you edit the file.

API routes can be accessed on http://localhost:3000/api/hello. This endpoint can be edited in pages/api/hello.ts.

The pages/api directory is mapped to /api/*. Files in this directory are treated as API routes instead of React pages.

This project uses next/font 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:

You can check out the Next.js GitHub repository - your feedback and contributions are welcome!

Deploy on Vercel

The easiest way to deploy your Next.js app is to use the Vercel Platform from the creators of Next.js.

Check out our Next.js deployment documentation for more details.

Tech Stack

Front end: React.js, TailWind.css
Backend: Next.js
Other: Docker, Postman

Deployment status: Not deployed

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published