A beach resort web app built with React and Contentful for browsing rooms and resort information.
This project is a front-end application for a beach resort website.
It focuses on presenting rooms, filtering options, and general resort content in a clean and responsive UI.
- React (JavaScript)
- Contentful (headless CMS)
- HTML
- CSS
- Browse resort rooms
- Filter rooms by criteria (e.g., type, size, price, extras)
- View room details
- Responsive layout for desktop and mobile
- CMS-driven content via Contentful
src/components— reusable UI componentssrc/pages— route/page-level viewssrc/context— global state/context logicsrc/images— static image assetssrc/utils— helper functions
- Node.js (LTS recommended)
- npm or yarn
- A Contentful space and API credentials
git clone https://github.com/catatwork217/beach-resort.git
cd beach-resort
npm installCreate a .env file in the project root and add your Contentful credentials:
REACT_APP_CONTENTFUL_SPACE_ID=your_space_id
REACT_APP_CONTENTFUL_ACCESS_TOKEN=your_access_tokenIf your project uses different variable names, update these accordingly.
npm startApp runs at http://localhost:3000.
npm run buildnpm start— run development servernpm run build— create production buildnpm test— run tests (if configured)
You can deploy this app to platforms like:
- Netlify
- Vercel
- GitHub Pages (with appropriate React routing setup)
- Fork the repository
- Create a new branch (
feature/your-feature) - Commit changes
- Open a pull request
Add your preferred license (e.g., MIT) in a LICENSE file.