Welcome to the Sustainability Diary, your new space for growth and reflection on sustainability!
The Sustainability Diary is a platform created as part of NTNU's initiative to integrate sustainability into education. This platform offers a unique opportunity for users to document, reflect, and share their sustainability journeys. Whether you're a student exploring your thoughts and projects, or a teacher guiding the next generation, the Sustainability Diary is designed to foster a deeper understanding of sustainability practices.
- Document Your Journey: Track your sustainability projects and thoughts.
- Reflect and Share: Reflect on your progress and share insights with the community.
- Community Engagement: Become part of a community dedicated to making a difference.
- Educational Support: Tools and resources for both students and teachers to enhance sustainability education.
- Docker
- Docker Compose
-
Clone the repository:
git clone https://github.com/AndrChr0/Web-Prosjekt-Gruppe-2.git
-
Setup Environment Variables:
-
Backend: Create a
.env
file in thebackend
directory and add the necessary environment variables:JWT_SECRET=your_jwt_secret PORT=[NNNN] MONGO_URI=your_mongo_uri
-
Frontend: Create a
.env
file in thefrontend
directory and add the necessary environment variables:VITE_URL=http://localhost:[NNNN]
-
-
Start the services:
docker-compose up -d
Once the services are up and running, visit Sustainability Diary to start your sustainability journey. Please note that you are exploring the beta version of our site, where we're still fine-tuning features and not all functionalities are fully implemented yet.
- backend: Contains the backend code, including the server setup, routes, and database models.
- frontend: Contains the frontend code, including the React application and related assets.
We welcome contributions to improve the Sustainability Diary! Here's how you can help:
- Fork the repository.
- Create a new branch (
git checkout -b feature/your-feature-name
). - Commit your changes (
git commit -m 'Add some feature'
). - Push to the branch (
git push origin feature/your-feature-name
). - Open a Pull Request.
- This platform is part of NTNU's initiative to integrate sustainability into education.