An online bakery platform where customers can browse, customize, and order cakes and pastries, with features for store staff to manage logistics and operations.
- 🌐 Frontend (Client Server Link): http://cakery-mark-dev.vercel.app
- 🌐 Backend API Documentation: https://cakerybackendapp.azurewebsites.net/apidocs (Default page contains API documentation with the ability to test all endpoints)
app/– Backend API files (Flask, PostgreSQL)- Contains
.env.examplefor backend environment configuration.
- Contains
frontend/– Client server files (Next.js)- Contains
.env.examplefor frontend environment configuration.
- Contains
Each folder (app/ and frontend/) has its own .env.example file for environment variable setup.
git clone https://github.com/Anas-Ah25/Cakery.git
cd Cakery- Navigate to the backend directory:
cd app- Install dependencies:
pip install -r requirements.txt- Create a
.envfile from the example:
cp .env.example .env- Update the
.envfile with the following connection string for a testing DB:
DATABASE_URL=postgresql+psycopg2://Anas:testServer1@cakery.postgres.database.azure.com:5432/CakeryMainDB
- Start the backend server:
flask runBackend runs at: http://127.0.0.1:5000
- Navigate to the frontend directory:
cd frontend- Install dependencies:
npm install
# If you encounter dependency conflicts, use:
npm install --legacy-peer-deps- Start the development server:
npm run devFrontend runs at: http://localhost:3000
- Frontend: http://localhost:3000
- Backend: http://127.0.0.1:5000