Full-stack application, where users can share and review campground locations built with the MERN stack.
Technology | Purpose |
---|---|
React | Frontend framework |
React Router | Routing |
React Query | Data fetching and caching |
React-Bootstrap | UI components and styling |
Mapbox | Map API |
Vite | Frontend build tool |
npm i
VITE_API_URL= # Backend API URL
VITE_MAPBOX_TOKEN= # Mapbox API token
Script | Description |
---|---|
npm run dev |
Run the app in the development mode (http://localhost:3001) |
npm run lint |
Lint the app |
npm run format |
Format the app |
npm run build |
Build the app for production |
npm run preview |
Preview the production build |