Devang-Shah-49 / code-odyssey

Roots of India - A website to promote rural tourism, local artefacts, provide employment to locals..

Home Page:https://youtu.be/qidhOGHmjMM

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Code Odessey

Roots of India

Explore the hidden gems in rural India

Demo: https://youtu.be/qidhOGHmjMM

The Problem

Due to rising international tourism and westernization, people tend to buy imported products. This affects our country's GDP in a negative way. A probable solution to this is to use local products. Rural India is a hidden gem. Most of these imported artificats are made by Indians and sold at affordable prices by the locals. Only bottleneck is people aren't much aware of this.

The Solution

Our responsive website Roots of India, which:

  • Creates awareness about rural tourism in India
  • Promotes use and buying of handmade art and crafts made by the local skilled-people of India
  • Provides employment opportunities to the local residents of rural areas

Technologies used:

  • HTML
  • Tailwind CSS
  • JavaScript
  • MongoDB
  • Node JS
  • Express JS
  • Axios
  • Node package manager (npm)

Challenges we ran into

  • Making site responsive: Solved using tailwind css utilities
  • Allocation of specific tour guide: Solved using pincode matching in Backend

Getting Started

Prerequisites

Cloning the repository locally

  • Clone the project on localhost
git clone https://github.com/Devang-Shah-49/code-odyssey.git
  • Move to the project directory
cd .\code-odyssey\
  • Install required npm packages
npm install

Connecting to the Database

  • Spin up your cluster in MongoDB and also create a .env file
  • Replace your connection with URI in .env
  • If you face any problems, refer to the MongoDB website.

Connecting to the Database if you haven't used MongoDB Atlas before

Install the MongoDB Node.js Driver with the following command:

npm install mongodb

Set up a MongoDB Atlas Database by following this short MongoDB setup video till the 3:20 mark. Stop after that mark!

On your Cluster home page, select CONNECT > Connect your application.

  1. Select Node.js in the drop down for your driver, and select the latest version.
  2. Then, copy the connecting string (URI).
  3. Paste this string as the value of mongoURI inside .env of this project.

Replace the <password> section of the string with your Database Access password. Your server should now successfuly connect to MongoDB!

Running the website locally

  • Execute the command
npm run dev
  • Nodemon will automatically run node server.js for you
  • If everything executed properly, you will get a log Connected at 3001 on the console.
  • Hurray! The web would now be up and running on http://localhost:3001/

Screenshots of the website

home places_to_visit kutch1 kutch2 guide_alloc

Bug Reporting/Feature Request

  • Feel free to open an issue on GitHub if you find any bug or to request any additional features.
  • Connect with me on LinkedIn. I would love ❤️️ to help!

About

Roots of India - A website to promote rural tourism, local artefacts, provide employment to locals..

https://youtu.be/qidhOGHmjMM


Languages

Language:HTML 84.7%Language:CSS 8.3%Language:JavaScript 7.0%