Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/riflowth/eatmod
KMUTT, CPE101 Engineering Exploration Project
https://github.com/riflowth/eatmod
ejs mysql nodejs
Last synced: 15 days ago
JSON representation
KMUTT, CPE101 Engineering Exploration Project
- Host: GitHub
- URL: https://github.com/riflowth/eatmod
- Owner: riflowth
- Created: 2020-10-26T06:35:46.000Z (about 4 years ago)
- Default Branch: main
- Last Pushed: 2022-07-08T03:20:31.000Z (over 2 years ago)
- Last Synced: 2023-03-10T11:16:45.428Z (over 1 year ago)
- Topics: ejs, mysql, nodejs
- Language: JavaScript
- Homepage:
- Size: 13.4 MB
- Stars: 2
- Watchers: 3
- Forks: 0
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# EatMod
CPE101 Engineering Exploration Project### :pencil: About
In this project, we are creating a **web application**. Our website offers users food recommendations around **[KMUTT](https://www.kmutt.ac.th)** university. Users can select food tags to filter out foods as they desire.### :busts_in_silhouette: Members
| Name | Role |
| - | - |
| `Krid Heprakhone` | Fullstack Developer |
| `Keeratikorn Pukayaporn` | Backend Developer |
| `Nathee Jaywaree` | Backend Developer |
| `Natthapon Nuchartwong` | Frontend Developer |### :wrench: How to install?
This application requires **[NodeJS](https://nodejs.org/)** to provide our system, after finishing NodeJS installation you can follow the instruction below to start EatMod web application.1. Enter **`npm install`** for installing all modules that use in this project.
2. Move your current directory to **`./server`**
3. 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
```4. 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](https://github.com/CPE34-A2/EatMod/pulls)** 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](https://github.com/CPE34-A2/EatMod/issues)**.
### 📎 Cheatsheet
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*### 👀 Preview
| 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.