Coder Social home page Coder Social logo

grecipe's Introduction

Grecipe CS 476 Project

Overview

A full-stack web Application to generate Recipes from receipts and save the data for all various members of family to use.

Getting Started

Prerequisites

  • Node.js (v14 or higher recommended)
  • npm (v6 or higher recommended)

Installation

Clone the repository to your local machine:

git clone https://github.com/r97draco/grecipe.git
cd grecipe

Client Setup

Navigate to the client directory and install the dependencies:

cd client
npm install

To start the client development server:

npm start

The application should now be running on http://localhost:3000.

Server Setup

Navigate to the server directory and install the dependencies:

cd server
npm install

To start the server for development:

npm run dev

The server will be running on http://localhost:9191.

Environment Variables

Client .env :

REACT_APP_VERSION = v1.0
REACT_APP_API_URL=http://localhost:9191
# For server : https://grecipe.onrender.com

Server .env :

PORT=9191

NODE_ENV = "development"

MONGO_URI = mongodb+srv://sjagroop212:[email protected]/

# Spoonacular API
SPOONACULAR_API_KEY="df41a01e17034106820fee0845017514"


# Firebase Admin SDK
FIREBASE_TYPE="service_account"
FIREBASE_PROJECT_ID="grecipe-f4676"
FIREBASE_PRIVATE_KEY_ID="ac5c44b1f47ae6f4f292a0dc0e239589a5142d39"
FIREBASE_PRIVATE_KEY="-----BEGIN PRIVATE KEY-----\nMIIEvAIBADANBgkqhkiG9w0BAQEFAASCBKYwggSiAgEAAoIBAQCahmeGv4xK5tam\n4P/Pi6Sv1PyXXxwV4wNBW+xKm/+H9/4r0CKV+8YjhNaIvTHCBupTraDbVMvhegzQ\nd2BeuXsfJA62YF7HWPtnLqTbF2qs5YtDErPIb8vUn/etntneMmb83ZVdZ6MpKGQT\nQN1xsvdNA6oVwhGU0mbl9fIL6TC48ZPrat2uiLwcETuKU+72/1Jzt8ENsywjoXjs\ndXfhp0KSs95mXUcwPPYzRxFT7qoOW4r2q45KYDaxkv9WJygh7afueUaJU9flW6Xs\nna393U/R21x0FktkYvXkLE2e82wWZ2Az7yq3TbdvC8CNUy7A+m9669tIFmMey1DD\nV3Sub/8fAgMBAAECgf8AtEbEgRr35xVorUh9KaXBJ2H/TppSKeFZ6uaox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QFjbBR0X79A108iWYkHsydNjpgQDG6+JKxaVfXRsls0rmXhhgCkJCgH\nUK2EyORXRk35Ld5S8awbgE/5sc3eRnR8HohqPS8U+T+itfvCmMdUQuQsjP5q8EAZ\na09CUpvGbjdBN9wR1OowpA==\n-----END PRIVATE KEY-----\n"
FIREBASE_CLIENT_EMAIL="[email protected]"
FIREBASE_CLIENT_ID="106805527609914957537"
FIREBASE_AUTH_URI= "https://accounts.google.com/o/oauth2/auth"
FIREBASE_TOKEN_URI="https://oauth2.googleapis.com/token"
FIREBASE_AUTH_PROVIDER="https://www.googleapis.com/oauth2/v1/certs"
FIREBASE_CLIENT_CERT="https://www.googleapis.com/robot/v1/metadata/x509/firebase-adminsdk-3at7g%40grecipe-f4676.iam.gserviceaccount.com"
FIREBASE_UNIVERSE_DOMAIN="googleapis.com"

Replace the values with your actual configuration details.

Features

  • Advanced Authentication: Secure authentication system using jsonwebtoken and firebase-admin.

License

This project is licensed under the MIT License - see the LICENSE file for details.

Acknowledgements

  • Axios
  • Firebase
  • ...and all other fantastic open-source projects.

grecipe's People

Contributors

r97draco avatar manjotveersingh avatar mohammadzfr avatar mvasylyev avatar mr-shake-codes avatar

Stargazers

 avatar

Watchers

 avatar

Forkers

mr-shake-codes

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.