Giter VIP home page Giter VIP logo

hackathon's Introduction

�Decide.

Setup (MacOS)

1. Client - ReactJS

# npm 설치
npm i [email protected]

# 라이브러리 설치
cd hackathon/client
npm install # !!! 꼭 client 폴더위치에서만 실행 !!!

2. Server - Django

#파이썬 설치
brew update && brew install [email protected]

#가상환경 생성 및 접속
cd hackathon/server
python3.12 -m venv venv #생성
source ./venv/bin/activate #접속

#라이브러리 설치
pip install --upgrade pip
pip install -r requirements.txt

Run

# client(react)
cd hackathon/client && npm start

# server(django)
cd hackathon/server
python manage.py makemigrations # model.py에 변경사항이 있는 경우에만
python manage.py migrate # model.py에 변경사항이 있는 경우에만
python manage.py runserver

Google maps api

pip install googlemaps
from urllib.parse import quote
from urllib.request import Request, urlopen
import ssl
import json

kor_url = quote('서울특별시 서초구 서초2동 서초대로74길 14')
API_key = "API_key"

url = 'https://maps.googleapis.com/maps/api/geocode/json?address='+ kor_url +'&key=' + API_key + '&language=ko&region=KR'
req = Request(url, headers={ 'X-Mashape-Key': API_key })

hackathon's People

Contributors

jooyul-yoon avatar ken7184 avatar yhk338 avatar yoojsung avatar soundy0115 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.