GeoMapping is a tool where Geoscientists can create routes with a detailed registry of the rocks observed. Users can share their discoveries in the Field with other users, creating a database of very valuable and unique information. You can check the result here
After you download this repo, you must open 2 console windows, one situated in server side and the other in client side. You must do the installation of the npm packages in both sides.
npm i
After installing, you must create 2 files .env, 1 for the client side and 1 for the server side. You must have keys for Google Maps API services and Cloudinary. The .env of the client must contain the following:
REACT_APP_API_URL=http://localhost:5000/api
REACT_APP_URL=http://localhost:5000/
REACT_APP_MAPS_KEYS=****YOUR GOOGLE MAPS API KEY****
The .env of the server:
PORT=5000
DB=****DB NAME HERE (OR CONNECTION STRING IN CASE OF USING A REMOTE DB)****
DOMAIN=http://localhost:3000
CLOUDINARY_NAME=****YOUR CLOUDINARY NAME HERE****
CLOUDINARY_KEY=****YOUR CLOUDINARY KEY HERE****
CLOUDINARY_SECRET=****YOUR CLOUDINARY SECRET HERE****
Make sure that in middleware.config.js in server side has the DOMAIN variable written for the CORS.
In order to execute it, you must enter two instructions in console:
For client side:
npm start
For server side:
npm run dev
- React.
- Bootstrap React.
- Google Maps React.
- Cloudinary.
- Node.
- Express.
- MongoDB.
- Mongoose.
- Bcrypt.
- Pass
Two Ironhackers:
- Ignacio Serrano - ignacioserrano9
- David Roel Gómez - Cifox92
_Thanks to our teacher, TAs and mates for this awesome journey. Ironhack has been great and this project is the best result of us.