Skip to content

Files

Latest commit

0378c19 · Mar 23, 2023

History

History

operation-mother-earth_server

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
Feb 11, 2023
Feb 11, 2023
Mar 23, 2023
Feb 11, 2023
Feb 11, 2023
Feb 11, 2023
Feb 11, 2023
Feb 11, 2023

🌎 Operation Mother Earth - Backend

Operation Mother Earth is a multi-page application for school-age children to learn about electronic waste. The web application in mobile responsiveness is intended to be played on a mobile or tablet device. The application consists of a storyboard game, google search for e-waste centers around the client, user to add ew-waste centers to the server, ask questions and post questions, and view a collection of videos about e-waste.

🚀 Demo

https://operation-mother-earth.netlify.app/

💻 Built with

  • Axios
  • MongoDB
  • Express
  • Node.js
  • Mongoose
  • Google-API
  • RESTful APIs
  • uuidv4
  • Install/Run

    When you open the directory run:

    npm install

    In the project directory, run:

    npm start

    The frontend for this project is located on repo operation-mother-earth-client

    You will need to open and run the frontend for the backend to work.

    🛠️ Installation Steps:

    1. To start using this app you first need to clone the repository:

      git clone git@github.com:revyrob/operation-mother-earth-server.git

    2. Run with MongoDB:

      Within the Data folder there are 5 folders with json data for the projects. Import these files into your MongoDB database and enter your DB_URI key into the environment file. OR You can also run the operation-mother-earth-jsonServer if you don't want to create a MongoDB database.

    3. Create a .env file within the root folder. Create a google api key with Google Cloud. Create a MongoDB account and add your DB_URI key. Include the following into the .env file:

      PORT = 8080 REACT_APP_NEXT_PUBLIC_GOOGLE_MAPS_API_KEY = Google API key DB_URI = MongoDB connection line

    4. Run the backend with the following command in the folder:

      npm start

    5. Locate the frontend repo at operation-mother-earth-client and follow install steps.

    🔮 Future Plans for Operation Mother Earth

  • Searching for funding to continue and grow this application.
  • Add different game levels for different ages.
  • Continue to research and add questions and resources about e-waste.
  • The application to be in french and english.
  • Trial the application with a local school.