RoadMate is a web application built with Angular and Node.js that allows users to book and manage their travel itineraries. The app uses Mapbox to display maps and search for locations, and allows users to select travel dates, routes, and transportation options. Users can also manage their profile information, view their travel history. The backend is built with Node.js and MongoDB, and includes RESTful APIs for user authentication and data management. The frontend is built with Angular and includes components for displaying maps, search results, and travel information.
- Search for destinations using the Google Place API and ability to view the results on a map using MapBoxAPI
- Ability to create driver or customer account
- Create and manage trip itineraries with multiple destinations
- Get directions and estimated travel times using the Leaflet Routing API
- Angular framework for building the frontend
- Node.js and Express for building the backend API
- MongoDB as the database
- Google Place API for location search
- MapBox API for map display, routing and directions
cd backend-app/data
mongosh --port 27017
use carpooling_db
exit
mongoimport --db carpooling_db --collection internautes --file internautes.json --jsonArray --drop
mongoimport --db carpooling_db --collection covoiturages --file covoiturages.json --jsonArray --drop
Update the DB_URL
variable in the .env
file.
npm i -g nodemon
cd backend-app/
npm i
cd front-end-app/
npm i
cd backend-app/
nodemon server
cd front-end-app
ng serve -o
Accéder à l'url http://localhost:4200/
Connexion
Inscription
Mes informations
Mes Reservations
Mes informations
Mes Trajets
Ajout d'offre