bounswe / bounswe2024group11

The proof of work and the product from the 2024G11
https://bounswe.github.io/bounswe2024group11/
11 stars 1 forks source link
documentation research software-design software-engineering

Boun SWE 2024 Group 11

Cover Image

πŸ“š About the Repository

As a group of 10 passionate people, we are building a software project to grasp various aspects of OSS (Open Source Software), collaborative development, teamwork, project management, and as well as programming. It's suggested to check the Wiki

⏳ Project Status

βœ… Requirements + Project Planning

βœ… Software Design & UI/UX Design

⏸️ Implementation

🌴 Project Structure

Structure of the Web Part

β”œβ”€β”€ web
β”œβ”€β”€ public
|   β”œβ”€β”€zenith-logo.png
|   β”œβ”€β”€zenith-logo.svg
β”œβ”€β”€ src
β”‚   β”œβ”€β”€ components
β”‚   β”‚   β”œβ”€β”€ Button.tsx
β”‚   β”‚   β”œβ”€β”€ Checkmark.tsx
|   |   β”œβ”€β”€ ImageLink.tsx
|   |   β”œβ”€β”€ InfoBox.tsx
β”‚   β”‚   └── InlineLink.tsx
|   β”œβ”€β”€ context
β”‚   |   └── UserContext.tsx
β”‚   β”œβ”€β”€ lib
β”‚   β”‚   └── storage.ts
|   β”œβ”€β”€ routes
|   |   β”œβ”€β”€ Home.data.tsx
|   |   β”œβ”€β”€ Home.tsx
|   |   β”œβ”€β”€ Login.data.tsx
|   |   β”œβ”€β”€ Login.tsx
|   |   β”œβ”€β”€ Register.data.tsx
|   |   β”œβ”€β”€ Register.tsx
|   |   └── Terms.tsx
|   β”œβ”€β”€ schema
|   |   β”œβ”€β”€ search.ts
|   |   └── user.ts
|   β”œβ”€β”€ index.css
|   β”œβ”€β”€ main.tsx
|   β”œβ”€β”€ router.tsx
|   β”œβ”€β”€ theme.ts
β”‚   └── vite-env.d.ts

Build & Run the Application

You can follow this guide to run the whole application using Docker conainers.

Alternatively, if you want to run the backend, web, and mobile applications separately (i.e. without Docker), refer to their own READMEs.

Prerequisites

Steps

git clone

cd ./bounswe2024group11
cp backend/.env.example backend/.env
cp web/.env.example web/.env

You can take the credentials for the test/deployment environment by contacting with the contributors of this repo. Or you can use your credentials for development purposes.

For ./web/.env file:

VITE_BACKEND_URL=<IP_OF_HOST_MACHINE>:8000

For ./backend/config/setting.py file:

...
CORS_ALLOWED_ORIGINS=[
...,
"http://<IP_OF_HOST_MACHINE>:5173",
"https://<IP_OF_HOST_MACHINE>:5173",
]
cd ..
# if your containers are already running, first stop them
docker-compose down

docker-compose build
docker-compose up

πŸ“œ License

TBD

πŸ§‘πŸΌβ€πŸ’» Contributors

✨ Contributing

The contributions to this repo are maintained by issues within specific templates determined under .github/ISSUE_TEMPLATE directory. You will face a frontmatter upon pressing on the New Issue button. You can choose the template that fits your issue and fill the issue.

We do not have a PR template yet, but we plan to add one.