Explore the hidden gems in rural India
Demo: https://youtu.be/qidhOGHmjMM
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.
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
- HTML
- Tailwind CSS
- JavaScript
- MongoDB
- Node JS
- Express JS
- Axios
- Node package manager (npm)
- Making site responsive: Solved using tailwind css utilities
- Allocation of specific tour guide: Solved using pincode matching in Backend
- Install Node JS - Refer to https://nodejs.org/en/ to install nodejs
- 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
- 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.
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.
- Select Node.js in the drop down for your driver, and select the latest version.
- Then, copy the connecting string (URI).
- 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!
- 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/
- 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!