This project is an Angular-based web application that integrates multiple plugins and features useful for real-world applications. The goal is to develop a sustainable travel app that includes a map, a calendar, and charts while storing all data in a MongoDB database via a Node.js backend. π Made with love πβ¨
- Navigation Menu: Includes links to:
- Home π‘
- Map πΊοΈ
- Calendar π (FullCalendar integration)
- Charts π (Chart.js integration)
- Full CRUD API in Node.js + MongoDB.
- User Itineraries: Users can save and manage their sustainable travel plans.
- Advanced Map Filtering:
- Multiple categories of markers (e.g., eco-friendly hotels, restaurants, and attractions).
- Filter locations dynamically with dropdowns or checkboxes.
- Event Editing in Calendar:
- Users can edit their events via a modal.
- Updated data is sent to the API and stored in the database.
- Angular + Tailwind CSS
- FullCalendar (for event management)
- Chart.js (for visualization)
- Mapbox (for interactive maps)
- Node.js + Express.js
- MongoDB (Mongoose ODM)
- REST API for data persistence
git clone https://github.com/Silvitui/inprocode.git
cd inprocodeFrom /root folder, execute:
cd backend
npm install In /backend folder create .env file containing:
PORT=3000
MONGO_DB_URI='your_mongo_db_connection_string'
JWT_SECRET='your_secret'
MAPBOX_API_KEY='your_mapbox_api_key'Filling MONGO_DB_URI JWT_SECRET & MAPBOX_API_KEY variables with your data.
In /backend folder, execute:
npm run buildFrom /inprocode folder, execute:
cd frontend
npm install From /inprocode folder, execute:
cd backend
npm run devFrom /inprocode folder, execute:
cd frontend
ng serve -oThe backend for PlanItGo ECO is built using Node.js and Express.js, with MongoDB as the database. It provides a REST API to manage users, itineraries, and places for sustainable travel.
- Node.js + Express.js (Server)
- MongoDB (Database)
- Mongoose (ODM for MongoDB)
- JWT Authentication (For user login and sessions)
- CORS (Cross-Origin Resource Sharing)
backend/
βββ controllers/ # API controllers
βββ models/ # Mongoose schemas
βββ routes/ # Express routes
βββ middlewares/ # Middleware functions
βββ config/ # Configuration files
βββ server.ts # Main server file
βββ .env # Environment variables
- Displays eco-friendly locations.
- Users can filter markers based on categories.
- Users can edit name of the events.
- Events are stored in MongoDB.
- Displays carbon footprint statistics.
- Compares different transport emissions.





