Cỏ May Bakery is a web application showcasing and managing bakery products, built using Next.js and Sanity CMS, and deployed on Vercel. Check example website here: https://co-may-bakery.vercel.app/ BackEnd repo: https://github.com/GBNguyen1340/comay_bakery_sanity
- Showcase of bakery products with a modern UI.
- Managed content using Sanity CMS.
- Optimized for deployment on Vercel.
- Built with the latest features of Next.js.
Before running the project, ensure you have the following installed:
-
Clone the repository:
git clone https://github.com/yourusername/co-may-bakery.git cd co-may-bakery
-
Install dependencies:
npm install # or yarn install
To run the application in development mode:
npm run dev
# or
yarn dev
The application will be available at http://localhost:3000.
-
Install the Vercel CLI if not already installed:
npm install -g vercel
-
Log in to Vercel:
vercel login
-
Deploy the project:
vercel
-
Your application will be live at the Vercel-provided URL.
├── components/ # Reusable components
├── pages/ # Application routes
├── public/ # Static assets
├── styles/ # Global and component-level styles
├── .env.local # Environment variables
├── next.config.js # Next.js configuration
├── package.json # Project dependencies
npm run dev
: Run the development server.npm run build
: Build the application for production.npm start
: Start the application in production mode.
Contributions are welcome! Please fork the repository and create a pull request for any improvements or bug fixes.
This project is licensed under the MIT License. See the LICENSE file for details.