Skip to content

varunteja007006/Star-Bakery

Repository files navigation

Star Bakery ⭐

Demo link - https://starbakery.netlify.app/ (Discontinued 😞) (Ran out of free trail on Google cloud)

Frontend hosted on the Netlify platform, backend is hosted on the Google Cloud Platform as a Cloud Run deployment (Which is a containerized deployment).

Requirements to run the backend

.env file with the following data.

PORT = 4000
MONGO_URI = ''

PORT can be modified as per the liking, MONGO_URI can be taken from mongodb.com.

Connecting with MongoDB Driver

- Select your driver and version: Node.js 2.2.12 or later
- Add your connection string into your application code: copy that string and paste it in MONGO_URI

Requirements to run the frontend

VITE_API_URL = 'http://localhost:4000'

The port number should match with the backend port number.

Running the frontend

In the project directory

Install npm packages

npm install

Once installed run the frontend server

npm run dev

Running the backend

In the project directory

Install npm packages

npm install

Once installed run the backend server

npm run dev

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages