Skip to content

shravanthi94/Yelp-Prototype-MERN-Stack-

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

68 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Yelp Application (MERN Stack)

This is Yelp Web Application that allows users to register and order food online from the list of available restaurants and register for interesting events.

Prototype of Yelp application

Steps to deploy this application

Backend

  1. Clone the repository's back end folder "Backend" into any machine having node.js installed on it.
  2. Open the terminal in the folder "Backend".
  3. Execute "npm install" to install all the dependencies.
  4. Create a database "yelp" in MongoDB Atlas.
  5. Update the app.js file in Backend folder with frontend server's IP address and port.
  6. Execute "node index" to run the backend server.
  7. Launch the application

Kafka-Backend

  1. Clone the repository's back end folder "Kafka-Backend" into any machine having node.js installed on it.
  2. Open the terminal in the folder "Kafka-Backend".
  3. Execute "npm install" to install all the dependencies.
  4. Update "db.js" file in "config" folder inside Backend folder with database connection link.
  5. Execute "node index" to run the kafka-backend server.
  6. Start Zookeeper on terminal
  7. Start Kafka server on terminal
  8. Create all the topics necessary from the index.js folder
  9. Check if all the list of topics are created
  10. Launch the application

Front End

  1. Clone the repository's front end folder "frontend" into any machine having node.js installed on it.
  2. Open the terminal in the folder "frontend".
  3. Execute "npm install" to install all the dependencies.
  4. Update the "proxy" value in frontend "package.json" file with the backend server's IP address and port.
  5. Go to the "Backend" folder in the terminal and use "npm run dev" command.

Open the browser and navigate to Front end server's IP address with Port number (Eg: 127.0.0.1:3000) to find the landing page.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages