Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 

Repository files navigation

SnapMenu

Team Members: Kishor Pandya, Dhrumil Pandya, Madhu Sivapragasam

This project is a reimplementation of Left (https://github.com/apatronl/Left)

Installation instructions

There are two main ways you can install the app, you can either use the public url to easily access and use the application (recommended) or you can install and set up the application locally on your computer. It is recommended that you use the public url so that you don't need to setup accounts for our different services or setup API keys. Instructions for using both options shall be provided below:

Instructions for public url (recommended)

Simply navigate to https://snap-menu.herokuapp.com/. Click on the register tab to create an account or click on the login tab to login to an existing account. After registering/logging in, you can follow the instructions in the about tab to use the application as intended.

Instructions for local setup

If you choose not to use the public url (https://snap-menu.herokuapp.com/), you can setup the application locally by following these steps. Please keep in mind it is recommended to use the public url since it saves you time from having to create several accounts and setup API keys for each account. If you wish to do the local installation without setting up accounts, please make sure you have the following prerequisites completed, and then follow the instructions.

Prerequisites:

Instructions:

  1. Clone this repository
  2. Run npm install in project src folder to install dependencies, cd into the src/client folder and run npm install again to install client dependencies. Then cd back into the project src folder.
  3. Create a .env file in the project root and add the following fields by using the keys from the mongodb, cloudinary account, clarifai and spoonacular account. Also add a custom JWT secret key that you can choose.
MONGODB_URI=mongodb+srv://user:password@cluster0.example.mongodb.net/<data>?retryWrites=true&w=majority
CLOUDINARY_CLOUD_NAME=XXXXXX
CLOUDINARY_API_KEY=XXXXXXXXX
CLOUDINARY_API_SECRET=XXXXXXXXXXXXXXX
CLARIFAI_API_KEY=XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
SPOONACULAR_API_KEY=XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
JWT_SECRET=MySecretPassword
  1. You can now run the project by running npm run dev in the project src folder which will run the client at localhost:3000 and the server at localhost:5000.
  2. You can either test the endpoints using the client or you use postman or a similar service to test endpoints directly through the server.
  3. Feel free to reach out to any of the developers if you need any help.

About

Website where you can upload a picture of leftover ingredients and get recipies to make from those ingredients.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages