Ever wonder which tutorial room is free* and which is not? π€¨
This tool could help you find out your dream tutorial room π₯³
Search which tutorial room is free by:
The website is mobile respondsive too!!
Link to website: https://wheretomug.ml/
Client: NextJs, ChakraUI
Server: NextJs API routes, Vercel
Others: EmailJs, SentryIO
We used EmailJs to collect feedbacks and SentryIO to log errors encountered by users.
which-room-free/
ββπ data
β ββ rooms_with_cluster.json //Rooms with cluster info
β ββ room_ids.json //Rooms with IDs info
β ββ room_occupancy.json //Rooms with occupancy info
ββπ public
β ββπ assets
β β ββ room_not_found_image.svg //Svg image for room not found
β β ββ study_modal_image.svg //Svg image for intro modal
ββπ src
β ββπ components
β β ββ ScrollToTop.js //Scroll to top button
β β ββ DisclaimerModel.tsx
β β ββ Feedback.js //Feedback form
β β ββ FilterOptions.tsx //Room filter
β β ββ FreeRoomCard.tsx //Individual room card
β β ββ FreeRoomsCardList.tsx //List of room cards
β β ββ Main.tsx //Component for main page
β β ββ RoomNotFound.tsx //Room not found component
β ββπ pages
β β ββπ api
β β β ββ index.js //API to filter rooms
β β ββ index.tsx //Main page
β ββ theme.tsx //Styling for the website
ββREADME.md
Clone the project
git clone https://github.com/OkkarMin/where-to-mug
Go to the project directory
cd where-to-mug
Install dependencies
npm install
Start the server
npm run dev
3 step process to deploying the site properly on vercel
To run this project, you will need to add the following environment variables to your .env file
EMAILJS_TEMPLATE_ID
EMAILJS_USER_ID
EMAILJS_SERVICE_ID
SENTRY_SERVER_INIT_PATH
SENTRY_UR
SENTRY_ORG
SENTRY_PROJECT
SENTRY_AUTH_TOKEN
GET /api?currentDay=${currentDay}&timeSlot=${timeSlot}&searchText=${encodedSearchText}&cluster=${cluster}
Parameter | Type | Description |
---|---|---|
currentDay |
string |
target day |
timeSlot |
string |
target timeSlot |
searchText |
string |
target Room |
cluster |
string |
target cluster |
If you have any feedback, please raise an issue in this repository
or
Write in to us using the feedback from, located at the bottom right of the website