Lobster Lines is a dynamic web application that provides real-time wait times at various Red Lobster restaurants. This application is built using React, NextJS, and leverages MapTiler and OpenStreetMaps for interactive mapping features. Backend functionality is handled using Vercel Serverless Functions, interfacing with the Red Lobster API to fetch current wait times.
Before setting up the project, ensure you have the following:
- Node.js installed on your system.
- A MapTiler API key (you will need to sign up at MapTiler to obtain your own key).
- Clone the Repository:
git clone https://github.com/your-username/lobster-lines.git cd lobster-lines
- Environment Variables:
Create a
.env.local
file in the root of your project and add the following line:NEXT_PUBLIC_MAPTILER_KEY=<Your_MapTiler_API_Key>
- Install Dependencies:
npm install
- Development Mode: Run the following command to start the development server:
npm run dev
The application will be available athttp://localhost:3000
. - Production Build: To create a production build, use:
npm run build
Then, to start the production server:npm run start
Contributions to Lobster Lines are welcome. Please ensure to follow the established code style and conduct thorough testing before submitting any pull requests.
This project is licensed under the Apache License 2.0.
Happy Dining! ๐ฆ