Skip to content

A meal planning app with an AWS serverless backend

Notifications You must be signed in to change notification settings

Ekhemlin/nextmeal.io

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

70 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

nextmeal.io

nextmeal.io is a meal-planning site written with a React.js frontend, and an AWS Serverless Application Model backend. The site is deployed at nextmeal.io.

Its current features are:

  • Groceries inventory management.
  • Tracking custom macronutrient goals.
  • Recipe planning and search using the Sponnacular's API.
  • Prediction of recipe healthiness using a Keras Neural Network and the OpenFoodFacts API.

Technical Description

The complete stack used to develop the project is:

Backend: Node.js running on AWS Lambda + API Gateway

Database: DynamoDB

Frontend: React.js and Bootstrap

Web Deployment: Nginx + Let's Encrypt running on EC2

Machine Learning: Python and Keras

The full list of API endpoints for the backend is available in SAM-backend/ENDPOINTS.md

Building the project

Requirements:

To build and deploy the project, you need to have:

Setup instructions:

  • Clone the repository.
  • cd nextmeal.io/SAM-backend
  • Run sam build && sam deploy.
  • Inside your AWS management console, go to the API Gateway page and ensure you have an API group named sam-app.
  • Copy the value of the ID field for sam-app.
  • cd ../frontend
  • Create a .env file in nextmeal.io/frontend with the variable API_ENDPOINT=<sam-app ID>.
  • Run npm install.
  • Run npm start.

About

A meal planning app with an AWS serverless backend

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published