Hannah-Sofie / SustainabilityDiary

1 stars 0 forks source link

Sustainability Diary

Sustainability Diary is a web application designed to support the integration of sustainability into design education. It serves as an interactive platform where students and educators can document, reflect, and engage with sustainability practices within their coursework and beyond. The purpose is to deepen the understanding of sustainability impacts and solutions through active learning and reflection.

Table of Contents

Features

Installation

  1. Clone the repository:
git clone https://github.com/yourusername/sustainability-diary.git
cd sustainability-diary
  1. Install the dependencies:
npm install
  1. Set up the backend server (assuming you have a backend server ready and configured).

  2. Start the development server:

npm start

The application will be available at http://localhost:3000.

Environment Variables

Create a .env file in the root directory of your project and add the following environment variables:

REACT_APP_API_URL=http://localhost:5000

Adjust the REACT_APP_API_URL to match your backend server URL.

Usage

User Authentication

Users can register and log in to access the application's features. Authentication is handled using JSON Web Tokens (JWT).

Reflections

Classrooms

Sustainability Resources

API Endpoints

The backend API endpoints handle the data and authentication. Below are some example endpoints:

Components

Main Components

Reusable Components