Skip to content
This repository has been archived by the owner on Oct 18, 2023. It is now read-only.
/ ES Public archive

Deployed a modern AWS restaurant service using RDS, DynamoDB, S3, Elastic Beanstalk, Lambda, and Step Functions, with React.JS and Django for seamless order processing, food delivery, and face recognition payments.

Notifications You must be signed in to change notification settings

DiogoCruz40/ES

Repository files navigation

ES

This is the ES project

Run Server:

  1. About react:

$ cd frontend && npm install && npm run build

  1. Run server django:

$ python3 -m venv env

$ source .env/bin/activate

$ cd .. && python manage.py collectstatic && python3 manage.py runserver

  • Then access localhost:8000 for react app
  • Access localhost:8000/api for django app

For frontend testing:

$ cd frontend && npm install && npm run start

  • Access localhost:3000 for react app live reload

Implement AWS:

  • Dynamodb -> ids das caras
  • RDS postgres -> utilizadores
  • lambda functions -> function handler de objetos e serviços
  • step functions -> control flow mediante a execução

Implement django:

  • Cors headers and rest framework and authjwt

Implement React:

  • Fetch list of items -> for testing use simulated objects
  • Have 2 routes one for user "/" and other for kitchen(with authjwt) "/kitchen"
  • installed react-router-dom and react-webcam,sass,bootstrap,autoprefixer

For testing purposes we will use a json server, accept post and get requests: $ npx json-server --watch test/test.db --port 8000

References:

https://www.youtube.com/watch?v=w8SQ8beafiQ&ab_channel=CodeKeen https://www.youtube.com/watch?v=zCIpWFYDJ8s&list=PL9nWRykSBSFgQrO66TmO1vHFP6yuPF5G-&ab_channel=BeABetterDev https://www.youtube.com/playlist?list=PL4cUxeGkcC9gZD-Tvwfod2gaISzfRiP9d https://medium.com/@dakota.lillie/django-react-jwt-authentication-5015ee00ef9a https://javascript.plainenglish.io/capture-images-via-webcam-using-react-9282bb87de5a

About

Deployed a modern AWS restaurant service using RDS, DynamoDB, S3, Elastic Beanstalk, Lambda, and Step Functions, with React.JS and Django for seamless order processing, food delivery, and face recognition payments.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published