Coder Social home page Coder Social logo

tezigudo / hackathon-2023-hackaty Goto Github PK

View Code? Open in Web Editor NEW

This project forked from hackathon-ku/hackathon-2023-hackaty

0.0 0.0 0.0 609 KB

hackathon-2023-hackaty

License: MIT License

JavaScript 1.22% Python 11.91% TypeScript 77.46% CSS 7.01% HTML 2.40%

hackathon-2023-hackaty's Introduction

Review Assignment Due Date

KU Hackathon 2023

รายละเอียดโครงการ : https://docs.google.com/document/d/1bn_71K9RF_K8MaBbZNgUAtS7PgFJkon91lOat7AtFxw/edit

SOS-Alert @Hackathy : “ ให้เราเป็นความปลอดภัยของนิสิต มก ”

  • นิสิตไม่รู้ต้องแจ้งเหตุด่วนเหตุร้ายที่ไหน
  • นิสิตไม่ได้รับแจ้งเตือนเหตุฉุกเฉิน
  • นิสิตไม่รู้จะร้องเรียนปัญหากับใคร

Members

SOS-Alert

SOS Alert ให้บริการ 3 ฟีเจอร์ เพื่อตอบโจทย์ปัญหาของนิสิต

1. SOS Call(ซอส-คอล)

"ไม่รู้เบอร์ติดต่อฉุกเฉินพี่ยาม พอเกิดเหตุขึ้นจริงก็ทำอะไรไม่ถูก" ไม่ต้องกังวลอีกต่อไป เรารวบรวมเบอร์ติดต่อฉุกเฉินไว้ให้คุณใน SOS Call (ซอส-คอล) แล้วหากไม่รู้จะติดต่อใคร สามารถกดปุ่มสีแดงเพื่อติดต่อหน่วยรักษาความปลอดภัย ม.เกษตรเพื่อประสานงานต่อได้! SOS-Call

2. SOS Alert Notification

“ แย่แล้ว นั่นมันควันอะไรกัน นี่มันเกิดอะไรขึ้นกันเนี่ย ” เคยไหมเวลาเกิดเหตุฉุกเฉินแต่เราก็ไม่เคยรู้เลยว่ามันเกิดอะไรขึ้น ปัญหานี้จะหมดไฟเพียงแค่มีฟีเจอร์ SOS Alert Notification ฟีเจอร์ที่จะคอยแจ้งเตือนเหตุฉุกเฉินบนแอพ Nisit KU และยังสามารถรู้ระยะห่างของตัวนิสิตและจุดเกิดเหตุ

SOS Noti

3. SOS Alert Map

“ ไฟตรงคณะเราดับ อยากแก้ไขจัง ต้องร้องเรียนที่ใครเนี่ย” ฟีเจอร์ SOS Alert Map ที่จะสามารถร้องเรียนปัญหาที่พบเจอในมหาวิทยาลัยได้ แล้วปัญหานั้นจะขึ้นใน Map เพื่อให้เรารู้ตำแหน่ง รายละเอียด รูปภาพ และยังสามารถเห็นด้วยกับคำร้องของเพื่อนที่แจ้งปัญหานั้นไปแล้วด้วยได้

image

Design

Backend

Install and run

How to Install

make sure that you have python in your computer

first, clone this repository by type this command in your terminal at your choosen path

git clone https://github.com/hackathon-ku/hackathon-2023-hackaty.git Hackaty

go to project directory

cd Hackaty
cd Backend

you have to create file name .env to configuration

.env file template looks like sample.env you can modify value and copy it into .env

you may use this to be a MONGO_URL

mongodb://root:1234@localhost:27018/mongo-hackaty?authSource=admin

run and initialize mongo(db)

docker compose up -d

install requirements

pip install -r requirements.txt

How to run

activate the virtual environment by typing this

in mac/linux

>> source env/bin/activate

Windows

>> env\Scripts\activate

now to run server by type this

uvicorn main:app --reload

Frontend

Technologies Used

  • React.js
  • Vite
  • TypeScript
  • Google Maps API

Installation and Setup

Clone the Repository

git clone https://github.com/hackathon-ku/hackathon-2023-hackaty.git
cd hackathon-2023-hackaty

Install Dependencies

Using npm:

npm install or yarn install

Configure Google Maps API

To use the Google Maps API, you will need to obtain an API key. Once you have it, create a .env file in the root of the project and add your API key as REACT_APP_GOOGLE_MAPS_API_KEY=your_api_key_here After starting the project, open http://localhost:5173 in your browser to use the application.

Contributing

Contributions to the SOS Alert project are highly appreciated. If you're interested in helping out:

License

This project is licensed under the MIT License - see the LICENSE.md file for details.

Contact

For any questions, suggestions, or issues, please contact us at [[email protected]]. You can also raise an issue in the GitHub repository.

Acknowledgements

Thanks to all contributors and maintainers. Special thanks to Nisit KU for the collaboration and support. Note: Ensure all placeholders (like your API key, email address, etc.) are replaced with actual, relevant information for your project.

hackathon-2023-hackaty's People

Contributors

tezigudo avatar reviseuc73 avatar katisd avatar thanadolu avatar github-classroom[bot] avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.