Welcome to the Places backend repository. This project is a travel website backend built with Express and Node.js that handles user authentication, photo uploads, and CRUD operations for places.
- User Authentication: Secure authentication using JWT tokens.
- CRUD Operations: Handles creating, reading, updating, and deleting places.
- Image Upload: Supports image upload using file-picker local storage with comprehensive error handling on both the server and client sides.
- Geolocation: Integrates with Google Maps Geolocation API to convert manually written addresses to coordinates.
- 🚀 Express
- 🌐 Node.js
- 🗄 MongoDB
- 🔐 JWT for authentication
- 📍 Google Maps Geolocation API
Before you begin, ensure you have the following installed:
- Clone the repository
git clone https://github.com/RayLikesAnime/Places_Backend.git cd Places_Backend - Install dependencies
npm install
- Set up Environment Variables
MONGODB_URI=your_mongodb_uri JWT_SECRET=your_jwt_secret
- Run the Development Server
npm start
Check out the live demo of the project https://places-d2w7.onrender.com/
Contributions are welcome! Please open an issue or submit a pull request for any improvements or new features.
This project is licensed under the MIT License.