This is a React-based project built with Vite. The project includes various components such as a chatbot, homepage, and styling using CSS. The main objective is to develop an interactive and user-friendly web application.
- Frontend: React, JSX, CSS
- Build Tool: Vite
- Package Manager: npm
-
Clone the Repository:
git clone https://github.com/hyukychang/cse156_project.git cd cse156_project
-
Install Dependencies:
pip install --upgrade google-api-python-client google-auth-httplib2 google-auth-oauthlib flask flask_cors inflect
npm install
-
Set up Google Calendar API
- go to https://console.cloud.google.com/-
- select the project (if you don't have a project create new project)
- search the Google Calendar API and Enable
- Check "External" in OAuth consent screen on the left side of the screen
- Click "Credentials" and "Create Credentials" - OAuth client ID
- Application time for the OAuth client ID will be "Web application"
- After you create your credentials click your add authorized redirect urls and copy and post these two links below
http://localhost:8080/
http://127.0.0.1:8080/
- Start the Development Server (Google Colab Backend)
- Run the google colab on T4 GPU
- copy the public url to backend.py
-
Start the Development Server (VS Code Backend)
flask --app backend run
-
Start the Development Server (Frontend):
npm run dev
📦 cse156_project
┣ 📂 node_modules
┣ 📂 public
┃ ┗ 📜 vite.svg
┣ 📂 src
┃ ┣ 📂 assets
┃ ┃ ┗ 📂 image
┃ ┃ ┃ ┣ 📜 homeicon.png
┃ ┃ ┃ ┣ 📜 moon.png
┃ ┃ ┃ ┗ 📜 sun.png
┃ ┣ 📂 screenshots
┃ ┃ ┣ 📜 UI1.png
┃ ┃ ┣ 📜 UI2.png
┃ ┃ ┣ 📜 UI3.png
┃ ┃ ┗ 📜 UI4.png
┃ ┣ 📜 App.jsx
┃ ┣ 📜 App.css
┃ ┣ 📜 Chatbot.jsx
┃ ┣ 📜 Chatbot.css
┃ ┣ 📜 ChatbotResponse.jsx
┃ ┣ 📜 ChatbotResponse.css
┃ ┣ 📜 Homepage.jsx
┃ ┣ 📜 Homepage.css
┃ ┣ 📜 main.jsx
┃ ┣ 📜 index.css
┣ 📜 .gitignore
┣ 📜 eslint.config.js
┣ 📜 index.html
┣ 📜 package.json
┣ 📜 package-lock.json
┣ 📜 vite.config.js
┗ 📜 README.md
- 🌙 Dark Mode & Light Mode toggle
- 💬 Interactive Chatbot component
- 🏠 Homepage with navigation
- 🎨 Responsive design using CSS
- Fork the repository
- Create a new branch (
git checkout -b feature-branch
) - Commit your changes (
git commit -m 'Add new feature'
) - Push to the branch (
git push origin feature-branch
) - Open a Pull Request
This project is licensed under the MIT License.