CPE101 Engineering Exploration Project
In this project, we are creating a web application. Our website offers users food recommendations around KMUTT university. Users can select food tags to filter out foods as they desire.
Name | Role |
---|---|
Krid Heprakhone |
Fullstack Developer |
Keeratikorn Pukayaporn |
Backend Developer |
Nathee Jaywaree |
Backend Developer |
Natthapon Nuchartwong |
Frontend Developer |
This application requires NodeJS to provide our system, after finishing NodeJS installation you can follow the instruction below to start EatMod web application.
- Enter
npm install
for installing all modules that use in this project. - Move your current directory to
./server
- Use knex migration cli to migration/seeding the database.
You can install knex-migration-cli by type
npm install -g knex
Before running the seed via Knex, make sure you set the collation in the "eatmod" database to utf8_unicode_ci
.
and then you can do migration/seeding by using the commands below.
knex migrate:latest
and then
knex seed:run
- Once the installation completes, now you can view our web application on (localhost:3000) or contribute to our application.
Feel free to send us the pull request or if you have found out something works malfunction, we would appreciate it if you could let me know by sending us the issue ticket.
You can run the commands below in sequence to run this web application.
~/eatmod> npm install
~/eatmod/server> docker-compose -p eatmod up -d
~/eatmod/server> knex migrate:latest
~/eatmod/server> knex seed:run
~/eatmod> npm test
(web) default port: 3000 for development
(docker) mysql default port: 3306
(docker) phpmyadmin default port: 8000
Index | All foods | Shop information |
---|---|---|
These previews are just some parts of our website. If you want to see more details, you can install it by following the installation.