πͺ A full-stack web application where users can send their wishes to planets and stars.
Built with React, Node.js (Express), MySQL, and styled with Bootstrap + custom space UI.
- β¨ User registration & login system (with validation for unique username/email):contentReference[oaicite:0]{index=0}
- π Solar system UI β choose a planet to send your wish:contentReference[oaicite:1]{index=1}
- π© Submit wishes to a selected planet and store them in MySQL:contentReference[oaicite:2]{index=2}
- π View all wishes sorted by latest submissions:contentReference[oaicite:3]{index=3}
- π Interactive cosmic design with animations (hover planets, twinkling stars, blur effects):contentReference[oaicite:4]{index=4}
-
Frontend (React)
App.js,WishPage.js,pages/β Main React components & routes:contentReference[oaicite:5]{index=5}:contentReference[oaicite:6]{index=6}App.css,index.cssβ Styling (space theme, planets, stars, wish cards):contentReference[oaicite:7]{index=7}:contentReference[oaicite:8]{index=8}
-
Backend (Node.js / Express)
app.jsβ REST API (register, login, check username/email, submit wish, fetch wishes):contentReference[oaicite:9]{index=9}database.jsβ MySQL connection config:contentReference[oaicite:10]{index=10}
-
Database
- MySQL schema with
usersandwishestables:contentReference[oaicite:11]{index=11}
- MySQL schema with
-
Other
package.jsonβ dependencies & scripts:contentReference[oaicite:12]{index=12}App.test.jsβ React test boilerplate:contentReference[oaicite:13]{index=13}
git clone https://github.com/GiftNuttamon/WebWishes.git
cd WebWishescd backend
npm install
npm run dev # start backend server on port 3001cd frontend
npm install
npm start # start frontend on port 3000Import schema into MySQL:
CREATE DATABASE myweb;
USE myweb;
CREATE TABLE users (
id INT AUTO_INCREMENT PRIMARY KEY,
username VARCHAR(100) UNIQUE,
password VARCHAR(100),
mail VARCHAR(100) UNIQUE
);
CREATE TABLE wishes (
id INT AUTO_INCREMENT PRIMARY KEY,
planet_id VARCHAR(50),
wisher_name VARCHAR(100),
wish_text TEXT,
created_at TIMESTAMP DEFAULT CURRENT_TIMESTAMP
);Frontend: React, React Router, Bootstrap
Backend: Node.js, Express, CORS
Database: MySQL
Languages: JavaScript (ES6), SQL
Deployment: Localhost / future hosting on Firebase or Vercel
π Academic project demonstrating full-stack development
β Social app concept for sharing wishes to planets and stars
π§βπ» Practice in React + Express + MySQL integration
π Full-stack web app where users can register, log in, and send wishes to planets. Built with React, Node.js (Express), and MySQL, featuring space-themed UI and interactive cosmic animations.