Skip to content

Akash4701/TrendTrove

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 

Repository files navigation

E-commerce application

E-commerce websites require a tremendous amount of data. I searched for APIs online, but they were all priced services. Instead, I used browserless.io to fetch data from the e-commerce sites. Utilizing Puppeteer, I scraped data from different sites .


Tech Stack

  • Frontend: React, Tailwind CSS
  • Backend: Node.js, Express.js
  • Database: MongoDB
  • Architecture: MVC (Model-View-Controller)

Setup and Contributions Guidelines

$~$

📤 Set up

  • These are the steps required to install/run the project.
  1. Clone the repository:

    git clone https://github.com/your-username/your-repository.git
  2. Navigate to the project directory:

    cd your-repository
  3. Navigate to the client folder:

    cd client
  4. Add this .env file in client's root folder

       REACT_APP_API_URL=<your_backend_url>
  5. Install frontend dependencies:

    npm install
  6. Start the frontend server:

    npm start
  7. Add this .env file in server's root folder

        DB="mongodb+srv://Admin_364:admin@courseapp.yyiqalo.mongodb.net/?retryWrites=true&w=majority&appName=CourseApp"
        PORT=5000
  8. Open another terminal and navigate to the server folder:

    cd server
  9. Install backend dependencies:

    npm install
  10. Create a database in MongoDB Atlas and add the connection string to the .env file(I have already include mongo db connection string you can skip this step):

    • Create an account on MongoDB Atlas.
    • Create a new cluster and database.
    • Get the connection string.
    • Create a .env file in the server directory.
    • Add the following to the .env file, replacing <your_connection_string> with your actual connection string:
    MONGODB_URI=<your_connection_string>
    
  11. Start the backend server:

    npm start
  12. Now you are all set to start working on this project

Work in Progress

This project is still under active development. Feel free to contribute or check back later for updates.

About

An E-commerce application

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors