LapisBerry / i2cedt-Final-Project-Web-Application-Group-46

i2cedt Final Project Group 46

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

i2cedt Final Project Group 46

โปรเจกต์ทำเว็บ เว็บที่เราทำคือเว็บเล่นเกมทายคำศัพท์ง่ายๆ

เรารัน npm init เรียบร้อย

โปรเจกต์วิชา Introduction to CEDT

ทำ Web Application, Store และ Deploy ที่ AWS EC2

Project Name: Guess The Words

จะมีคำศัพท์ภาษาอังกฤษขึ้นมา และเราต้องทายคำแปลของคำศัพท์

How to use

in ubuntu

sudo apt update -y && sudo apt upgrade -y

we will use nvm to download nodejs (nvm: node version manager)

curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.5/install.sh | bash

we will use latest lts version (Note that “lts/hydrogen” is an alias for Node 18 LTS.)

nvm install lts/hydrogen

go into folder backend and install node modules

cd backend
npm install

do the same but in folder front end

cd frontend
npm install

next: set up mongodb and change the variable MONGO_URL in /backend/.env

next: set up EC2 instance and change the variable BACKEND_URL in /frontend/scripts/config.js

run this command in backend and frontend folder

npm start

we define this start script in package.json

npm start is the same meaning as node server.js

IT SHOULD WORK

Package Used

we use nodejs

in backend

  • express
  • cors
  • mongoose
  • dotenv

in frontend

  • express

Members

  • 6633026621 นายกิตติภพ ขันแก้ว Back-End-Man
  • 6633164521 นายพัทธนันท์ ปราณีรัชต์เลิศ Presentation-Man
  • 6633199521 นายมาร์คุส อลงกรณ์ ฌอง เวิรทซ์ EveryMan
  • 6633254321 นายสยามรัฐ ศรีธวัชพงศ์ Report-Man
  • 6633223921 นายวสภะ รุ่งฤทัยวัฒน์ Front-End-Man

About

i2cedt Final Project Group 46


Languages

Language:JavaScript 44.8%Language:CSS 42.3%Language:HTML 12.9%